Skip to main content

Malicious code in @nasddatax/common (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 12:33:01 UTC)
Source: GCVE Database
Product: @nasddatax/common

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (1cf5662d7c8759acd7a9a541baddd3bf4787594fafcd38f8a4eaf27bbe57d558) build/index.js appends an eval(atob(...)) trailer after legitimate re-exports. On require, the decoded loader queries public Ethereum JSON-RPC endpoints for the latest transaction from the hardcoded address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, decodes the 20-byte tx.to value into two IPv4 addresses, fetches an XOR-obfuscated JavaScript payload from http://<ip>:443/0x/cls and http://<ip>:443/0x/ls, decodes an x-payload-b64 response header, and executes the result via eval and a detached spawn('node', ['-e', payload]). Security-relevant identifiers (http, child_process, spawn, method and header strings) are written as \u00XX unicode escapes to hide the behavior. Any application that requires this package runs attacker-controlled code on the installer's machine, and the C2 destination can be rotated on-chain without republishing the package. Package metadata (empty author, empty description, scoped `<scope>/common` name) is consistent with an impostor common-utilities package. ## Source: ghsa-malware (db85c2c336b7b7965deef4783c3eddd656dbaf384c2c73b5d50167ef308fa5e9) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Affected software

npmghsa
@nasddatax/common
Affected versions
=1.0.21

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, 17:39:22 UTC

Technical Analysis

The @nasddatax/common npm package version 1.0.21 includes a malicious loader appended to its legitimate exports. Upon requiring the package, the loader decodes an Ethereum transaction's recipient address to obtain two IPv4 addresses. It then fetches XOR-obfuscated JavaScript payloads from these IPs over HTTPS, decodes a custom base64 payload header, and executes the payload via eval and a detached Node.js process. The code uses Unicode escapes to hide key strings related to HTTP requests and process spawning. This design enables attacker-controlled code execution on the installer's machine, with command-and-control endpoints dynamically updated on-chain without republishing the package. The package metadata suggests it is an impostor common-utilities package.

Potential Impact

Any application that installs or requires @nasddatax/common version 1.0.21 will execute attacker-controlled code on the host machine. This leads to full remote code execution capabilities for the attacker, potentially compromising the system, stealing data, or performing other malicious actions. The dynamic C2 server resolution via Ethereum transactions complicates detection and takedown efforts.

Mitigation Recommendations

No official patch or remediation is currently available. Users should immediately remove and avoid installing @nasddatax/common version 1.0.21. Verify dependencies to ensure this package is not included transitively. Monitor for suspicious network connections to unknown IP addresses, especially those resolved from Ethereum blockchain data. Consider using package integrity verification and trusted sources for npm packages to prevent installation of impostor or malicious packages.

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-12323
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735747bf8831d53915a0db

Added to database: 08/05/2026, 15:31:19 UTC

Last enriched: 08/05/2026, 17:39:22 UTC

Last updated: 09/15/2026, 08:28:28 UTC

Views: 23

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