Skip to content
CriticalVulnerabilityLLM-specific

MAL-2026-3432: Malicious code in @mistralai/mistralai (npm)

Published
Record updated
View JSON
Affected
  • @mistralai/mistralai = 2.2.4, = 2.2.3, = 2.2.2
Fixed in
No fixed version was stated when the source was last read.

Summary

The npm package @mistralai/mistralai was found to contain malicious code. It was compromised as part of the "Mini Shai-Hulud is back" worm by the TeamPCP threat actor. The package steals credentials, propagates to every package it has access to, and attempts to remain persistent.

Mitigation

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 removal may not eliminate all malicious software resulting from installing it.