Malicious code in cminhouse-api-gateway-nodejs (npm)
Description
The npm package 'cminhouse-api-gateway-nodejs' versions 999.0.0 and 999.0.1 contain malicious code that executes during installation and runtime. It evades sandbox environments and delays execution before scanning the victim's home directory for sensitive credentials including SSH keys, cloud service tokens, and various configuration files. The stolen data is exfiltrated to a hardcoded IP address and additional host information is sent to a Telegram bot, indicating a targeted supply-chain credential theft campaign.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The malicious code in 'cminhouse-api-gateway-nodejs' is embedded in the package's postinstall script and main entry point. It avoids execution in CI/test/Docker environments by checking environment variables and presence of Docker. After a randomized delay, it collects a wide range of sensitive credentials from the user's home directory and environment variables. The collected data is base64-encoded and sent to a hardcoded VPS endpoint. Host reconnaissance data is also sent to a Telegram bot using a hardcoded token and chat ID. The behavior includes sandbox evasion, randomized delay, victim tagging, and use of a bare-IP exfiltration endpoint, consistent with a targeted supply-chain attack aimed at credential theft.
Potential Impact
This malicious package compromises user credentials and secrets related to SSH, AWS, Azure, Google Cloud, Kubernetes, Docker, Terraform, GitHub, and other services. The exfiltration of these credentials can lead to unauthorized access to cloud resources, source code repositories, infrastructure, and other sensitive environments. The presence of victim tagging and sandbox evasion indicates a sophisticated attack designed to avoid detection and maximize data theft.
Defensive Guidance
No official patch or remediation is currently documented. Users should immediately remove the affected versions (=999.0.0 and =999.0.1) of the 'cminhouse-api-gateway-nodejs' package from their environments. Avoid installing or using this package until a trusted, clean version is released. Review and rotate any potentially exposed credentials and secrets. Monitor for suspicious activity related to compromised credentials. Check vendor advisories or trusted security sources for updates on remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15815
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a98455dacd9273b496ab855
Added to database: 09/02/2026, 15:48:45 UTC
Last enriched: 09/07/2026, 22:39:01 UTC
Last updated: 10/03/2026, 06:10:12 UTC
Views: 33
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.