The 20-Minute Compromise: CI/CD Audit Guide and Substrate Governance Analysis of the TanStack Supply Chain Attack

The Attack and Its Governance Lesson The TanStack NPM supply chain attack compromised 84 package versions across 42 packages in approximately 20 minutes. The attack chain was: pull_request_target misconfiguration → build cache poisoning → OIDC token extraction from runner process memory → authenticated publication of malicious packages. The attack succeeded not because authentication failed, but because the build cache was operating as an ungoverned substrate participant. OIDC authentication was working correctly throughout. The token was valid. The workload was authenticated. The authorization was granted. Everything the Workload Identity Federation model was designed to protect was functioning as intended. OIDC authentication governs who can write to the cache. It does not govern the lineage integrity of what the cache contains. The build cache is a substrate participant—it receives artifacts from trusted processes and feeds them back into subsequent builds without re-verification. When the cache lineage is broken, every downstream build inherits the compromise invisibly. This guide provides a three-part audit framework for detecting and hardening against this exact attack chain, followed by the substrate governance analysis that explains why OIDC alone cannot prevent it.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-05-12
DOI
https://doi.org/10.5281/zenodo.20146738
Primary Topic
Security and Verification in Computing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The 20-Minute Compromise: CI/CD Audit Guide and Substrate Governance Analysis of the TanStack Supply Chain Attack

Narnaiezzsshaa Truong
Zenodo (CERN European Organization for Nuclear Research)
Security and Verification in Computing
article

The 20-Minute Compromise: CI/CD Audit Guide and Substrate Governance Analysis of the TanStack Supply Chain Attack

Narnaiezzsshaa Truong
article en

Abstract

The Attack and Its Governance Lesson The TanStack NPM supply chain attack compromised 84 package versions across 42 packages in approximately 20 minutes. The attack chain was: pull_request_target misconfiguration → build cache poisoning → OIDC token extraction from runner process memory → authenticated publication of malicious packages. The attack succeeded not because authentication failed, but because the build cache was operating as an ungoverned substrate participant. OIDC authentication was working correctly throughout. The token was valid. The workload was authenticated. The authorization was granted. Everything the Workload Identity Federation model was designed to protect was functioning as intended. OIDC authentication governs who can write to the cache. It does not govern the lineage integrity of what the cache contains. The build cache is a substrate participant—it receives artifacts from trusted processes and feeds them back into subsequent builds without re-verification. When the cache lineage is broken, every downstream build inherits the compromise invisibly. This guide provides a three-part audit framework for detecting and hardening against this exact attack chain, followed by the substrate governance analysis that explains why OIDC alone cannot prevent it.

Zenodo (CERN European Organization for Nuclear Research)
American Rock Mechanics Association (US)
Peace, Justice and strong institutions
Openalex Percentile: Top 4%
Security and Verification in Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

The 20-Minute Compromise: CI/CD Audit Guide and Substrate Governance Analysis of the TanStack Supply Chain Attack — Narnaiezzsshaa Truong · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS