Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-10159: Malicious code in npm-rce-safe-proof-yourname (npm)

0
Medium
Published: 07/10/2026 (07/10/2026, 16:34:59 UTC)
Source: GCVE Database
Product: npm-rce-safe-proof-yourname

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

npmghsa
npm-rce-safe-proof-yourname
Affected versions
=1.0.0

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

AILast updated: 07/11/2026, 10:04:34 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses