MAL-2026-14138Malicious code in optimizely-starter-kit-for-fastly-compute (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | optimizely-starter-kit-for-fastly-compute | 1.0.1 |
{"modified":"2026-08-18T23:04:13Z","published":"2026-08-18T23:04:13Z","schema_version":"1.7.4","id":"MAL-2026-14138","summary":"Malicious code in optimizely-starter-kit-for-fastly-compute (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (72b7bcd65cbf07a90130de5e4a29fb72bc99badb287a1e1dc7373c288a1ae0be)\npackage.json declares `preinstall: node index.js`, causing index.js to run automatically on `npm install`. The script collects host identifiers (os.hostname(), os.userInfo(), homedir, DNS servers, __dirname, package.json contents) and reads /etc/passwd and /etc/hosts, then POSTs the payload over HTTPS to aguu8c8gjyt4anjao3nhru1mgdm5avyk.oastify.com, a Burp Collaborator out-of-band interaction subdomain. The package name resembles legitimate Optimizely/Fastly Compute tooling, consistent with a dependency-confusion or typosquat exfiltration beacon.\n","affected":[{"package":{"ecosystem":"npm","name":"optimizely-starter-kit-for-fastly-compute"},"versions":["1.0.1"],"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":"8fc8529c5e78ba70935c23c1205510af03f364aa58cd7fc7831aec76b28f4553","tlsh":"ba412395a2d917330de210c06a0c74842399fa777259e89076cf42d69f869f8b7326f3"}],"package_integrity":[{"filename":"optimizely-starter-kit-for-fastly-compute-1.0.1.tgz","hashes":{"sha1":"25df00d2eabf461287db1159bddcb2d9d00fc958","sha512_sri":"sha512-cZRlVdpu0WshCYsTon7hGOOxa3cb3AYlpCae1+URBitWWSzyZl/olY7lbVRaW6BEXigh27VLPag22Q5wvwGH0A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/optimizely-starter-kit-for-fastly-compute/v/1.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018174","import_time":"2026-08-18T23:09:41.670422278Z","modified_time":"2026-08-18T23:04:13Z","sha256":"72b7bcd65cbf07a90130de5e4a29fb72bc99badb287a1e1dc7373c288a1ae0be","source":"amazon-inspector","versions":["1.0.1"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0