{"id":"MAL-2026-12013","summary":"Malicious code in @keyv/encrypt-node (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9c28175ab56ea558a0634ba48421de59c05f3ebc5e06335162cd2d30a6972495)\nNo static or traced-code signals of installer-side attack were observed in this version of @keyv/encrypt-node. No lifecycle-script fetch-and-execute, no credential or environment scraping, no hardcoded exfiltration endpoints, and no obfuscated payloads were identified in the scanned files.\n\n## Source: ghsa-malware (592314a6ca4102bf0da8eaeb88e30814b2f1b6fcefaccd42277ed1d2fd2a2699)\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-5v34-xm6r-f57w"],"modified":"2026-08-05T10:05:28.164498218Z","published":"2026-08-04T13:01:34Z","database_specific":{"malicious-packages-origins":[{"versions":["6.0.0"],"id":"GHSA-5v34-xm6r-f57w","import_time":"2026-08-05T00:10:17.921280884Z","modified_time":"2026-08-04T13:01:34Z","sha256":"592314a6ca4102bf0da8eaeb88e30814b2f1b6fcefaccd42277ed1d2fd2a2699","source":"ghsa-malware"},{"modified_time":"2026-08-05T08:24:06Z","sha256":"9c28175ab56ea558a0634ba48421de59c05f3ebc5e06335162cd2d30a6972495","source":"amazon-inspector","versions":["6.0.0"],"id":"IN-MAL-2026-014257","import_time":"2026-08-05T09:27:48.573200144Z"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5v34-xm6r-f57w"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@keyv/encrypt-node/v/6.0.0"}],"affected":[{"package":{"name":"@keyv/encrypt-node","ecosystem":"npm","purl":"pkg:npm/%40keyv/encrypt-node"},"versions":["6.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@keyv/encrypt-node/MAL-2026-12013.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":[{"filename":"encrypt-node-6.0.0.tgz","hashes":{"sha512_sri":"sha512-FsAjclI0rgahlXF04PEW8LqIRqrCjVW5IpZmndSOQzWHubhRWSi9OIOOh1KBCyQjWOXZUG3qC1NGJxiuMPE18w==","sha1":"840bb3680ea6d3777d5d0257912e0b1e83892cf9"}}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}