# MAL-2026-5783: Malicious code in vault-strategies (npm)


- **Type:** Malicious package
- **Package:** `vault-strategies` (npm)
- **Published:** 15 Jun 2026
- **Also known as:** GHSA-43qg-3v2q-g62x

## What is MAL-2026-5783?

MAL-2026-5783 is a malicious package in vault-strategies, published on 15 Jun 2026. 

### Official description

On `npm install`, the package's preinstall hook (`preinstall: node postinstall.js || true`) executes postinstall.js, which enumerates `process.env` and filters keys with a broad credential regex (key|secret|token|pass|private|ssh|deploy|auth|api|rpc|wallet|sentry|docker|graph|slack|host), bundles the matched values together with hostname, username, cwd, and npm configuration, and POSTs the payload over HTTPS to the hardcoded bare IP `185.130.46.35:8443/collect`. Errors are swallowed via `|| true` and try/catch so the exfiltration is silent. The version is published as `999.0.0` with description `Internal package` — the canonical dependency-confusion shape, designed to be auto-resolved over an organization's private `vault-strategies` package and fire the credential-harvest payload at install time.

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

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

## Sources

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

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