# MAL-2026-5779: Malicious code in hemi-supply-cron (npm)


- **Type:** Malicious package
- **Package:** `hemi-supply-cron` (npm)
- **Published:** 15 Jun 2026
- **Also known as:** GHSA-49hx-4cwp-rqgh

## What is MAL-2026-5779?

MAL-2026-5779 is a malicious package in hemi-supply-cron, published on 15 Jun 2026. 

### Official description

package.json declares a preinstall hook (`node postinstall.js`) that fires automatically on `npm install`. The script collects host identity (os.hostname(), os.userInfo().username, process.cwd()) and enumerates process.env, filtering keys against the regex /key|secret|token|pass|private|ssh|deploy|auth|api|rpc|wallet|sentry|docker|graph|slack|host/i to harvest any credential-shaped variables (AWS keys, SSH/deploy tokens, RPC/wallet secrets, API tokens, etc.). The collected JSON payload is HTTPS POSTed to the hardcoded bare IP 185.130.46.35:8443 at path /collect. The package has no library functionality — `index.js` exports an empty object — and is published at version 999.0.0, the canonical dependency-confusion shape used to override an internal package name with a higher public version. The package's sole purpose is to harvest installer/CI secrets.

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

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

## Sources

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

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