Malicious code in pp-react-v5 (npm)
The npm package 'pp-react-v5' is a malicious dependency confusion package published at inflated versions 10.0.0, 30.0.1, and 30.0.2. It contains no functional source code but includes preinstall and postinstall scripts that execute code on installation. These scripts collect sensitive environment information such as hostname, username, working directory, and local package metadata, then send this data to attacker-controlled endpoints. This results in unauthenticated disclosure of installer identity and environment details to the attacker.
AI Analysis
Technical Summary
The 'pp-react-v5' npm package is a malicious package designed for dependency confusion attacks by impersonating an internal package with the same name at inflated versions 10.0.0, 30.0.1, and 30.0.2. Upon installation, its preinstall and postinstall scripts execute code that gathers host identifiers including os.hostname(), os.userInfo().username, os.homedir(), process.cwd(), DNS servers, and local package.json contents. This information is exfiltrated via HTTPS POST requests to a hardcoded out-of-band collector domain controlled by the attacker. The package contains no legitimate source code and serves solely to collect and leak environment metadata without authentication.
Potential Impact
Installing this malicious package results in unauthenticated disclosure of sensitive environment information such as the installer's username, hostname, working directory, and local package metadata to attacker-controlled servers. This can lead to reconnaissance that may facilitate further targeted attacks or compromise of internal systems relying on the same package name. No direct code execution beyond data exfiltration is described.
Mitigation Recommendations
Avoid installing the 'pp-react-v5' package at versions 10.0.0, 30.0.1, and 30.0.2 from public npm registries. Verify internal package names and use scoped packages or private registries to prevent dependency confusion attacks. Since no official patch or fix is available, do not rely on these versions. Audit your dependency trees for unexpected or suspicious packages named 'pp-react-v5' and remove any occurrences. Consider implementing strict package resolution policies to avoid untrusted packages overriding internal dependencies.
Malicious code in pp-react-v5 (npm)
Description
The npm package 'pp-react-v5' is a malicious dependency confusion package published at inflated versions 10.0.0, 30.0.1, and 30.0.2. It contains no functional source code but includes preinstall and postinstall scripts that execute code on installation. These scripts collect sensitive environment information such as hostname, username, working directory, and local package metadata, then send this data to attacker-controlled endpoints. This results in unauthenticated disclosure of installer identity and environment details to the attacker.
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 'pp-react-v5' npm package is a malicious package designed for dependency confusion attacks by impersonating an internal package with the same name at inflated versions 10.0.0, 30.0.1, and 30.0.2. Upon installation, its preinstall and postinstall scripts execute code that gathers host identifiers including os.hostname(), os.userInfo().username, os.homedir(), process.cwd(), DNS servers, and local package.json contents. This information is exfiltrated via HTTPS POST requests to a hardcoded out-of-band collector domain controlled by the attacker. The package contains no legitimate source code and serves solely to collect and leak environment metadata without authentication.
Potential Impact
Installing this malicious package results in unauthenticated disclosure of sensitive environment information such as the installer's username, hostname, working directory, and local package metadata to attacker-controlled servers. This can lead to reconnaissance that may facilitate further targeted attacks or compromise of internal systems relying on the same package name. No direct code execution beyond data exfiltration is described.
Mitigation Recommendations
Avoid installing the 'pp-react-v5' package at versions 10.0.0, 30.0.1, and 30.0.2 from public npm registries. Verify internal package names and use scoped packages or private registries to prevent dependency confusion attacks. Since no official patch or fix is available, do not rely on these versions. Audit your dependency trees for unexpected or suspicious packages named 'pp-react-v5' and remove any occurrences. Consider implementing strict package resolution policies to avoid untrusted packages overriding internal dependencies.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-3509
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50ba8768715ace43581c11
Added to database: 07/10/2026, 09:25:27 UTC
Last enriched: 07/10/2026, 10:05:01 UTC
Last updated: 07/21/2026, 05:31:15 UTC
Views: 5
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.