MAL-2026-10307: Malicious code in imillegal2 (npm)
The npm package 'imillegal2' 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 may not eliminate all malicious software introduced by it, as the attacker may have gained full control of the system.
AI Analysis
Technical Summary
The 'imillegal2' package in the npm ecosystem is identified as containing malicious code that fully compromises affected computers. Installation or execution of this package results in a complete system compromise, potentially allowing an attacker full control. Due to the severity of the compromise, secrets and keys stored on the system must be rotated from a separate, secure device. Removal of the package does not guarantee removal of all malicious artifacts or backdoors introduced by the attacker.
Potential Impact
Any system with the 'imillegal2' package installed or running is considered fully compromised. This includes potential unauthorized access, control over the system, and exposure of all stored secrets and keys. The attacker may maintain persistence beyond removal of the package, increasing the risk of ongoing compromise.
Mitigation Recommendations
Remove the 'imillegal2' package immediately. Rotate all secrets and keys stored on the affected system from a different, trusted computer. Because the system may be fully compromised, consider rebuilding or restoring the system from a known good backup to ensure complete removal of malicious software.
MAL-2026-10307: Malicious code in imillegal2 (npm)
Description
The npm package 'imillegal2' 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 may not eliminate all malicious software introduced by it, as the attacker may have gained full control of the system.
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 'imillegal2' package in the npm ecosystem is identified as containing malicious code that fully compromises affected computers. Installation or execution of this package results in a complete system compromise, potentially allowing an attacker full control. Due to the severity of the compromise, secrets and keys stored on the system must be rotated from a separate, secure device. Removal of the package does not guarantee removal of all malicious artifacts or backdoors introduced by the attacker.
Potential Impact
Any system with the 'imillegal2' package installed or running is considered fully compromised. This includes potential unauthorized access, control over the system, and exposure of all stored secrets and keys. The attacker may maintain persistence beyond removal of the package, increasing the risk of ongoing compromise.
Mitigation Recommendations
Remove the 'imillegal2' package immediately. Rotate all secrets and keys stored on the affected system from a different, trusted computer. Because the system may be fully compromised, consider rebuilding or restoring the system from a known good backup to ensure complete removal of malicious software.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10307
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-7ghh-vv7f-7f96"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a54addc68715ace438f5ac2
Added to database: 07/13/2026, 09:20:28 UTC
Last enriched: 07/13/2026, 09:43:32 UTC
Last updated: 07/14/2026, 04:51:40 UTC
Views: 6
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.