# MAL-2026-5784: Malicious code in vaults-monitor-cron (npm)


- **Type:** Malicious package
- **Package:** `vaults-monitor-cron` (npm)
- **Published:** 15 Jun 2026
- **Also known as:** GHSA-7ff8-rw9g-fj84

## What is MAL-2026-5784?

MAL-2026-5784 is a malicious package in vaults-monitor-cron, published on 15 Jun 2026. 

### Official description

On `npm install`, the package's preinstall hook (`node postinstall.js || true`) executes automatically. The script collects hostname, username, and current working directory, then iterates process.env and filters keys matching the regex /key|secret|token|pass|private|ssh|deploy|auth|api|rpc|wallet|sentry|docker|graph|slack|host/i, capturing CI tokens, SSH keys, deploy credentials, cloud API keys, RPC/wallet secrets, and similar. The collected JSON payload is POSTed via https.request to the hardcoded bare IP 185.130.46.35:8443/collect. The package metadata reinforces the attack shape: version 999.0.0 and description "Internal package" are the canonical dependency-confusion pattern, intended to override an organization's internal `vaults-monitor-cron` package. The `|| true` suffix on the preinstall command swallows errors so the install appears to succeed silently. There is no legitimate functionality in the package — its sole on-install effect is credential exfiltration.

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

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-5784 is a malicious package: vaults-monitor-cron (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-5784/ (Markdown: https://insights.sbomify.com/MAL-2026-5784/index.md)
```

## Sources

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

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