Malicious code in @syncraft-labs/vue (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d78f28562113db7a203dc694bdff7b3884e8a6e252754b6bd845aab3fefe065f) The ESM build dist/index.js of @syncraft-labs/[email protected] contains a heavily obfuscated payload injected alongside the otherwise-legitimate Vue plugin source. The obfuscated region uses an obfuscator.io-style rotating string array (303 entries, _0x240a/_0x4963 decoders) and opaque predicates to hide a loader that requires http/https/zlib and child_process.spawn, queries Ethereum RPC endpoints (publicnode.com/ethereum-rpc, drpc.org/eth, blockscout) and an Etherscan-style txlist endpoint for the hardcoded address 0xa322E5f3..., decodes base64/gzip content from returned transaction data, and passes it to child_process.spawn. This is the EtherHiding blockchain-hosted C2 dropper pattern: any consumer importing @syncraft-labs/vue via ESM (the package's `module` entry) resolves an attacker-controlled runtime payload from Ethereum transactions and executes it, yielding remote code execution on the host performing the import. The CJS build and sourcemap are clean, indicating the ESM artifact was tampered after build to smuggle the loader while leaving createSyncraft/useSync and the vue/@syncraft-labs/core imports intact. ## Source: ghsa-malware (0f250ae47affc49042d57ffceae4bfc781f4d736301a16f6ac5ca7eeb415c0a0) 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
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/[email protected] includes a heavily obfuscated loader that uses rotating string arrays and opaque predicates to hide its functionality. It requires Node.js modules (http/https/zlib and child_process.spawn) to query Ethereum RPC endpoints and an Etherscan-style transaction list endpoint for a hardcoded Ethereum address. It extracts base64/gzip encoded payloads from blockchain transaction data and executes them via child_process.spawn, implementing a blockchain-hosted command and control dropper known as EtherHiding. The CommonJS build and sourcemap remain clean, indicating the ESM artifact was tampered with post-build to smuggle this malicious loader while preserving legitimate plugin functionality.
Potential Impact
Any system importing the compromised ESM module of @syncraft-labs/[email protected] will execute attacker-controlled code fetched dynamically from the Ethereum blockchain, resulting in remote code execution on the host. This can lead to full system compromise, data theft, or further malicious activity. The attack vector is supply chain compromise via the npm package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using @syncraft-labs/vue version 0.4.1, especially its ESM build. Verify package integrity before use and consider using the CommonJS build or alternative trusted packages. Monitor vendor advisories for updates or official fixes. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14369
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a8af9a3acd9273b49f32ef1
Added to database: 08/23/2026, 13:46:11 UTC
Last enriched: 08/23/2026, 13:49:55 UTC
Last updated: 10/02/2026, 14:14:33 UTC
Views: 36
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.