Malicious code in beaver-ui-storybook-addon-code-description (npm)
The npm package beaver-ui-storybook-addon-code-description version 35.7.7 contains malicious code that, upon loading, downloads and executes an attacker-controlled binary payload. The payload is retrieved from hardcoded Cloudflare Workers hosts or via a DNS-TXT covert channel if HTTPS retrieval fails. The malicious code executes arbitrary commands on the installer's machine without any integrity verification, masquerading under unrelated names to evade detection.
AI Analysis
Technical Summary
The beaver-ui-storybook-addon-code-description npm package version 35.7.7 includes a loader script that selects an OS-specific endpoint to download a binary payload from several hardcoded Cloudflare Workers domains. If this HTTPS download fails, it falls back to a DNS-TXT record covert channel to retrieve base64-encoded payload chunks, which it decodes and executes. The payload is written to temporary directories and executed detached from the main process. No hash or signature verification is performed, allowing arbitrary attacker-controlled code execution at package load time. The code uses obfuscation techniques such as runtime assembly of C2 hostnames and misleading variable names unrelated to the package's stated purpose.
Potential Impact
This malicious package enables remote code execution on the machine of any user who installs or requires the affected version, allowing attackers to run arbitrary code with the privileges of the user. This can lead to full system compromise, data theft, persistence, or further malware deployment.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid installing or using version 35.7.7 of beaver-ui-storybook-addon-code-description. Audit existing environments for the presence of this package version and remove it. Monitor for updates from the package maintainer or npm advisories for any official fixes or guidance. Until a fix is available, do not trust this package version.
Malicious code in beaver-ui-storybook-addon-code-description (npm)
Description
The npm package beaver-ui-storybook-addon-code-description version 35.7.7 contains malicious code that, upon loading, downloads and executes an attacker-controlled binary payload. The payload is retrieved from hardcoded Cloudflare Workers hosts or via a DNS-TXT covert channel if HTTPS retrieval fails. The malicious code executes arbitrary commands on the installer's machine without any integrity verification, masquerading under unrelated names to evade detection.
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 beaver-ui-storybook-addon-code-description npm package version 35.7.7 includes a loader script that selects an OS-specific endpoint to download a binary payload from several hardcoded Cloudflare Workers domains. If this HTTPS download fails, it falls back to a DNS-TXT record covert channel to retrieve base64-encoded payload chunks, which it decodes and executes. The payload is written to temporary directories and executed detached from the main process. No hash or signature verification is performed, allowing arbitrary attacker-controlled code execution at package load time. The code uses obfuscation techniques such as runtime assembly of C2 hostnames and misleading variable names unrelated to the package's stated purpose.
Potential Impact
This malicious package enables remote code execution on the machine of any user who installs or requires the affected version, allowing attackers to run arbitrary code with the privileges of the user. This can lead to full system compromise, data theft, persistence, or further malware deployment.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid installing or using version 35.7.7 of beaver-ui-storybook-addon-code-description. Audit existing environments for the presence of this package version and remove it. Monitor for updates from the package maintainer or npm advisories for any official fixes or guidance. Until a fix is available, do not trust this package version.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12826
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a738536bf8831d5394f0c04
Added to database: 08/05/2026, 18:47:18 UTC
Last enriched: 08/05/2026, 18:57:53 UTC
Last updated: 08/05/2026, 23:19:49 UTC
Views: 7
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.
External Links
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.