# MAL-2026-6090: Malicious code in data-utils-bcf2 (npm)


- **Type:** Malicious package
- **Package:** `data-utils-bcf2` (npm)
- **Published:** 18 Jun 2026

## What is MAL-2026-6090?

MAL-2026-6090 is a malicious package in data-utils-bcf2, published on 18 Jun 2026. 

### Official description

The package declares a postinstall lifecycle hook ("postinstall": "node run.js" in package.json) that automatically executes run.js on install. run.js imports os, fs, http, https, and child_process, collects host identifying information (os.hostname(), os.platform()), reads files from disk (fs.readFileSync, fs.existsSync), and issues multiple POST requests over HTTP/HTTPS (run.js lines 134, 137, 348, 355). The combination of automatic install-time execution, host fingerprinting, filesystem reads, and outbound POSTs is the canonical install-time exfiltration shape. Installing this package on a developer machine or CI runner will run the reconnaissance and exfiltration code without user interaction.

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

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-6090 is a malicious package: data-utils-bcf2 (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-6090/ (Markdown: https://insights.sbomify.com/MAL-2026-6090/index.md)
```

## Sources

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

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