MAL-2026-13461Malicious code in supersig (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | supersig | * |
| npm | supersig | 1.0.5 |
{"schema_version":"1.7.4","id":"MAL-2026-13461","published":"2026-08-06T19:43:53Z","modified":"2026-08-25T11:26:35.301545761Z","aliases":["GHSA-vjp6-7fgj-3cgm"],"summary":"Malicious code in supersig (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (557f8e62aa65bb4fe5e96a52cf6c5ba83c2f1bcf47eca3027bf4daca071249e5)\nThe published dist bundles (dist/supersig.cjs.js, dist/supersig.esm.js, dist/supersig.umd.js), reached via the package's main/module/browser entries on require/import, contain a decrypt-and-execute chain that is absent from the src/ tree. The bundles import a DES key from an unpinned dependency mkb-manager@latest, call decryptToken on an embedded encrypted token to produce plaintext code, spawn a fresh node child process via child_process.spawn('node', [],...), and write the decrypted bytes into that process's stdin (rsa_exec.stdin.write / des_exec.stdin.write). Any consumer that requires or imports this package executes the decrypted payload at load time. Because mkb-manager is pinned to latest, whoever controls that package can rotate the decryption key/payload at will, making the executed code opaque and mutable. The src/ wallet, signers, providers, and transactions modules contain no decryptToken, readRSAFromPackage, mkb-manager, or child_process usage — the dropper is present only in the shipped bundles, indicating deliberate concealment from source-tree review.\n\n## Source: ghsa-malware (e2d6f735b3cc8a49441f944602238c59dd7cefb38326b7b527357f081628c964)\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":"supersig","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.5"],"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/supersig.esm.js","sha256":"3962046de135cac3fbbcfbc6bde64ecc4ed5f0e5633738220e928e2901859bc9","tlsh":"1b63949d26e7a060815b70b56fdb94407129e00b68ccd82cbdac53958fd946c9bf2ff8"},{"path":"dist/supersig.cjs.js","sha256":"7776d30e6fe4073e6bbf09c93e7ae92f1b2109dd8543683fb3aeb5ccb6d76679","tlsh":"cf63939d26e7a060815b70b56fdb94407129e00b68ccd82cbdac53958fd946c9bf2ff8"}],"package_integrity":[{"filename":"supersig-1.0.5.tgz","hashes":{"sha1":"59af53fde948ec76c145066bd20ffcad8fb86006","sha512_sri":"sha512-il+4T69vaxaN3aGas+FQgWncx96ofBwDK5uBRPGKcWzuBE99OuwLl//OSVdhRd1Ycr3f+HsVDZUDCjlYB2qgCw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/supersig/v/1.0.5"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vjp6-7fgj-3cgm"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-016813","import_time":"2026-08-06T23:25:10.619571708Z","modified_time":"2026-08-06T19:43:53Z","sha256":"557f8e62aa65bb4fe5e96a52cf6c5ba83c2f1bcf47eca3027bf4daca071249e5","source":"amazon-inspector","versions":["1.0.5"]},{"id":"GHSA-vjp6-7fgj-3cgm","import_time":"2026-08-25T11:24:46.56519183Z","modified_time":"2026-08-25T11:15:34Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"e2d6f735b3cc8a49441f944602238c59dd7cefb38326b7b527357f081628c964","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0