Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in capacity-capacity-core (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 14:19:05 UTC)
Source: GCVE Database
Product: capacity-capacity-core

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

npmghsa
capacity-capacity-core
Affected versions
=35.3.7

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

AILast updated: 08/05/2026, 15:44:23 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses