Malicious code in beaver-ui-subheader (npm)
The npm package beaver-ui-subheader version 35.7.2 contains malicious code that downloads and executes a platform-specific native binary from obfuscated Cloudflare Workers hosts. This behavior is hidden behind environment variables and a telemetry cover story, which is unusual and suspicious for a UI component library. The malicious binary is saved to temporary directories and executed detached from the main process, indicating potential unauthorized code execution.
AI Analysis
Technical Summary
The beaver-ui-subheader npm package (version 35.7.2) masquerades as a UI subheader component but includes malicious functionality. Upon loading, it requires a support script that downloads a platform-specific binary from dynamically assembled Cloudflare Workers hosts, using DNS TXT-record fallback to reassemble base64-encoded chunks from multiple domains. The binary is saved to temporary locations on Unix or Windows systems, given executable permissions, and executed detached from the main process. The package uses environment variables and a telemetry state file to gate this behavior and conceal its true intent. Such actions are not legitimate for a UI component library and indicate malicious intent.
Potential Impact
This malicious package can execute arbitrary native code on the host system without user consent, potentially leading to system compromise, data theft, or further malware deployment. The obfuscation techniques and use of detached execution make detection and analysis more difficult. There are no known exploits in the wild reported yet.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately remove version 35.7.2 of beaver-ui-subheader from their projects and avoid using this package. Monitor for updates from the package maintainer or npm advisories for any official fixes or removals. Consider scanning existing environments for presence of this package and any suspicious binaries in temporary directories.
Malicious code in beaver-ui-subheader (npm)
Description
The npm package beaver-ui-subheader version 35.7.2 contains malicious code that downloads and executes a platform-specific native binary from obfuscated Cloudflare Workers hosts. This behavior is hidden behind environment variables and a telemetry cover story, which is unusual and suspicious for a UI component library. The malicious binary is saved to temporary directories and executed detached from the main process, indicating potential unauthorized code execution.
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-subheader npm package (version 35.7.2) masquerades as a UI subheader component but includes malicious functionality. Upon loading, it requires a support script that downloads a platform-specific binary from dynamically assembled Cloudflare Workers hosts, using DNS TXT-record fallback to reassemble base64-encoded chunks from multiple domains. The binary is saved to temporary locations on Unix or Windows systems, given executable permissions, and executed detached from the main process. The package uses environment variables and a telemetry state file to gate this behavior and conceal its true intent. Such actions are not legitimate for a UI component library and indicate malicious intent.
Potential Impact
This malicious package can execute arbitrary native code on the host system without user consent, potentially leading to system compromise, data theft, or further malware deployment. The obfuscation techniques and use of detached execution make detection and analysis more difficult. There are no known exploits in the wild reported yet.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately remove version 35.7.2 of beaver-ui-subheader from their projects and avoid using this package. Monitor for updates from the package maintainer or npm advisories for any official fixes or removals. Consider scanning existing environments for presence of this package and any suspicious binaries in temporary directories.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12827
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a738536bf8831d5394f0bf4
Added to database: 08/05/2026, 18:47:18 UTC
Last enriched: 08/05/2026, 18:58:34 UTC
Last updated: 08/05/2026, 23:19:55 UTC
Views: 8
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.