DevFortress — The 2026 AI Agent Credential Crisis: 28M Secrets, 200K Vulnerable Servers

AI relevance: AI coding agents inherit full developer environments — AWS keys, SSH sockets, API tokens — and the MCP transport architecture every major tool runs on allows configuration-file attackers to execute arbitrary shell commands on the host.

The Numbers

  • 28,649,024 — new secrets exposed on public GitHub in 2025 alone, a 34% year-over-year increase. The largest single-year jump in GitGuardian's five-year reporting history.
  • 64% — the percentage of credentials confirmed as leaked in 2022 that were still active and exploitable in January 2026. Four years after detection.
  • 200,000+ — vulnerable server instances affected by the OX Security MCP CVE cluster alone, across more than 10 named CVEs in a single disclosure.
  • 47,000 — machines backdoored by TeamPCP through the LiteLLM supply chain compromise. Time window: approximately 40 minutes on PyPI.
  • 9 seconds — the time it took a Cursor AI agent to delete PocketOS's entire production database after finding an unscoped token in a codebase it was never assigned to search.
  • 57% — the percentage of enterprise identity that is now invisible and unmanaged, per Orchid Security's Identity Gap 2026 Snapshot (1,000+ real enterprise deployments).
  • 51% — the percentage of developers who cite unauthorized API calls from AI agents as their number-one security concern (SQ Magazine, April 2026).
  • 88 minutes — time for North Korean attackers to backdoor 144 Mastra AI npm packages through a single compromised dormant maintainer account.

The Systemic Pattern

DevFortress's semi-annual digest (December 2025 – June 2026) is the first time these incidents have been read together. The picture is clear: the security industry built the governance layer (OWASP Top 10 for Agentic Applications, published December 2025) but nobody built the design layer.

The MCP STDIO transport — the architecture every major AI coding tool runs on top of — allows an attacker who can influence a configuration file to execute arbitrary shell commands on the host. This was demonstrated successfully on six live production systems. The vulnerability is not theoretical; it is the foundation of the entire agentic AI tooling ecosystem.

Key incidents in the timeline:

  • January 2026: Moltbook breach exposed 1.5M API tokens including Andrej Karpathy's OpenAI key, found via hardcoded Supabase key in client-side JavaScript.
  • January 2026: CVE-2026-25253 — the first CVE ever assigned to an agentic AI system (CVSS 8.8). One malicious link, browser connects to attacker WebSocket, transmits auth token in milliseconds. 42,000+ OpenClaw instances reachable on public internet; 93% running without authentication.
  • February 2026: ClawHavoc placed 341 confirmed malicious skills inside ClawHub. CrowdStrike CEO named it at RSAC 2026 as the first major AI agent supply chain attack.
  • February 2026: Check Point disclosed CVE-2025-59536 (CVSS 8.7) and CVE-2026-21852 in Claude Code — single environment variable in cloned repo could silently redirect developer's API key to attacker infrastructure before trust dialog appeared.
  • June 2026: Amazon Q Developer CVE-2026-12957/12958 — MCP configs auto-executed from .amazonq/mcp.json without consent, exposing AWS credentials.

Why It Matters

The crisis did not begin with an incident. It began with a framework gap. OWASP named the problems (ASI03: Identity and Privilege Abuse, ASI04: Agentic Supply Chain Vulnerabilities) and introduced the least agency principle. But the industry has not built the design-layer answer: how do you architect agents that operate with minimum autonomy while still being useful?

The credential exposure is compounding. 64% of leaked credentials remain active four years later. AI agents inherit full developer environments. The MCP transport assumes trusted configuration files. The result is a systemic over-privileging of autonomous systems that cannot distinguish between legitimate instructions and attacker-influenced configuration.

What to Do

  • Implement least-agency architecture: Agents should operate with only the minimum autonomy needed for bounded, safe tasks. No agent should inherit full developer credentials by default.
  • Audit MCP configurations: Inspect all .amazonq/mcp.json, CLAUDE.md, and similar config files in cloned repositories. Treat them as executable code.
  • Rotate credentials aggressively: If your API keys were leaked in 2022 and never rotated, they are likely still exploitable. Assume compromise.
  • Enforce workspace trust boundaries: AI coding tools must require explicit consent before loading MCP configs from workspace files. No silent auto-execution.
  • Monitor for unauthorized agent API calls: 51% of developers are concerned. Implement logging and alerting for agent-initiated API calls outside expected patterns.
  • Read the full digest: DevFortress's semi-annual report is the most comprehensive timeline of AI agent credential incidents available.

Sources