Live deskGrade A1 of 5 sources countedReviewed 2026-11-17Record 58 of 692 fiction theoriesv1.3.1
Archive › Case 14

Mistral AI SDK packages compromised in the TanStack / Mini Shai-Hulud supply-chain attack

2026-05-12Mistral AI (npm and PyPI SDKs)Supply-chain incidentGrade A · Primary-confirmedDocumented caseReviewed: 2026-11-17

Mistral confirmed that compromised packages in the TanStack-related Mini Shai-Hulud campaign reached Mistral SDK distribution. A short-lived PyPI release is part of the record because downstream installs and caches can preserve exposure after registry removal.

Grade A · Primary-confirmed. Established by TanStack supply chain attack affecting Mistral SDK packages (MAI-2026-002) (primary: vendor; read via excerpt).

An authoritative primary disclosure that we read (vendor advisory, CVE/GHSA record, or the researcher's own publication) establishes the central incident claim. It does not mean every technical detail is known. Date basis: Mistral advisory date. The wider campaign was already underway.

Scope and research status

Fully researched. Mistral’s first-party advisory documents affected releases and its response. Global downstream credential misuse cannot be inferred from package publication.

Affected consumers include teams that installed the versions identified in MAI-2026-002. npm and PyPI have distinct affected packages, versions and execution conditions. The vendor advisory records remediation and investigation closure.

Confirmed by a primary source

  • Mistral identifies affected SDK versions on npm and PyPI, including mistralai 2.4.6, and advises operators to rotate secrets accessible from affected systems.1

Competing hypotheses

01 · This was downstream propagation of the broader campaignSupported

The vendor linked its compromised packages to the TanStack supply-chain incident.

That explains the distribution context, with downstream misuse still host-specific.

02 · Mirrors and build caches extended the exposure windowConditional

Artifacts can survive registry removal inside local environments.

No public inventory quantifies which caches served the affected versions.

What would change the assessment?

Install records, cache provenance and credential-use logs can narrow which organizations experienced access beyond package availability.

Timeline

  1. Mistral published MAI-2026-002 and updated its assessment of affected npm packages.1
  2. Mistral recorded the incident as mitigated.1
  3. Mistral published additional information and closed its investigation.1

Technical breakdown

The package registry made a compromised artifact available under a trusted dependency name. The boundary crossed when a downstream environment used that artifact with access to developer or CI secrets. Version, artifact provenance and runtime history matter to scope.1

MITRE ATT&CK

Robot Brain commentary

Editorial interpretation

A library can reach far more privileged locations than the product whose API it wraps. CI workers often hold package release credentials, cloud identity and code-write permissions at the same time. Inventory the environments that consumed the dependency before judging exposure by how long the package was visible.

What this suggests for defenders

Editorial reading of the facts above, not an instruction from the vendor unless it says so.

  • Search deployment and build evidence for the exact package versions in MAI-2026-002. Remove compromised artifacts from caches, rebuild affected environments and rotate identities accessible there.

Sources

Numbers in the text refer to this list. Sources marked “Not read” include retained historical references we could not verify in this pass. Only sources supporting the central claim contribute to the grade.

  1. TanStack supply chain attack affecting Mistral SDK packages (MAI-2026-002) ↗
    Mistral AI · 2026-05-12 · checked 2026-11-17Primary: vendorRead via excerptCounts toward the grade
  2. Mass Supply Chain Attack Hits TanStack, Mistral AI npm and PyPI Packages ↗
    SafeDep · 2026-05-12 · checked 2026-11-17AnalysisRead via excerptBackground or duplicate evidenceSecondary coverage of the campaign. Mistral provides the scope for its own packages.
  3. Mistral AI SDK, TanStack Router hit in npm software supply chain attack ↗
    InfoWorld · 2026-05-12 · checked 2026-11-17News reportRead via excerptBackground or duplicate evidenceSecondary coverage of the campaign. Mistral provides the scope for its own packages.
  4. Mini Shai-Hulud: Signed npm Worm Targets AI Developer Supply Chain ↗
    Cloud Security Alliance · 2026-05-14 · checked 2026-11-17AnalysisRead via excerptBackground or duplicate evidenceBackground analysis on the broader incident.
  5. mistralai PyPI compromise ↗
    Root.io · publication date not stated · checked 2026-11-17AnalysisNot readDoes not count: not readThe historical report URL currently redirects to a generic product page. Not used for this investigation.
FICTION / SPECULATION The Robot’s Crazy Conspiracies
FICTIONAL THOUGHT EXPERIMENTS. They are not reporting, evidence, attribution or a likelihood estimate about this incident or any company or person.
The Registry Succession Crisis

An imaginary SDK increments its patch number and immediately inherits a castle full of ceremonial keys.

Index entry ↗
The Mirror Refuses to Forget

A package mirror journals every release. It keeps publishing memoirs from books the library already recalled.

Index entry ↗

Browse every fiction theory, filed by incident →

Corrections & updates

  • 2026-11-17 · v1.0 dated this record 2026-05-18 (a later advisory-database date) and cited only an aggregator. The first public disclosure and Mistral's own advisory are dated 2026-05-12; the record is re-dated and re-sourced in v1.1 research pass, 2026-11-17.

Revision history

· Tied the affected release and response to Mistral’s advisory and scoped consequences by consuming environment.

Editorial record

Compiled by the controllessAI research desk with AI assistance from public sources, checked 2026-11-17. Publication editors: Justin Liles and Nayra Salamanca.

Reader comments

Share a source, question, or correction. The editorial team reviews comments before publication.