Malicious code in @syncraft-labs/core (npm)
The npm package @syncraft-labs/core version 0.4.1 contains malicious code injected into its ESM build (dist/index.js). This code executes on every import or require of the package and performs remote code execution by fetching attacker-controlled payloads from Ethereum blockchain transaction data. The malicious payload captures Node.js internals and uses them to execute arbitrary code on the host system. The CommonJS build of the package is clean, indicating a targeted injection in the ESM entry point.
AI Analysis
Technical Summary
The ESM build of @syncraft-labs/core version 0.4.1 contains a heavily obfuscated payload injected into the isDevMode() function. This payload captures Node.js internals onto the globalThis object, then queries multiple Ethereum JSON-RPC endpoints and an Etherscan-style API for transaction data associated with a hardcoded attacker address. It decodes and decompresses this data, then executes it via child_process.spawn, resulting in arbitrary remote code execution on any host importing this package. The CommonJS build is unaffected, indicating a deliberate targeted compromise of the ESM entry point rather than a bundler artifact.
Potential Impact
Any process importing the ESM build of @syncraft-labs/core version 0.4.1 will execute attacker-controlled code with full Node.js capabilities. This allows the attacker to run arbitrary commands on the host system, potentially leading to full system compromise, data theft, or further malicious activity. The attack leverages a mutable on-chain dead-drop mechanism to deliver payloads, making detection and mitigation more complex.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid using version 0.4.1 of @syncraft-labs/core, especially its ESM build (dist/index.js). Consider removing or replacing this package from your projects. Monitor vendor advisories for updates or fixes. Since the CommonJS build is clean, using that build instead may mitigate the risk temporarily, but full remediation requires vendor action.
Malicious code in @syncraft-labs/core (npm)
Description
The npm package @syncraft-labs/core version 0.4.1 contains malicious code injected into its ESM build (dist/index.js). This code executes on every import or require of the package and performs remote code execution by fetching attacker-controlled payloads from Ethereum blockchain transaction data. The malicious payload captures Node.js internals and uses them to execute arbitrary code on the host system. The CommonJS build of the package is clean, indicating a targeted injection in the ESM entry point.
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 ESM build of @syncraft-labs/core version 0.4.1 contains a heavily obfuscated payload injected into the isDevMode() function. This payload captures Node.js internals onto the globalThis object, then queries multiple Ethereum JSON-RPC endpoints and an Etherscan-style API for transaction data associated with a hardcoded attacker address. It decodes and decompresses this data, then executes it via child_process.spawn, resulting in arbitrary remote code execution on any host importing this package. The CommonJS build is unaffected, indicating a deliberate targeted compromise of the ESM entry point rather than a bundler artifact.
Potential Impact
Any process importing the ESM build of @syncraft-labs/core version 0.4.1 will execute attacker-controlled code with full Node.js capabilities. This allows the attacker to run arbitrary commands on the host system, potentially leading to full system compromise, data theft, or further malicious activity. The attack leverages a mutable on-chain dead-drop mechanism to deliver payloads, making detection and mitigation more complex.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid using version 0.4.1 of @syncraft-labs/core, especially its ESM build (dist/index.js). Consider removing or replacing this package from your projects. Monitor vendor advisories for updates or fixes. Since the CommonJS build is clean, using that build instead may mitigate the risk temporarily, but full remediation requires vendor action.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14367
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8af9a3acd9273b49f32ef3
Added to database: 08/23/2026, 13:46:11 UTC
Last enriched: 08/23/2026, 13:50:01 UTC
Last updated: 08/23/2026, 23:11:10 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.