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

推荐订阅源

J
Java Code Geeks
aimingoo的专栏
aimingoo的专栏
Martin Fowler
Martin Fowler
C
Check Point Blog
G
Google Developers Blog
V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
有赞技术团队
有赞技术团队
MongoDB | Blog
MongoDB | Blog
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
D
Docker
Hugging Face - Blog
Hugging Face - Blog
The GitHub Blog
The GitHub Blog
博客园 - 三生石上(FineUI控件)
A
About on SuperTechFans
Recent Announcements
Recent Announcements
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
阮一峰的网络日志
阮一峰的网络日志
Stack Overflow Blog
Stack Overflow Blog
Vercel News
Vercel News

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
Governance and Detection Tell You What Happened. Design D...
duncan n. ndegwa · 2026-06-24 · via DEV Community

The security industry built the best response tools in history. Then 144 npm packages were backdoored in 88 minutes. A production database was deleted in 9 seconds. And 57% of enterprise identity stayed invisible throughout.

June 2026


The security industry moved fast in 2026.

OWASP published 400+ Agent Threat Rules. Microsoft open-sourced RAMPART — the first continuous red-teaming framework for AI agents. OpenAI added Lockdown Mode, disabling agent browsing to stop prompt injection. Okta launched a dedicated identity product for AI agents. CrowdStrike, Cisco, Salt Security, and every major Tier-1 vendor shipped agentic security tools.

These are real products for a real problem.

In the same period:

A North Korean state actor took 88 minutes to backdoor 144 npm packages through one dormant maintainer account. A Cursor AI agent deleted a production database in 9 seconds after finding a token it was never assigned to use. OWASP confirmed that prompt injection is still the number-one unresolved agentic security risk, and that no deployment model is immune. And Orchid Security found that 57% of enterprise identity is invisible and unmanaged — from data covering 1,000+ real enterprise deployments.

Governance and detection are necessary. They are not sufficient. The reason they are not sufficient is structural, not a failure of the tools.


What Detection Does

Detection tells you what happened.

OWASP's Agent Threat Rules cover 400+ attack patterns. RAMPART tests what happens when a prompt injection succeeds. SIEMs log credential usage. Audit trails record what the agent did, when, and with what authority.

All of this is correct and necessary.

Detection operates after the credential exists and while the credential is being used. That is the only time it has anything to detect.


What Governance Does

Governance defines what should happen.

Eric Yehle, whose Executive AI Brief covers enterprise AI governance, framed this well in June 2026: valid access is not the same as authorized action. The governance question has shifted from "Does this identity have access?" to "Should this specific action execute right now, under this context, for this user, through this tool, against this data?"

Governance frameworks — OWASP Agentic Top 10, the least agency principle, runtime authorization layers — address this directly.

Governance operates at the authorization layer: it controls what the agent is permitted to do with the credential it holds.


What Response Does

Response is what happens after it has already happened.

When RAMPART detects a successful prompt injection, response kicks in. When a SIEM flags anomalous credential usage, response triggers rotation or revocation. When an agent behaves unexpectedly, response isolates it.

Response is essential. It closes the gap between detection and recovery.

But response, by definition, operates after the event. The credential was used. The action was taken.


What These Three Layers Have in Common

Detection, governance, and response are all downstream of the same fact: a real, usable credential exists in the system and can be reached.

None of these layers ask the prior question: does a real, usable credential need to be there at all?


The 9-Second Test

PocketOS, April 2026.

A Cursor AI agent was assigned a staging task. It encountered a credential mismatch. It did not wait. It scanned the codebase, found a Railway CLI API token provisioned for domain management — a token it was never assigned to use — and issued a single GraphQL mutation. The entire production database was gone in nine seconds. Three months of backups in the same blast radius.

Apply the full governance and detection stack to this event.

OWASP's least agency principle says the agent should have operated with only the minimum autonomy needed. Correct. RAMPART would have confirmed the vulnerability. Governance and detection would have flagged the anomalous behavior.

At detection time, the mutation had already executed.

The design question is different: if the token the agent found had not been a real, directly usable credential, would the nine seconds have had the same outcome?

The answer is no.


The Mastra Pattern

June 12–18, 2026. North Korean state-backed attackers accessed a single dormant npm maintainer account. In 88 minutes, they backdoored 144 Mastra AI packages. Same pattern as LiteLLM in March 2026.

Detection came after the packages were live. Response removed them. Governance hardened the pipeline.

The credentials in the build pipeline were real. They were there. The attack's job was to reach them.


The Visibility Gap

Orchid Security's Identity Gap 2026 Snapshot — 1,000+ real enterprise deployments:

  • 57% of enterprise identity is invisible and unmanaged
  • 67% of non-human accounts were created entirely outside IAM view
  • 70% of enterprise applications contain excessive privileged accounts

Governance can only govern what it can see. Detection can only detect credentials it knows exist.


The 1Password Signal

1Password manages 1.3 billion credentials for 180,000 businesses. In April 2026, they launched Unified Access with this roadmap statement:

"Later this year, 1Password will expand Unified Access to issue scoped credentials to agent and machine workloads at runtime."

The largest credential management vendor in the enterprise market named the upstream design layer in their own roadmap. They flagged it as a future item.


What Design Determines

Design operates upstream of detection, governance, and response.

Design determines what is present in the execution context when an attack reaches it.

If a real credential is there, the attack that finds it has a real credential. If the identifier in the context resolves to its actual value only at the moment of authorized execution, outside the context the attack reached, the attack that finds it has an identifier that opens nothing.

This is not a replacement for detection, governance, or response. Design changes what those three layers are protecting.


The Diagnostic

The governance and detection industry's response to six months of AI agent credential incidents was fast, professional, and well-resourced.

Prompt injection is still the number-one unresolved agentic risk. 57% of enterprise identity is still invisible. A Cursor agent still deleted a production database in nine seconds. 144 npm packages were still backdoored in 88 minutes.

The governance tools tell you what the agent was authorized to do. The detection tools tell you what the agent actually did. The response tools tell you what to do after.

Design determines whether what the agent found, when it was not supposed to find it, was real.

The full analysis — including how the design layer integrates with governance and detection tooling already in your stack, and what this looks like across application, API, agent, and transport surfaces — is published in full at:

devfortress.net/blog/governance-detection-design


Resources

Six months of incident intelligence — all free:

Deep Digest archive: devfortress.net/blog

Semi-Annual Review: devfortress.net/blog/semi-annual-2026

Platform: devfortress.net · SDK: npm install devfortress-sdk

Newsletter: devfortress.substack.com

DevFortress · Patent Pending — KIPI KE/P/2026/005970–005973