惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
小众软件
小众软件
D
Docker
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
V
V2EX
博客园 - 叶小钗
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
IT之家
IT之家
博客园 - 司徒正美
M
MIT News - Artificial intelligence
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
罗磊的独立博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LangChain Blog
阮一峰的网络日志
阮一峰的网络日志
C
Check Point Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Supply Chain Attacks + Stale Credentials: Why This Combin...
Ali-Funk · 2026-05-24 · via DEV Community

Recent incidents at GitHub and Grafana Labs highlight a painful truth in modern infrastructure: even strong perimeter defenses can fail completely when credential management is neglected.

What Happened ?

A supply chain attack through compromised TanStack npm packages led to the breach of over 3,800 internal GitHub repositories via a malicious VS Code extension. Shortly after, Grafana Labs disclosed that attackers stole their source code because a single GitHub token was missed during emergency rotation.

Two separate incidents. Same underlying problem.

The Core Lesson

Human memory is not a valid security strategy.
From my eight years of hands-on experience in IT infrastructure and administration, I’ve seen this pattern too many times. Teams invest heavily in firewalls, segmentation, and threat detection, yet basic credential hygiene.Especially secret rotation and least privilege — is often treated as an afterthought.

Why This Combination Is So Dangerous

When a supply chain attack meets stale credentials, the impact multiplies:

  • Attackers don’t need to crack passwords anymore. They simply abuse existing, trusted tokens.

  • A single missed token during rotation can give attackers long-term access to critical systems.

  • Compromised dependencies (like npm packages or VS Code extensions) act as silent entry points.

This is no longer theoretical. It’s the new normal in cloud-native and DevOps-heavy environments.

Practical Strategies for 2026

To defend against this threat, organizations need to move from reactive patching to architectural resilience:

Implement automated secret rotation

Credentials should expire by default. Automation removes human error from the equation.

  1. Enforce strict least privilege
  2. CI/CD tokens and service accounts should only have the minimum permissions required and nothing more.
  3. Treat every third-party dependency as untrusted
  4. Continuous scanning and monitoring of npm packages, VS Code extensions, and other tools must become standard.
  5. Design systems that survive human error
  6. Assume credentials will eventually leak.

Build architectures with strong segmentation, just-in-time access, and rapid detection of anomalous behavior.

Final Thoughts

In 2026, strong security is no longer just about blocking attacks from the outside.

It’s about designing systems that can survive inevitable compromises and human mistakes.

The combination of supply chain attacks and stale credentials is particularly dangerous because it exploits both trust in the ecosystem and gaps in our own processes.

How is your team handling secret rotation and supply chain security today?

Sources:

BleepingComputer:
GitHub confirms breach of 3,800 repos via malicious VS Code extension
https://www.bleepingcomputer.com/news/security/github-confirms-breach-of-3-800-repos-via-malicious-vscode-extension/

BleepingComputer: Grafana says stolen GitHub token let hackers steal codebase
https://www.bleepingcomputer.com/news/security/grafana-says-stolen-github-token-let-hackers-steal-codebase/

The Hacker News / Unit 42: TanStack npm supply chain attack analysis
https://unit42.paloaltonetworks.com/monitoring-npm-supply-chain-attacks/