Malicious code in whs4_npm_test (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (68d797ee3c8111cffee8603aa24625cb71a7f958438e33207b33376b260acc59) The package was found to contain malicious code or consuming dependency that contains malicious code ## Source: ghsa-malware (1bf480e341adf103008231e5b1dbb16d295a21eec1c7be2d43dcb8287a417849) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
AI Analysis
Technical Summary
The 'whs4_npm_test' package in the npm ecosystem is identified as malicious software. Installation or execution of this package results in full compromise of the host system, potentially allowing an attacker complete control. Due to the nature of the compromise, simply uninstalling the package may not remove all malicious artifacts or backdoors. The advisory recommends treating any affected system as fully compromised and rotating all credentials from a secure environment.
Potential Impact
Full system compromise on any computer with the package installed or running. All secrets and keys stored on the compromised system are at risk and should be considered exposed. The persistence of malicious code beyond package removal means ongoing risk even after uninstalling the package.
Mitigation Recommendations
Remove the 'whs4_npm_test' package immediately. Rotate all secrets, keys, and credentials stored on the affected system from a different, secure computer. Because full control may have been given to an attacker, consider the affected system untrusted and perform a full system rebuild or forensic analysis to ensure removal of all malicious components. No official patch or fix is available; remediation relies on removal and credential rotation.
Malicious code in whs4_npm_test (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (68d797ee3c8111cffee8603aa24625cb71a7f958438e33207b33376b260acc59) The package was found to contain malicious code or consuming dependency that contains malicious code ## Source: ghsa-malware (1bf480e341adf103008231e5b1dbb16d295a21eec1c7be2d43dcb8287a417849) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
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 'whs4_npm_test' package in the npm ecosystem is identified as malicious software. Installation or execution of this package results in full compromise of the host system, potentially allowing an attacker complete control. Due to the nature of the compromise, simply uninstalling the package may not remove all malicious artifacts or backdoors. The advisory recommends treating any affected system as fully compromised and rotating all credentials from a secure environment.
Potential Impact
Full system compromise on any computer with the package installed or running. All secrets and keys stored on the compromised system are at risk and should be considered exposed. The persistence of malicious code beyond package removal means ongoing risk even after uninstalling the package.
Mitigation Recommendations
Remove the 'whs4_npm_test' package immediately. Rotate all secrets, keys, and credentials stored on the affected system from a different, secure computer. Because full control may have been given to an attacker, consider the affected system untrusted and perform a full system rebuild or forensic analysis to ensure removal of all malicious components. No official patch or fix is available; remediation relies on removal and credential rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6952
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-pjv5-35wr-prrm"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4e4f09c9d9e3dbe328df9e
Added to database: 07/08/2026, 13:22:17 UTC
Last enriched: 07/08/2026, 13:51:26 UTC
Last updated: 07/28/2026, 18:06:07 UTC
Views: 29
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.
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.