hemi-earn-actions@999.0.0
Malicious code in hemi-earn-actions (npm)
Analysis
hemi-earn-actions@999.0.0 is a dependency-confusion package that exfiltrates credentials during npm install. Its preinstall script runs postinstall.js, which collects the system hostname, username, current working directory, and all environment variables matching credential-related patterns (key, secret, token, pass, private, ssh, deploy, auth, api, rpc, wallet, sentry, docker, slack) along with npm registry configuration. The collected data is POSTed via HTTPS to 185[.]130[.]46[.]35:8443/collect. The install script suppresses errors with `|| true` and the payload wraps the exfiltration in a try/catch block to avoid detection. Runtime analysis confirmed the DNS queries and HTTPS POST to this external host.
- analyzed by
- Leitwacht
- first seen
- Jun 15, 2026, 02:55 AM
- analyzed
- Jun 15, 2026, 02:56 AM
Related advisories
- portal-backend@999.0.0
- thepackagethatworks_@1.0.2
- texttweak-kit@1.0.0
- textdecode@1.2.7
- test-nonmal-pkg-5@1.0.1
- tailwindcss-framer-motion@1.1.3
- svg2text@3.0.0
- super-test-json@1.2.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.