Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

@syncraft-labs/reactnpm

Advisory published Updated

@syncraft-labs/react is a confirmed malicious npm package (MAL-2026-14368) that executes malicious code on install (malicious version 0.4.1). Do not install it — remove it immediately and rotate any exposed credentials.

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

MAL-2026-14368
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @syncraft-labs/react

What this malware does

dist/index.js (the ESM entry resolved by default by modern bundlers such as Vite, Next.js, and Webpack) contains a heavily obfuscated block using obfuscator.io-style identifiers, a rotated ~300-entry string array, and a decoder wrapper injected inside the useEffect body of the useSync hook. The block captures globalThis.r=require and globalThis.m=module, then uses http/https and zlib (createInflate/createBrotli) to fetch data from Ethereum RPC endpoints (h.drpc.org, 1rpc.io/eth), Blockscout, and Etherscan for a hardcoded contract address (0xa322E5f3...), reconstructs code from the on-chain bytes, and executes it with require access. This is the EtherHiding pattern: the on-chain contract is mutable, so operators of that contract can deliver arbitrary JavaScript to any consumer that renders a component using useSync, achieving remote code execution in Node build/SSR contexts and in the browser bundle of downstream applications. The obfuscated blob is absent from dist/index.cjs and from the TypeScript sources referenced by dist/index.js.map, indicating the ESM artifact was tampered after build.

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.

Malicious versions

1 flagged
0.4.1

Indicators of compromise (SHA-256)

c3986bd05347035d9263c22b871840f19dc42187d3e1719311cb67c6e1ef5cb9
5978be426de3faf554ce3f69eaf8cce533ef963169bb5821d0f6641605cf2426

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for @syncraft-labs/react (version 0.4.1).

  2. If you installed it — respond

    Remove @syncraft-labs/react from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If @syncraft-labs/react was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. @syncraft-labs/react on npm has been identified as a malicious package (version 0.4.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-018573GHSA-4xx4-j6wx-746g

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @syncraft-labs/react-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

@syncraft-labs/react (npm) malicious package — MAL-2026-14368 | O3 Security