Skip to main content

Malicious code in @syncraft-labs/core (npm)

0
Critical
Published: 08/23/2026 (08/23/2026, 03:14:49 UTC)
Source: GCVE Database
Product: @syncraft-labs/core

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (0efe219063a966d0d2025d6c3274cbc7e9f3c0b3a1e9cdf81c7adf6dbae4d4ac) The ESM build shipped at dist/index.js contains a heavily obfuscated payload (hex-identifier string-array + rotator produced by an obfuscator.io-style tool) injected into the body of isDevMode(), which executes on every `import`/`require` of the package. The injected loader captures Node internals onto globalThis (globalThis.r = require, globalThis.m = module, globalThis.i = "A12-synd"), then uses http/https to query Ethereum JSON-RPC endpoints (eth.drpc.org, ethereum-rpc.publicnode.com, eth-mainnet.public.blockscout.com) and an Etherscan-style txlist API for a hardcoded attacker address (0xa322E5f3...), decodes and zlib-decompresses payload bytes from transaction data, and executes them via child_process.spawn. The CJS build of the same source is clean, indicating a targeted injection into the ESM entry rather than a bundler artifact. Any process importing this package fetches attacker-controlled code from a mutable on-chain dead-drop and runs it, giving the publisher arbitrary remote code execution on the installer's host with full Node capability handed to the second stage via the globalThis handoff. ## Source: ghsa-malware (3ef1bc02a0593d257249d740d38a6ccdbd0464272090c4c94dba7eb31113bbda) 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
@syncraft-labs/core
Affected versions
=0.4.1

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/23/2026, 13:50:01 UTC

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.

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

Threat ID: 6a8af9a3acd9273b49f32ef3

Added to database: 08/23/2026, 13:46:11 UTC

Last enriched: 08/23/2026, 13:50:01 UTC

Last updated: 10/02/2026, 14:14:34 UTC

Views: 65

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