MAL-2026-7019: Malicious code in npm-rce-poc (npm)
The npm package 'npm-rce-poc' version 1.0.13 contains malicious code that executes during installation. It runs a postinstall script that fetches and executes a remote script over unencrypted HTTP from a hardcoded IP address, enabling remote code execution on the installing system. The package masquerades as 'date-fns-lite' to appear benign. Systems with this package installed should be considered fully compromised, and all secrets and keys should be rotated. Removal of the package does not guarantee full remediation due to potential persistent compromise.
AI Analysis
Technical Summary
The 'npm-rce-poc' package version 1.0.13 includes a postinstall lifecycle script that, upon 'npm install', downloads a script from a hardcoded IP address (http://115.190.124.243:8761) without TLS or integrity checks and executes it immediately. On Unix systems, the script is piped to 'sh'; on Windows, it is saved as a batch file and executed. The package disguises itself as 'date-fns-lite', a lookalike of the legitimate 'date-fns' library, with a benign index.js to conceal its malicious behavior. This results in remote code execution controlled by the attacker on any system installing this package.
Potential Impact
Any system that installs this package version is subject to remote code execution by the attacker controlling the hardcoded IP address. This leads to full system compromise, including potential theft or manipulation of secrets and keys. The compromise is severe enough that all credentials on the affected system should be considered compromised and rotated from a separate, secure system. Removal of the package alone may not eliminate all malicious artifacts or backdoors.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The recommended mitigation is to immediately remove version 1.0.13 of 'npm-rce-poc' if installed. Assume full compromise of affected systems and rotate all secrets and keys from a different, uncompromised system. Avoid installing packages from untrusted sources and verify package authenticity before installation. Monitor for any signs of persistent compromise beyond the package removal.
MAL-2026-7019: Malicious code in npm-rce-poc (npm)
Description
The npm package 'npm-rce-poc' version 1.0.13 contains malicious code that executes during installation. It runs a postinstall script that fetches and executes a remote script over unencrypted HTTP from a hardcoded IP address, enabling remote code execution on the installing system. The package masquerades as 'date-fns-lite' to appear benign. Systems with this package installed should be considered fully compromised, and all secrets and keys should be rotated. Removal of the package does not guarantee full remediation due to potential persistent compromise.
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 'npm-rce-poc' package version 1.0.13 includes a postinstall lifecycle script that, upon 'npm install', downloads a script from a hardcoded IP address (http://115.190.124.243:8761) without TLS or integrity checks and executes it immediately. On Unix systems, the script is piped to 'sh'; on Windows, it is saved as a batch file and executed. The package disguises itself as 'date-fns-lite', a lookalike of the legitimate 'date-fns' library, with a benign index.js to conceal its malicious behavior. This results in remote code execution controlled by the attacker on any system installing this package.
Potential Impact
Any system that installs this package version is subject to remote code execution by the attacker controlling the hardcoded IP address. This leads to full system compromise, including potential theft or manipulation of secrets and keys. The compromise is severe enough that all credentials on the affected system should be considered compromised and rotated from a separate, secure system. Removal of the package alone may not eliminate all malicious artifacts or backdoors.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The recommended mitigation is to immediately remove version 1.0.13 of 'npm-rce-poc' if installed. Assume full compromise of affected systems and rotate all secrets and keys from a different, uncompromised system. Avoid installing packages from untrusted sources and verify package authenticity before installation. Monitor for any signs of persistent compromise beyond the package removal.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-7019
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-pqpr-7m94-xhm4"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a58b51668715ace43db3b1a
Added to database: 07/16/2026, 10:40:22 UTC
Last enriched: 07/16/2026, 14:28:14 UTC
Last updated: 07/16/2026, 17:09:45 UTC
Views: 6
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.