{"id":"MAL-2026-12007","summary":"Malicious code in @keyv/bigmap (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2a8f8e82f91c41a43a5730b8c4d545e0b2e7b8b43b0945d656f937ce6b4adf79)\nThe package contents did not exhibit any behaviors associated with supply-chain attacks: no install/preinstall/postinstall lifecycle hooks fetching or executing remote content, no reads of installer credential paths (~/.aws, ~/.ssh, ~/.npmrc, browser stores), no environment-variable scraping, no hardcoded network exfiltration endpoints, no obfuscated payloads, and no persistence mechanisms. Behavior is consistent with the package's documented purpose as a Keyv storage adapter.\n\n## Source: ghsa-malware (4c0b2769ba453f277c09380e6b3b8b00b561ae11c77125f5a98dfbe86aaf85ea)\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","aliases":["GHSA-p677-p29q-h534"],"modified":"2026-08-05T10:05:25.720613820Z","published":"2026-08-04T13:01:08Z","database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","versions":["6.0.0"],"id":"GHSA-p677-p29q-h534","import_time":"2026-08-05T00:10:18.166898126Z","modified_time":"2026-08-04T13:01:08Z","sha256":"4c0b2769ba453f277c09380e6b3b8b00b561ae11c77125f5a98dfbe86aaf85ea"},{"modified_time":"2026-08-05T08:25:46Z","sha256":"2a8f8e82f91c41a43a5730b8c4d545e0b2e7b8b43b0945d656f937ce6b4adf79","source":"amazon-inspector","versions":["6.0.0"],"id":"IN-MAL-2026-014268","import_time":"2026-08-05T09:27:49.897005786Z"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p677-p29q-h534"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@keyv/bigmap/v/6.0.0"}],"affected":[{"package":{"name":"@keyv/bigmap","ecosystem":"npm","purl":"pkg:npm/%40keyv/bigmap"},"versions":["6.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@keyv/bigmap/MAL-2026-12007.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"package_integrity":[{"hashes":{"sha1":"521f269c5ecc18eddef4553a2747e2344b6cade8","sha512_sri":"sha512-vHJzeS7BSPxuxxmpFd6C5D28iTkWnMYFQncXeu/R5auP7QYIefFrrNSmu40Psrki03h6VJr9aw9yCdpJTVWb2w=="},"filename":"bigmap-6.0.0.tgz"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}