{"id":"MAL-2026-5783","summary":"Malicious code in vault-strategies (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6b7037d9efc65a0885cc000a92c46ea9bed2097d02c8fb2883ceaa3eb2fd5eeb)\nOn `npm install`, the package's preinstall hook (`preinstall: node postinstall.js || true`) executes postinstall.js, which enumerates `process.env` and filters keys with a broad credential regex (key|secret|token|pass|private|ssh|deploy|auth|api|rpc|wallet|sentry|docker|graph|slack|host), bundles the matched values together with hostname, username, cwd, and npm configuration, and POSTs the payload over HTTPS to the hardcoded bare IP `185.130.46.35:8443/collect`. Errors are swallowed via `|| true` and try/catch so the exfiltration is silent. The version is published as `999.0.0` with description `Internal package` — the canonical dependency-confusion shape, designed to be auto-resolved over an organization's private `vault-strategies` package and fire the credential-harvest payload at install time.\n","aliases":["GHSA-43qg-3v2q-g62x"],"modified":"2026-09-01T11:45:06.009547884Z","published":"2026-06-15T15:09:23Z","database_specific":{"malicious-packages-origins":[{"sha256":"6b7037d9efc65a0885cc000a92c46ea9bed2097d02c8fb2883ceaa3eb2fd5eeb","source":"amazon-inspector","versions":["999.0.0"],"id":"IN-MAL-2026-006484","import_time":"2026-06-15T15:30:21.682689992Z","modified_time":"2026-06-15T15:09:23Z"},{"sha256":"417644a4b4195743428b0a9b64a73854d36bba734e925d91b9c565934fb8aa89","source":"reversing-labs","versions":["999.0.0"],"id":"RLMA-2026-05639","import_time":"2026-07-20T13:14:52.862932146Z","modified_time":"2026-07-20T11:03:12Z"},{"import_time":"2026-09-01T11:38:19.512021788Z","modified_time":"2026-08-24T17:15:45Z","sha256":"6e5c84ed78ac10447615419c84300864196a8c310f3f1c23d791c2e277b9ddb7","source":"reversing-labs","id":"RLUA-2026-06535"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/vault-strategies/v/999.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-43qg-3v2q-g62x"}],"affected":[{"package":{"name":"vault-strategies","ecosystem":"npm","purl":"pkg:npm/vault-strategies"},"versions":["999.0.0"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"d64656e6553409a54557222ecca0d2d914ac89afab42f95780168653327962f3","tlsh":"ef0141f884ed95a226e797d8f117901761bbd2323d0678b0baa842851fcc27485f2cf2"},{"sha256":"f6ed4caa3e6667e7ddf3b28cb9b4b02300cbe4c086b8c436b34752e9e8d1fe46","tlsh":"a7c022308d12977318c407822862840271a20c2f2000a81807c7285002aa77248ab20e","path":"package.json"}],"package_integrity":[{"filename":"vault-strategies-999.0.0.tgz","hashes":{"sha512_sri":"sha512-dHtKfv+BDGr0N1Dm/KUM0YRHYscD+zV9Vm3dR6HrlZQjXohkrYnHySZyucfOd5aE8XKzzF3Hbma2CdrilAXxiQ==","sha1":"a16db8055cd9fcd9923f898ed4ad394af89ffbcd"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vault-strategies/MAL-2026-5783.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}