# MAL-2026-14138: Malicious code in optimizely-starter-kit-for-fastly-compute (npm)


- **Type:** Malicious package
- **Package:** `optimizely-starter-kit-for-fastly-compute` (npm)
- **Published:** 18 Aug 2026
- **Also known as:** GHSA-8pfr-f8q3-mr5x

## What is MAL-2026-14138?

MAL-2026-14138 is a malicious package in optimizely-starter-kit-for-fastly-compute, published on 18 Aug 2026. 

### Official description

package.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.

Any 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.

## What should I do about MAL-2026-14138?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-14138 is a malicious package: optimizely-starter-kit-for-fastly-compute (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-14138/ (Markdown: https://insights.sbomify.com/MAL-2026-14138/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-14138

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-14138/
Summaries are generated and may contain mistakes; the official description above is the record.
