{"id":"MAL-2026-10434","summary":"Malicious code in env-fast (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9955128054ee66cd4675be3884e92f9e541ad7e9673496ece60e932c0b83ca5f)\nenv-fast@1.0.0 presents as a zero-dependency env loader but on require schedules a 72-hour-delayed activation that POSTs a host fingerprint (hostname, platform, release, arch, CPU/memory, homedir, network interface names, uptime, node version) to hardcoded bare-IP endpoint http://2.27.62.51:8080/api/health over plain HTTP, followed by a 6-hour heartbeat. The same payload probes installer secret locations — reports presence of ~/.npmrc, enumerates ~/.ssh for id_rsa/id_ed25519/id_ecdsa, and counts process.env keys matching /key|secret|token|password|auth|private|wallet|seed|mnemonic/i — and ships those results to the same remote endpoint. The 72-hour dormancy is a behavioral evasion pattern that avoids short-lived CI and sandbox environments while ensuring long-lived production hosts trigger the beacon.\n","modified":"2026-07-13T10:47:05.779119308Z","published":"2026-07-13T09:22:28Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010207","import_time":"2026-07-13T10:37:37.752052655Z","modified_time":"2026-07-13T09:22:28Z","sha256":"9955128054ee66cd4675be3884e92f9e541ad7e9673496ece60e932c0b83ca5f","source":"amazon-inspector","versions":["1.0.0"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/env-fast/v/1.0.0"}],"affected":[{"package":{"name":"env-fast","ecosystem":"npm","purl":"pkg:npm/env-fast"},"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"d49b06e7ec71844fe9655022f4d29a210913ecf645ad544eec371a6848462882","tlsh":"cda1a5d416e31120467772a8678f2112a5b6e513794bd4c8bacd43811fc992cc2f7efe"}],"package_integrity":[{"filename":"env-fast-1.0.0.tgz","hashes":{"sha512_sri":"sha512-+ZhCVKBpbts19Pi4lhxyloof8K1fKzxuCA/WGci/w78WsX5YZ3qI8KSBCW5PcPxwaXy5OHHB1L1u8fnZDQl2jQ==","sha1":"2276dc000af18e24393fbcde525a85ed01d04845"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/env-fast/MAL-2026-10434.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}