MAL-2026-5778 Malicious code in hemi-earn-actions (npm)

Malicious package Published
Package
hemi-earn-actions
Registry
npm

What is MAL-2026-5778?

MAL-2026-5778 is a malicious package in hemi-earn-actions, published on 15 Jun 2026.

Official description

On npm install, the package's preinstall script (postinstall.js) collects host metadata (hostname, username, cwd, npm config) and iterates 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 credential-shaped variables. The resulting JSON payload is POSTed over HTTPS to a hardcoded bare-IP endpoint, https://185.130.46.35:8443/collect. The package itself has no functional API — index.js is module.exports = {} — and the version 999.0.0 plus the description 'Internal package' fit the dependency-confusion pattern aimed at organizations that resolve a private name hemi-earn-actions from the public registry. Installer harm is automatic credential exfiltration of CI/developer secrets to attacker-controlled infrastructure.

What should I do about MAL-2026-5778?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Also known as GHSA-hjwc-fchg-m65q.

Is MAL-2026-5778 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free