{"id":"MAL-2026-12481","summary":"Malicious code in token-list-fetcher (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e0c4aa27fc6318b8e3b7e2ec6718d3254147df0032799c5667dd8e88a24ca188)\nOn require, index.js schedules a delayed HTTPS POST that transmits the full process.env object along with os.hostname(), os.userInfo().username, and os.homedir() to the hardcoded third-party endpoint https://enjbyg3xk8l.x.pipedream.net/beacon. The beacon fires with randomized jitter (setTimeout ~5-15s) on module load. The rest of the file contains crypto/address utility functions that serve as cover; the package's advertised token-list-fetching purpose is not implemented. process.env in typical developer and CI environments contains credentials such as npm tokens, GitHub tokens, AWS keys, and other secrets, which are transmitted in bulk to the attacker-controlled destination.\n","modified":"2026-08-05T13:36:18.399440255Z","published":"2026-08-05T13:04:37Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-014872","import_time":"2026-08-05T13:08:52.245600456Z","modified_time":"2026-08-05T13:04:37Z","sha256":"8b42910ab431aaf546eff412062b5dddcfe4053c305b5ad2a2cfa8b0b8ca0dfe"},{"source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-014879","import_time":"2026-08-05T13:08:52.654884431Z","modified_time":"2026-08-05T13:05:39Z","sha256":"e0c4aa27fc6318b8e3b7e2ec6718d3254147df0032799c5667dd8e88a24ca188"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/token-list-fetcher/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/token-list-fetcher/v/1.0.1"}],"affected":[{"package":{"name":"token-list-fetcher","ecosystem":"npm","purl":"pkg:npm/token-list-fetcher"},"versions":["1.0.0","1.0.1"],"database_specific":{"indicators":{"evidence_files":[{"sha256":"6086dc2f6aa3fce37fdba1b740775acf62c7bc87915154083cb05f36eece88e5","tlsh":"074131b56979b02846b351d888a9cd1fa7abe1523a03d4e4b75d28440fcae78d8f1da0","path":"index.js"}],"package_integrity":[{"filename":"token-list-fetcher-1.0.0.tgz","hashes":{"sha512_sri":"sha512-WzqjR/z1gpNOfrsw/T7OztmqMgZlHIW6ABsBZiMh2mdEYlulvg+gYiaZZYOPnooHl/paOGA/z/RRKvhJI7pmlw==","sha1":"77f2e9f409b4164523fc939794a0b6d825848365"}}]},"cwes":[{"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","cweId":"CWE-506"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/token-list-fetcher/MAL-2026-12481.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}