MAL-2026-2505: Malicious code in @aspect-security/argon2 (npm)
The npm package @aspect-security/argon2 contains malicious code that performs data exfiltration and arbitrary command execution via its preinstall script. Installing or running this package can lead to full system compromise. Removal of the package does not guarantee elimination of all malicious artifacts, and any secrets or keys on the affected system should be rotated immediately from a separate, uncompromised device.
AI Analysis
Technical Summary
The @aspect-security/argon2 npm package was identified as containing malicious code that executes arbitrary commands during its preinstall phase and exfiltrates data. This behavior effectively compromises any system where the package is installed or executed. Due to the nature of the compromise, attackers may gain persistent control beyond the presence of the package itself, necessitating comprehensive incident response including secret rotation and system remediation.
Potential Impact
Systems with this package installed or running are considered fully compromised. Attackers may have executed arbitrary commands and exfiltrated sensitive data. Secrets and keys stored on the compromised system are at risk and must be rotated. Removing the package alone does not ensure removal of all malicious components or backdoors introduced by the attacker.
Mitigation Recommendations
Remove the @aspect-security/argon2 package immediately. Rotate all secrets and keys from a separate, trusted system. Conduct a thorough investigation and remediation of the affected system to identify and remove any additional malicious software or backdoors. There is no official patch or fix for this malicious package; remediation relies on removal and incident response.
MAL-2026-2505: Malicious code in @aspect-security/argon2 (npm)
Description
The npm package @aspect-security/argon2 contains malicious code that performs data exfiltration and arbitrary command execution via its preinstall script. Installing or running this package can lead to full system compromise. Removal of the package does not guarantee elimination of all malicious artifacts, and any secrets or keys on the affected system should be rotated immediately from a separate, uncompromised device.
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 @aspect-security/argon2 npm package was identified as containing malicious code that executes arbitrary commands during its preinstall phase and exfiltrates data. This behavior effectively compromises any system where the package is installed or executed. Due to the nature of the compromise, attackers may gain persistent control beyond the presence of the package itself, necessitating comprehensive incident response including secret rotation and system remediation.
Potential Impact
Systems with this package installed or running are considered fully compromised. Attackers may have executed arbitrary commands and exfiltrated sensitive data. Secrets and keys stored on the compromised system are at risk and must be rotated. Removing the package alone does not ensure removal of all malicious components or backdoors introduced by the attacker.
Mitigation Recommendations
Remove the @aspect-security/argon2 package immediately. Rotate all secrets and keys from a separate, trusted system. Conduct a thorough investigation and remediation of the affected system to identify and remove any additional malicious software or backdoors. There is no official patch or fix for this malicious package; remediation relies on removal and incident response.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-2505
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-4fc4-v9cp-846x"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4e4f19c9d9e3dbe328ec71
Added to database: 07/08/2026, 13:22:33 UTC
Last enriched: 07/08/2026, 13:55:58 UTC
Last updated: 07/08/2026, 15:04:18 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.