Malware in @mistralai/mistralai
Date: 2026-05
Affected: npm/@mistralai/mistralai, npm/@mistralai/mistralai, npm/@mistralai/mistralai
Attack vector: malware
Category: threat-report
Severity: Critical
CWE: CWE-506

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.


Mitigations:

Architectural layers (MAESTRO):