MAL-2026-14382Malicious code in @sdgdfgdfhhhfd/chainvista (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @sdgdfgdfhhhfd/chainvista | * |
| npm | @sdgdfgdfhhhfd/chainvista | 1.0.0 |
| npm | @sdgdfgdfhhhfd/chainvista | 2.0.0 |
| npm | @sdgdfgdfhhhfd/chainvista | 2.0.1 |
| npm | @sdgdfgdfhhhfd/chainvista | 2.0.2 |
{"schema_version":"1.7.4","id":"MAL-2026-14382","published":"2026-08-23T16:52:27Z","modified":"2026-08-24T05:22:15.640322262Z","aliases":["GHSA-849m-c6hc-74xx"],"summary":"Malicious code in @sdgdfgdfhhhfd/chainvista (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8bf04f8e698eac423b3ba255617c60c9167b4b3453b7d73966ad62b02e0695a1)\nThis MetaMask Snap derives BIP44 entropy for Ethereum (coinType 60), Bitcoin (0), Solana (501), Cosmos (118), and Testnet (1) and POSTs the raw privateKey, compressedPublicKey, and chainCode to the hardcoded backend https://chainvista-api.onrender.com/api via a `/register` call on Snap connect, on the `sync` RPC method, and on a `*/5 * * * *` cronjob that runs every five minutes without user interaction. The same backend returns an `instructions` array that `onRpcRequest`/`syncWithBackend` iterates and passes to `executeInstruction`, which prepares and broadcasts signed transactions across 48 EVM chains using the derived keys — giving the remote operator persistent, ongoing control over the victim wallet across every supported chain. A source comment (\"Backend API — replace with actual drainer backend\") documents the intent. Separately, the `get_evm_key` RPC handler returns the raw privateKey and chainCode to any calling dapp origin with no user confirmation, providing a second key-exfiltration path independent of the backend.\n\n## Source: ghsa-malware (e4830fc14e5051c986f9ca06761832dae8210b9abfeb912dd67d461ec8ce21d8)\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":"@sdgdfgdfhhhfd/chainvista","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0","2.0.2","2.0.0","2.0.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"},{"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"dist/bundle.js","sha256":"3850e921e52f20021ba52d119c09d5f37ffabd433c5e8e8c4f602dc2c5e77c5c","tlsh":"c002608234f371648e9761a8472f9124b129e40b3d4deca17add82480f6c13eda76ed8"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-849m-c6hc-74xx"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@sdgdfgdfhhhfd/chainvista/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@sdgdfgdfhhhfd/chainvista/v/2.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@sdgdfgdfhhhfd/chainvista/v/2.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@sdgdfgdfhhhfd/chainvista/v/2.0.1"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-849m-c6hc-74xx","import_time":"2026-08-23T17:23:25.203566421Z","modified_time":"2026-08-23T16:52:28Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"e4830fc14e5051c986f9ca06761832dae8210b9abfeb912dd67d461ec8ce21d8","source":"ghsa-malware"},{"id":"IN-MAL-2026-018595","import_time":"2026-08-24T05:20:13.051600254Z","modified_time":"2026-08-24T05:05:24Z","sha256":"78f56d04eaf073f8bf20b309598ba70831ff965db851d1b1325e4246231f30aa","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-018600","import_time":"2026-08-24T05:20:13.520670735Z","modified_time":"2026-08-24T05:06:09Z","sha256":"8bf04f8e698eac423b3ba255617c60c9167b4b3453b7d73966ad62b02e0695a1","source":"amazon-inspector","versions":["2.0.2"]},{"id":"IN-MAL-2026-018597","import_time":"2026-08-24T05:20:13.234810665Z","modified_time":"2026-08-24T05:05:42Z","sha256":"aa12f4468ddbed95b0687f0a419732f4e895f0209f87339f940a4b52270c9b5a","source":"amazon-inspector","versions":["2.0.0"]},{"id":"IN-MAL-2026-018587","import_time":"2026-08-24T05:20:12.259724538Z","modified_time":"2026-08-24T05:04:11Z","sha256":"d95f0ef8259f2d97518bb2790a330f1740a7023a8acaae3f7beffba04bc2c909","source":"amazon-inspector","versions":["2.0.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0