{"schema_version":"1.9.2","id":"MAL-2026-18351","published":"2026-10-27T23:04:33Z","modified":"2026-10-29T14:30:40.162238247Z","aliases":["GHSA-v383-2358-576w"],"summary":"Malicious code in csec-crypto-toolkit (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2abb8bc55cfdb0121f6d5699665198f00bd78fbbaa555a695f2fe5188c733ef5)\nPackage csec-crypto-toolkit version 0.0.0-stage ships two files and no detectable installer-harm behavior. No lifecycle scripts (preinstall/install/postinstall/prepare) that fetch or execute remote content were observed, no credential or environment-variable harvesting was observed, no network beacons to attacker-controlled destinations were observed, and no dropper, backdoor, or self-propagation mechanisms were observed. The version suffix `0.0.0-stage` is consistent with a placeholder/staging publish rather than a functional release.\n\n## Source: ghsa-malware (89ca44b227ea4da53f945de70efac936762435c8450545c64bc0272d97299e69)\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":"csec-crypto-toolkit","ecosystem":"npm","purl":"pkg:npm/csec-crypto-toolkit"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.0.0-stage"],"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":{"package_integrity":[{"filename":"csec-crypto-toolkit-0.0.0-stage.tgz","hashes":{"sha1":"55c9a10b47bc8bd7256b4d37570a0427ccee8781","sha512_sri":"sha512-msQqtuGBNMKA2lTYH3B4HwYu86oa8ohzGogLbNonFaF45F1nm90iMo6HtF+Sm//bFOhA3eeB+0EtHJ6Neaw6MA=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/csec-crypto-toolkit/MAL-2026-18351.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v383-2358-576w"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/csec-crypto-toolkit/v/0.0.0-stage"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-v383-2358-576w","import_time":"2026-10-27T23:17:40.883048613Z","modified_time":"2026-10-27T23:04:33Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"89ca44b227ea4da53f945de70efac936762435c8450545c64bc0272d97299e69","source":"ghsa-malware"},{"id":"IN-MAL-2026-022195","import_time":"2026-10-29T14:14:33.44284375Z","modified_time":"2026-10-29T14:01:21Z","sha256":"2abb8bc55cfdb0121f6d5699665198f00bd78fbbaa555a695f2fe5188c733ef5","source":"amazon-inspector","versions":["0.0.0-stage"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}