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

推荐订阅源

Engineering at Meta
Engineering at Meta
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
腾讯CDC
宝玉的分享
宝玉的分享
量子位
Recent Announcements
Recent Announcements
Martin Fowler
Martin Fowler
J
Java Code Geeks
V
Visual Studio Blog
阮一峰的网络日志
阮一峰的网络日志
Blog — PlanetScale
Blog — PlanetScale
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
S
SegmentFault 最新的问题
B
Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 【当耐特】
小众软件
小众软件
The Cloudflare Blog
Y
Y Combinator Blog
I
InfoQ
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
IT之家
IT之家

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
Your Agents Need a Security Boundary. Heres Why Its Becom...
Paul Twist · 2026-06-25 · via DEV Community

I got pinged last week by an engineer deploying agents across their team. They'd built a smart customer-service agent that pulled from their CRM, updated account records, and sent follow-up emails. It worked great in testing. By day three in production, someone had realized the agent could delete customer records. Not "might be able to if conditions aligned." Could. Deliberately. They had to emergency-disable it.

This is not an edge case anymore. It's the production default.

The agent permission problem

Here's what makes agent governance different from traditional API access: agent execution is indirect and multiplicative.

When a human requests an API token, you know the scope: "read customer records" or "send email." Clear boundary.

When an agent runs, it makes dozens of decisions in sequence: fetch context, call a tool, evaluate the result, call another tool, loop. Each tool invocation is a permission check. If you're not checking at each step, you're assuming the agent will reason itself into staying in bounds.

That's not infrastructure. That's hope.

The gap is structural. OAuth scopes and IAM roles control which services an agent can reach. They don't control what it does once connected. An agent with access to DeleteCustomer API will delete customers if the workflow asks it to, even if that wasn't the intended behavior.

In multi-agent systems, five agents might share a single API key. When something goes wrong, "an agent did it" is not an incident response.

What changed this month

In June 2026, three things converged:

Regulatory tightened. The EU AI Act's high-risk obligations activate August 2, 2026—71 days from now. Colorado's AI Act became enforceable June 30. These aren't suggestions anymore; they're legal requirements. Article 14 requires that high-risk AI systems be designed for 'effective oversight by natural persons.' For agent systems, every agent identity, every tool API key, and every sub-agent token must be governed under least-privilege principles.

The industry named the risks. OWASP published the Top 10 for Agentic Applications in December 2025, the first formal taxonomy of risks specific to autonomous AI agents: goal hijacking, tool misuse, identity abuse, memory poisoning, cascading failures, and rogue agents. That taxonomy landed like a blueprint. Teams finally had a language for what they were already terrified of.

The cost of a breach became concrete. Shadow AI—agents deployed without central review—costs an average of $670,000 more than standard incidents, driven by delayed detection and difficulty scoping the exposure. Only 24.4% of organizations have full visibility into which AI agents are communicating with each other. That's not acceptable to CFOs or boards.

The production reality

I talked to three infrastructure teams last month, all shipping agents. None of them said "we're evaluating governance." All three said "we're implementing it now because we have to."

Here's what they're building:

Identity per agent. Not per team. Per agent. This means when agent-X tries to access a tool, the system knows it's agent-X, not "someone with a shared API key." You can audit agent behavior. You can revoke it. You can correlate decisions back to a specific agent.

Tool allowlisting at the invocation layer. An agent might have access to query_database, but when it tries to execute a query, the system verifies: "Is this specific query allowed?" Not "does this agent have database access in general?" The distinction matters because agents are creative about finding edge cases.

Execution sandboxing. The agent can try anything, but the sandbox limits what actually executes. Key approaches include container isolation with restricted filesystem and network access, API governance with rate limiting and scope restrictions, and input sanitization to prevent prompt injection.

Tamper-evident audit trails. Auditors need deterministic, enforceable records of every decision: what policy was active, what the agent requested, and why it was allowed or denied. This isn't optional for regulated industries. It's also becoming table-stakes for any team that wants to understand what their agents actually did when something breaks.

Human escalation for consequential actions. Human-in-the-loop checkpoints are intentional pause points where a human can review what an agent is about to do. If an agent is about to send a message to 10,000 customers, that gets reviewed. If it's about to modify billing records, that gets reviewed. The bar moves based on blast radius, not on whether you "trust" the agent.

How to think about this

Governance doesn't mean agents are locked in a box. It means you're building systems where agents can be productive and you can explain what happened when they weren't.

Three questions to ask about your agent infrastructure:

1. Can I revoke agent access to a specific tool without redeploying anything?
If the answer is "I have to rebuild the agent definition," you don't have governance. You have a deployment artifact.

2. If an agent tries to do something it shouldn't, will it be blocked at the tool invocation layer?
If the answer is "it depends on how well the agent reasons," you're relying on the model, not on infrastructure. The model will disappoint you eventually.

3. Can I point to a complete audit trail and explain exactly what an agent did and why it was allowed?
If the answer is "I have logs somewhere," you don't have audit trails. You have forensics.

The infrastructure pattern

Production teams are converging on this architecture:

Control plane (manages agent identity, policy, sessions): Defines who agents are. Assigns permissions. Enforces policy at runtime. Keeps audit trails. Handles human escalation.

Data plane (routes tool calls fast): Executes the approved action. Returns the result. Stays out of policy decisions.

The control plane doesn't need to be fast. It needs to be bulletproof. The data plane doesn't need to be smart. It needs to be reliable.

This split is crucial because governance and speed have competing requirements. A system trying to do both usually does neither well.

If you're building agent systems at scale, your control plane needs to handle: per-agent identity, tool allowlisting with rule depth, runtime policy enforcement, human escalation, and audit logging. Most teams build this ad-hoc. Some use infrastructure designed for it.

LiteLLM Agent Platform provides this control plane layer: multi-tenant isolation, per-agent identity, session persistence, policy enforcement at the agent level, and audit trails. If you're running agents across multiple runtimes (OpenCode, Claude Managed Agents, Cursor, custom), you need centralized governance that abstracts the runtime differences away.

What's next

August 2, 2026 is the hard deadline for EU AI Act compliance. Between now and then, teams in regulated industries—finance, healthcare, government—are implementing governance fast.

For teams outside regulated industries, the business case is simpler: do you want agents that generate business value, or do you want agents that generate incidents you can't explain?

The good news: governance infrastructure is becoming table-stakes. The bad news: it's becoming table-stakes right now.

If you're shipping agents without a clear answer to those three questions above, start there. The infrastructure will follow.