MSC-2025-7667
August 27, 2025
This package version was compromise to include malicious code. This version contains a post-install script that executes on Linux and macOS systems, harvesting sensitive files including cryptocurrency wallets, SSH keys, environment variables, and authentication tokens for GitHub and npm. The malware leveraged local AI CLI tools to expand its reach and exfiltrated collected data to public GitHub repositories. Additionally, it appended shutdown commands to shell configuration files, causing denial-of-service on affected systems.
If you accidently installed this package version we recommend following the next steps:
• Remove all compromised Nx package versions and update to the latest safe version 21.5.0-canary.20250826-af44608
• Immediately rotate all credentials: GitHub, npm, SSH keys, API keys, and cryptocurrency wallets.
• Audit GitHub accounts for unauthorized repositories and access.
• Restore shell configuration files (`~/.bashrc`, `~/.zshrc`) to remove malicious entries.
Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
ATTACKED
CVSS v3
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Exploit Maturity
HIGH
Weakness Type (CWE)
Exposure of Sensitive Information to an Unauthorized Actor