MAL-2026-14367Malicious code in @syncraft-labs/core (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @syncraft-labs/core | 0.4.1 |
{"schema_version":"1.7.4","id":"MAL-2026-14367","published":"2026-08-23T03:14:49Z","modified":"2026-08-26T06:28:26.120087057Z","aliases":["GHSA-vhcg-r2h4-gx3m"],"summary":"Malicious code in @syncraft-labs/core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0efe219063a966d0d2025d6c3274cbc7e9f3c0b3a1e9cdf81c7adf6dbae4d4ac)\nThe 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.\n\n## Source: ghsa-malware (3ef1bc02a0593d257249d740d38a6ccdbd0464272090c4c94dba7eb31113bbda)\nAny 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.\n","affected":[{"package":{"name":"@syncraft-labs/core","ecosystem":"npm"},"versions":["0.4.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"dist/index.js","sha256":"74b62f6749b85c9951deb65d0119c1f5a150f3db53722f2244b25fda8fe3a05b","tlsh":"f843a4c4a6f22450434376bf7b1fa0e5fa29089f3548ce85f60cba44ef5622ad5f1a74"}],"package_integrity":[{"filename":"core-0.4.1.tgz","hashes":{"sha1":"b9f80df0c368f86334f88ff20137b4d9a87bbe93","sha512_sri":"sha512-whxdtQ6Ods1/heyf6n8R6witY6f8TbWmpocFUANSg6c5P8R5eGLGLq36pN/dKTMkMjU/TDHw7MAbn9Wd9Brc3A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@syncraft-labs/core/v/0.4.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vhcg-r2h4-gx3m"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018570","import_time":"2026-08-23T03:25:56.301624897Z","modified_time":"2026-08-23T03:14:49Z","sha256":"0efe219063a966d0d2025d6c3274cbc7e9f3c0b3a1e9cdf81c7adf6dbae4d4ac","source":"amazon-inspector","versions":["0.4.1"]},{"id":"GHSA-vhcg-r2h4-gx3m","import_time":"2026-08-26T06:26:37.153450071Z","modified_time":"2026-08-26T06:16:53Z","sha256":"3ef1bc02a0593d257249d740d38a6ccdbd0464272090c4c94dba7eb31113bbda","source":"ghsa-malware","versions":["0.4.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0