Malicious code in capacity-capacity-core (npm)
The npm package capacity-capacity-core version 35.3.7 contains malicious code that downloads and executes attacker-controlled native binaries on the host system. Upon requiring the package, it fetches platform-specific binaries from obfuscated Cloudflare Workers URLs or fallback DNS TXT records, writes them to temporary directories with disguised filenames, sets executable permissions, and runs them detached from the main process. This behavior allows arbitrary native code execution without integrity verification of the downloaded binaries.
AI Analysis
Technical Summary
The capacity-capacity-core npm package version 35.3.7 includes malicious functionality in its main entry point (_adapter.js). It downloads platform-specific native binaries from obfuscated Cloudflare Workers hosts or fallback DNS TXT base64-encoded URLs. The binaries are saved to temporary directories under disguised filenames, made executable, and executed asynchronously. Hostnames are dynamically reconstructed to evade static detection, and no hash or signature verification is performed on the downloaded payloads. This results in arbitrary native code execution on the host when the package is installed or imported.
Potential Impact
This malicious package enables an attacker to execute arbitrary native code on the affected system with the privileges of the user running the Node.js process. This can lead to full system compromise, data theft, persistence, or further lateral movement depending on the environment and user permissions.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package version. Users should immediately remove capacity-capacity-core version 35.3.7 from their projects and dependency trees. Avoid installing or importing this package version. Verify the integrity and authenticity of npm packages before use and consider using trusted package sources or lockfiles to prevent supply chain compromise.
Malicious code in capacity-capacity-core (npm)
Description
The npm package capacity-capacity-core version 35.3.7 contains malicious code that downloads and executes attacker-controlled native binaries on the host system. Upon requiring the package, it fetches platform-specific binaries from obfuscated Cloudflare Workers URLs or fallback DNS TXT records, writes them to temporary directories with disguised filenames, sets executable permissions, and runs them detached from the main process. This behavior allows arbitrary native code execution without integrity verification of the downloaded binaries.
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 capacity-capacity-core npm package version 35.3.7 includes malicious functionality in its main entry point (_adapter.js). It downloads platform-specific native binaries from obfuscated Cloudflare Workers hosts or fallback DNS TXT base64-encoded URLs. The binaries are saved to temporary directories under disguised filenames, made executable, and executed asynchronously. Hostnames are dynamically reconstructed to evade static detection, and no hash or signature verification is performed on the downloaded payloads. This results in arbitrary native code execution on the host when the package is installed or imported.
Potential Impact
This malicious package enables an attacker to execute arbitrary native code on the affected system with the privileges of the user running the Node.js process. This can lead to full system compromise, data theft, persistence, or further lateral movement depending on the environment and user permissions.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package version. Users should immediately remove capacity-capacity-core version 35.3.7 from their projects and dependency trees. Avoid installing or importing this package version. Verify the integrity and authenticity of npm packages before use and consider using trusted package sources or lockfiles to prevent supply chain compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12522
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735731bf8831d53913cf33
Added to database: 08/05/2026, 15:30:57 UTC
Last enriched: 08/05/2026, 15:44:23 UTC
Last updated: 08/05/2026, 15:44:23 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.
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.