---
title: "Our response to the TanStack npm supply chain attack"
description: "Two OpenAI employee devices were compromised via the malicious TanStack npm package in the Mini Shai-Hulud supply chain attack, leading to credential-focused exfiltration from a limited set of internal repositories that held code-signing certificates for iOS, macOS and Windows apps."
url: "https://swe.quest/articles/our-response-to-the-tanstack-npm-supply-chain-attack-a4ee1bd194da9989"
canonical: "https://openai.com/index/our-response-to-the-tanstack-npm-supply-chain-attack"
source: "OpenAI"
published: "2026-05-13"
difficulty: "easy"
kind: "Incident"
reading_minutes: 6
tags: ["supply-chain-security","incident-response","javascript","ci-cd"]
---

# Our response to the TanStack npm supply chain attack

A post on [OpenAI](https://swe.quest/sources/openai.md), published 2026-05-13, 6 min read, Incident. Original: [https://openai.com/index/our-response-to-the-tanstack-npm-supply-chain-attack](https://openai.com/index/our-response-to-the-tanstack-npm-supply-chain-attack)

## Summary

Two OpenAI employee devices were compromised via the malicious TanStack npm package in the Mini Shai-Hulud supply chain attack, leading to credential-focused exfiltration from a limited set of internal repositories that held code-signing certificates for iOS, macOS and Windows apps. OpenAI isolated systems, revoked sessions, rotated credentials, blocked new notarizations with the old certificate, and is rotating signing certificates, which requires macOS users to update apps before the revocation deadline (extended to June 26, 2026). The affected devices had not yet received hardening controls rolled out after the Axios incident, including package manager minimumReleaseAge settings and provenance validation, which would have blocked the malicious package. No customer data, IP or signed malware was found.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Supply chain security](https://swe.quest/tags/supply-chain-security.md) (Security)
- [Incidents & postmortems](https://swe.quest/tags/incident-response.md) (Reliability & operations)
- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)

## Prerequisites

- npm package ecosystem
- code signing and notarization

## Keywords

TanStack, npm, Mini Shai-Hulud, macOS notarization, minimumReleaseAge, Codex

## Related posts

- [Our response to the Axios developer tool compromise](https://swe.quest/articles/our-response-to-the-axios-developer-tool-compromise-1553cdb638ce1a6b.md): OpenAI · 2026-04-10 · Medium · 5 min read · Supply chain security, CI/CD, Incidents & postmortems, JavaScript
  A GitHub Actions workflow in OpenAI's macOS app-signing pipeline downloaded and executed a malicious Axios 1.14.1 during the March 31, 2026 npm supply chain attack, exposing the code-signing certificate and notarization material for ChatGPT Desktop, Codex, Codex CLI and Atlas.
- [Defending Your Software Supply Chain: What Every Engineering Team Should Do Now](https://swe.quest/articles/defending-your-software-supply-chain-what-every-engineering-team-should-do-now-434c4d75b0885a00.md): Docker · 2026-04-02 · Medium · 9 min read · Supply chain security, CI/CD, Containers, AI agents
  Recent supply chain compromises (the axios npm hijack attributed to Lazarus Group, the TeamPCP campaign via Trivy's GitHub Action, Shai-Hulud, GlassWorm) share one root cause: implicit trust in mutable tags, broad long-lived tokens and unsandboxed runners.
- [Protecting your Supabase projects from npm supply chain attacks](https://swe.quest/articles/protecting-your-supabase-projects-from-npm-supply-chain-attacks-fac18687d5c6f3f1.md): Supabase · 2026-05-26 · Medium · 8 min read · Supply chain security, JavaScript, CI/CD, AI for coding
  npm supply chain attacks reach Supabase users through three common paths: maintainer compromise, typosquatting (including a real \`supabase-javascript\` package and AI-hallucinated names), and build pipeline compromise like the TanStack attack via \`pull\_request\_target\` and a poisoned Actions cache.
- [Coding Agent Horror Stories: The 29 Million Secret Problem](https://swe.quest/articles/coding-agent-horror-stories-the-29-million-secret-problem-7f5056c95d2769e4.md): Docker · 2026-07-28 · Medium · 12 min read · Supply chain security, AI for coding, Sandboxing & isolation, JavaScript, AI agents
  The s1ngularity supply-chain attack on the Nx npm package used a post-install script to find installed AI coding CLIs (Claude Code, Gemini CLI, Amazon Q) and invoke them with permission-bypass flags like --dangerously-skip-permissions, prompting the agent to inventory secrets across the home directory before exfiltrating them to public repos under the victim's GitHub account.
- [Open source security at Astral](https://swe.quest/articles/open-source-security-at-astral-4e24d0de3a4c872a.md): Astral · 2026-04-08 · Medium · 14 min read · Supply chain security, CI/CD, Security, Open source
  Astral secures Ruff, uv and ty against supply chain attacks with layered controls across CI/CD, repository settings, releases and dependencies.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
