Malicious code in new-helper (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (47f6e9bcab53d95265012a31a4dcfc1485ed6db858e788e68ac2ac1ebc33fc34) index.js imports child_process and contains execSync calls invoking bash and zsh (around lines 301 and 317). Without traced execution context, it is not possible to determine whether these calls are reachable at install/import time, whether they execute attacker-controlled content, or whether they are gated behind explicit user CLI invocation. No hardcoded attacker C2, credential-path reads, or known-bad-infrastructure fingerprints are present in the available evidence. Routing to human review to inspect the surrounding code paths and confirm intent. ## Source: ghsa-malware (cabb68bd9f2c4312904814f7c0c11aae7f93772a5c46c28a1ca8292592c83a53) 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 'new-helper' npm package version 5.8.1 includes code that imports child_process and invokes execSync to run bash and zsh commands. Although it is unclear if these commands run automatically at install or import time or require explicit user invocation, the package is flagged as malicious. The presence of this package on a system implies full compromise, necessitating secret rotation and removal of the package. No hardcoded command-and-control infrastructure or credential path reads were identified in the available evidence. The threat is documented under MAL-2026-6284 and GHSA-26mv-fx88-4qj7.
Potential Impact
Any system with 'new-helper' version 5.8.1 installed or running should be considered fully compromised. Attackers may have gained full control, risking exposure of all secrets and keys stored on the system. Removal of the package alone may not eradicate all malicious components introduced by the package.
Mitigation Recommendations
Remove the 'new-helper' package version 5.8.1 immediately. Rotate all secrets and keys from a separate, uncompromised system. Because full system compromise is likely, further forensic analysis and remediation may be necessary. Patch status is not applicable as this is a malicious package rather than a vulnerability with an official fix.
Malicious code in new-helper (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (47f6e9bcab53d95265012a31a4dcfc1485ed6db858e788e68ac2ac1ebc33fc34) index.js imports child_process and contains execSync calls invoking bash and zsh (around lines 301 and 317). Without traced execution context, it is not possible to determine whether these calls are reachable at install/import time, whether they execute attacker-controlled content, or whether they are gated behind explicit user CLI invocation. No hardcoded attacker C2, credential-path reads, or known-bad-infrastructure fingerprints are present in the available evidence. Routing to human review to inspect the surrounding code paths and confirm intent. ## Source: ghsa-malware (cabb68bd9f2c4312904814f7c0c11aae7f93772a5c46c28a1ca8292592c83a53) 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 'new-helper' npm package version 5.8.1 includes code that imports child_process and invokes execSync to run bash and zsh commands. Although it is unclear if these commands run automatically at install or import time or require explicit user invocation, the package is flagged as malicious. The presence of this package on a system implies full compromise, necessitating secret rotation and removal of the package. No hardcoded command-and-control infrastructure or credential path reads were identified in the available evidence. The threat is documented under MAL-2026-6284 and GHSA-26mv-fx88-4qj7.
Potential Impact
Any system with 'new-helper' version 5.8.1 installed or running should be considered fully compromised. Attackers may have gained full control, risking exposure of all secrets and keys stored on the system. Removal of the package alone may not eradicate all malicious components introduced by the package.
Mitigation Recommendations
Remove the 'new-helper' package version 5.8.1 immediately. Rotate all secrets and keys from a separate, uncompromised system. Because full system compromise is likely, further forensic analysis and remediation may be necessary. Patch status is not applicable as this is a malicious package rather than a vulnerability with an official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6284
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-26mv-fx88-4qj7"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50ba4968715ace4357e9ad
Added to database: 07/10/2026, 09:24:25 UTC
Last enriched: 07/10/2026, 09:38:36 UTC
Last updated: 07/31/2026, 14:39:38 UTC
Views: 25
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.