MAL-2026-10334: Malicious code in midnightrush (npm)
The npm package 'midnightrush' contains malicious code that compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys stored on the affected system should be rotated immediately from a different, trusted machine. Removing the package alone does not guarantee removal of all malicious software, as full control of the computer may have been given to an attacker.
AI Analysis
Technical Summary
The 'midnightrush' package in the npm ecosystem is identified as malicious software. Installation or execution of this package results in a full compromise of the host system. The attacker may gain persistent control, making simple removal of the package insufficient to restore system integrity. Immediate secret and key rotation from a secure environment is required to mitigate potential damage.
Potential Impact
Complete system compromise on any computer with the 'midnightrush' package installed or running. Potential exposure and loss of all stored secrets and keys. Persistence of malicious code beyond package removal is likely, indicating a high risk of ongoing unauthorized access.
Mitigation Recommendations
Remove the 'midnightrush' package immediately from all affected systems. Rotate all secrets and keys stored on compromised machines from a separate, secure computer. Conduct a thorough investigation and remediation of the affected systems, as removal of the package alone may not eliminate all malicious components.
MAL-2026-10334: Malicious code in midnightrush (npm)
Description
The npm package 'midnightrush' contains malicious code that compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys stored on the affected system should be rotated immediately from a different, trusted machine. Removing the package alone does not guarantee removal of all malicious software, as full control of the computer may have been given to an 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 'midnightrush' package in the npm ecosystem is identified as malicious software. Installation or execution of this package results in a full compromise of the host system. The attacker may gain persistent control, making simple removal of the package insufficient to restore system integrity. Immediate secret and key rotation from a secure environment is required to mitigate potential damage.
Potential Impact
Complete system compromise on any computer with the 'midnightrush' package installed or running. Potential exposure and loss of all stored secrets and keys. Persistence of malicious code beyond package removal is likely, indicating a high risk of ongoing unauthorized access.
Mitigation Recommendations
Remove the 'midnightrush' package immediately from all affected systems. Rotate all secrets and keys stored on compromised machines from a separate, secure computer. Conduct a thorough investigation and remediation of the affected systems, as removal of the package alone may not eliminate all malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10334
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-wq56-6fvg-rgjg"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a54addc68715ace438f5abf
Added to database: 07/13/2026, 09:20:28 UTC
Last enriched: 07/13/2026, 09:43:21 UTC
Last updated: 07/13/2026, 09:43:21 UTC
Views: 2
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.