MAL-2026-10159: Malicious code in npm-rce-safe-proof-yourname (npm)
The npm package 'npm-rce-safe-proof-yourname' version 1.0.0 contains malicious code that executes during installation. Its postinstall script collects the installer's username, hostname, platform, and Node.js version, then sends this information via HTTPS GET to a hardcoded remote server without user consent. This behavior contradicts the package's declared purpose and results in leakage of installer identity information.
AI Analysis
Technical Summary
The npm package 'npm-rce-safe-proof-yourname' version 1.0.0 includes a postinstall.js script that runs automatically on installation. This script executes the 'whoami' command, reads system information such as hostname, platform, and Node.js version, and transmits these details to a hardcoded external endpoint (https://testnpm.byte.eyes.sh/npm-proof). This unauthorized data transmission acts as an install-time beacon leaking the installer's identity and system details, representing a privacy and credential leakage vulnerability. The package's stated function as a script for showing date strings is inconsistent with this behavior.
Potential Impact
This vulnerability leads to unauthorized disclosure of the installer's username, hostname, operating system platform, and Node.js version to a remote attacker-controlled server. Such leakage can compromise user privacy and potentially aid attackers in profiling or targeting affected systems. There is no indication of further exploitation beyond this data exfiltration.
Mitigation Recommendations
No official patch or remediation is currently available for this package version. Users should avoid installing 'npm-rce-safe-proof-yourname' version 1.0.0. Review and audit npm packages before installation, especially those with unexpected lifecycle scripts. Monitor for updates or advisories from the package maintainer or npm registry regarding this issue.
MAL-2026-10159: Malicious code in npm-rce-safe-proof-yourname (npm)
Description
The npm package 'npm-rce-safe-proof-yourname' version 1.0.0 contains malicious code that executes during installation. Its postinstall script collects the installer's username, hostname, platform, and Node.js version, then sends this information via HTTPS GET to a hardcoded remote server without user consent. This behavior contradicts the package's declared purpose and results in leakage of installer identity information.
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 package 'npm-rce-safe-proof-yourname' version 1.0.0 includes a postinstall.js script that runs automatically on installation. This script executes the 'whoami' command, reads system information such as hostname, platform, and Node.js version, and transmits these details to a hardcoded external endpoint (https://testnpm.byte.eyes.sh/npm-proof). This unauthorized data transmission acts as an install-time beacon leaking the installer's identity and system details, representing a privacy and credential leakage vulnerability. The package's stated function as a script for showing date strings is inconsistent with this behavior.
Potential Impact
This vulnerability leads to unauthorized disclosure of the installer's username, hostname, operating system platform, and Node.js version to a remote attacker-controlled server. Such leakage can compromise user privacy and potentially aid attackers in profiling or targeting affected systems. There is no indication of further exploitation beyond this data exfiltration.
Mitigation Recommendations
No official patch or remediation is currently available for this package version. Users should avoid installing 'npm-rce-safe-proof-yourname' version 1.0.0. Review and audit npm packages before installation, especially those with unexpected lifecycle scripts. Monitor for updates or advisories from the package maintainer or npm registry regarding this issue.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10159
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a520edb68715ace4391599c
Added to database: 07/11/2026, 09:37:31 UTC
Last enriched: 07/11/2026, 10:04:34 UTC
Last updated: 07/12/2026, 04:34:28 UTC
Views: 7
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.