Malicious code in afisha-storybook-default (npm)
The npm package afisha-storybook-default contains malicious code that, when required, downloads and executes attacker-controlled binaries from obfuscated remote hosts. It uses base64-decoded payloads saved to temporary directories and executes them with elevated permissions. The package masquerades as a storybook default adapter but performs no legitimate functions, instead acting as a remote binary dropper that collects host-specific fingerprint data and transmits it to attacker infrastructure.
AI Analysis
Technical Summary
The afisha-storybook-default npm package includes a malicious setup.js script that invokes a telemetry module to fetch obfuscated binaries from multiple attacker-controlled mirror hosts. These binaries are base64-decoded, saved under temporary directories with executable permissions, and launched via child_process. The package dynamically constructs domain names and API calls to evade static detection. It also generates an install fingerprint using host identifiers (hostname, username, current working directory, Node.js version, process ID) and sends this data to the dropper infrastructure. The package exports empty class methods, meaning its only effect is the remote fetch-and-execute behavior without any legitimate functionality. No integrity checks such as pinning, hashing, or signature verification are performed on the downloaded payloads.
Potential Impact
Installing or requiring this package results in arbitrary code execution on the host system via remote binary download and execution. The attacker gains the ability to run platform-specific payloads with the permissions of the Node.js process, potentially leading to full system compromise. The collection and transmission of host fingerprint data also enables attacker tracking and targeted follow-up attacks.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users should immediately remove afisha-storybook-default from their dependencies and avoid installing or requiring it. Verify the integrity and provenance of npm packages before use, and consider using package allowlists or trusted registries. Monitor for any unusual child process executions or unexpected network connections to domains such as package-proxy.cf*.workers.dev and well1.site. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Malicious code in afisha-storybook-default (npm)
Description
The npm package afisha-storybook-default contains malicious code that, when required, downloads and executes attacker-controlled binaries from obfuscated remote hosts. It uses base64-decoded payloads saved to temporary directories and executes them with elevated permissions. The package masquerades as a storybook default adapter but performs no legitimate functions, instead acting as a remote binary dropper that collects host-specific fingerprint data and transmits it to attacker infrastructure.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The afisha-storybook-default npm package includes a malicious setup.js script that invokes a telemetry module to fetch obfuscated binaries from multiple attacker-controlled mirror hosts. These binaries are base64-decoded, saved under temporary directories with executable permissions, and launched via child_process. The package dynamically constructs domain names and API calls to evade static detection. It also generates an install fingerprint using host identifiers (hostname, username, current working directory, Node.js version, process ID) and sends this data to the dropper infrastructure. The package exports empty class methods, meaning its only effect is the remote fetch-and-execute behavior without any legitimate functionality. No integrity checks such as pinning, hashing, or signature verification are performed on the downloaded payloads.
Potential Impact
Installing or requiring this package results in arbitrary code execution on the host system via remote binary download and execution. The attacker gains the ability to run platform-specific payloads with the permissions of the Node.js process, potentially leading to full system compromise. The collection and transmission of host fingerprint data also enables attacker tracking and targeted follow-up attacks.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users should immediately remove afisha-storybook-default from their dependencies and avoid installing or requiring it. Verify the integrity and provenance of npm packages before use, and consider using package allowlists or trusted registries. Monitor for any unusual child process executions or unexpected network connections to domains such as package-proxy.cf*.workers.dev and well1.site. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12336
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735742bf8831d539158f6c
Added to database: 08/05/2026, 15:31:14 UTC
Last enriched: 08/05/2026, 17:07:39 UTC
Last updated: 08/05/2026, 17:07:39 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.