# MAL-2026-14531: Malicious code in analytics-v2 (npm)


- **Type:** Malicious package
- **Package:** `analytics-v2` (npm)
- **Published:** 26 Aug 2026

## What is MAL-2026-14531?

MAL-2026-14531 is a malicious package in analytics-v2, published on 26 Aug 2026. 

### Official description

On npm install, the package's preinstall hook executes index.js which harvests host and user identity data (os.hostname(), os.platform(), os.arch(), os.userInfo() including username/uid/gid/shell, homedir, cwd) and captures the output of the shell commands `whoami` and `id` via child_process. The collected data is serialized as JSON and POSTed to the hardcoded endpoint https://839wbtybgrvpgbqzd0l8po2ozf56tyhn.oastify.com/system-info, a Burp Collaborator (oastify.com) out-of-band interaction subdomain unrelated to any legitimate analytics functionality. The behavior fires automatically as part of the npm install lifecycle with no user interaction.

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

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-14531 is a malicious package: analytics-v2 (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-14531/ (Markdown: https://insights.sbomify.com/MAL-2026-14531/index.md)
```

## Sources

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

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