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

推荐订阅源

Stack Overflow Blog
Stack Overflow Blog
博客园 - Franky
MyScale Blog
MyScale Blog
Jina AI
Jina AI
B
Blog
Microsoft Security Blog
Microsoft Security Blog
T
Troy Hunt's Blog
博客园_首页
T
Threatpost
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
Lohrmann on Cybersecurity
GbyAI
GbyAI
T
Tenable Blog
B
Blog RSS Feed
S
Securelist
T
Threat Research - Cisco Blogs
P
Privacy International News Feed
P
Proofpoint News Feed
T
The Exploit Database - CXSecurity.com
H
Hackread – Cybersecurity News, Data Breaches, AI and More
量子位
博客园 - 三生石上(FineUI控件)
大猫的无限游戏
大猫的无限游戏
雷峰网
雷峰网
C
CXSECURITY Database RSS Feed - CXSecurity.com
罗磊的独立博客
AWS News Blog
AWS News Blog
V
V2EX
宝玉的分享
宝玉的分享
J
Java Code Geeks
小众软件
小众软件
Spread Privacy
Spread Privacy
腾讯CDC
Google Online Security Blog
Google Online Security Blog
月光博客
月光博客
V
Visual Studio Blog
The Hacker News
The Hacker News
C
CERT Recently Published Vulnerability Notes
Project Zero
Project Zero
Know Your Adversary
Know Your Adversary
T
The Blog of Author Tim Ferriss
Last Week in AI
Last Week in AI
Apple Machine Learning Research
Apple Machine Learning Research
NISL@THU
NISL@THU
C
Check Point Blog
Webroot Blog
Webroot Blog
D
DataBreaches.Net
Cloudbric
Cloudbric
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
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 Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
The New OAuth Problem Is Agent Delegation
Maninderpree · 2026-05-04 · via DEV Community

Enterprise identity used to have a fairly stable center of gravity.

A user authenticated. An application received a token. The token carried scopes or claims. The backend enforced what that application was allowed to do.

That model was never trivial, but it was legible.

Agents are making it less so.

An AI agent is not just another software client. It can plan, delegate, chain tools, invoke other agents, operate over time, and make decisions inside partially autonomous loops. It may act on behalf of a user in one moment, on behalf of a service in the next, and through a brokered protocol hop after that. It may hold authority briefly, derive narrower authority for a subtask, or preserve more authority than anyone intended.

That is why the emerging identity problem in AI is not simply authentication.

It is delegation.

More specifically, it is the combined problem of agent identity, delegated authority, and protocol trust.

That is where the next serious access-control failures are likely to come from.

Why classic OAuth thinking starts to strain

OAuth was built for an important but narrower question:

How can one application access a resource on behalf of a user, under bounded consent?

That question still matters. It is just no longer enough.

Agents introduce harder questions:

  • Is this agent acting as the user, for the user, or instead of the user?
  • Can the agent delegate part of its authority to another agent or tool?
  • If it does, what exactly is supposed to survive that delegation?
  • Can the delegated authority be narrowed but never expanded?
  • Can the user revoke the whole chain later?
  • Can a relying service tell whether this request came from a human, a first-party agent, or a third-party delegated sub-agent?

Traditional OAuth patterns do not disappear here, but they begin to strain because the delegated actor is no longer a passive software client. It is a reasoning system with workflow freedom.

That changes the trust problem.

The real issue is not "who are you?"

Identity conversations often begin with a familiar question:

Who is making this request?

That remains necessary, but in agent systems it is no longer sufficient.

The more important question is:

Whose authority is being exercised right now, under what limits, and through how many hops?

That is a different class of problem.

An agent may be authenticated correctly and still be dangerously over-authorized. It may be a valid agent with an invalid delegation chain. It may hold a token that proves origin without proving the action is appropriate. It may invoke a second agent that inherits too much context or too much scope. It may call a tool with what looks like user authority even though the user never meant to authorize that specific kind of step.

In other words, authentication is table stakes. Delegation semantics are where the hard failures live.

Agents turn authority into a chain, not a session

This is the architectural shift that matters most.

Classic application auth often centers on a session or token grant between a user, a client, and a resource server.

Agent systems create authority chains:

user intent
  → primary agent
    → tool call or protocol broker
      → secondary agent
        → downstream API
          → side effect in an external system

Enter fullscreen mode Exit fullscreen mode

Every hop raises new questions:

  • Did the original user intend this exact step?
  • Was the authority narrowed or preserved?
  • Did the downstream system verify the chain or just trust the immediate caller?
  • Can the second agent prove what it is allowed to do versus what it merely can do?
  • If something goes wrong, who is accountable for the action?

The more agentic the workflow becomes, the less useful it is to think in terms of one flat access token floating around the system.

The dangerous default: delegation without attenuation

This is where the next wave of poor security design is likely to show up.

Many teams will correctly recognize that agents need to call tools and other services. They will wire up tokens, API keys, service accounts, or on-behalf-of flows and consider the problem solved.

But the real danger is not delegation by itself.

It is delegation without attenuation.

Meaning:

  • the child agent gets as much authority as the parent
  • the tool receives a broad token instead of a task-specific one
  • the scope does not shrink as the chain gets longer
  • argument-level limits are not preserved
  • the downstream service cannot tell whether the user approved this exact action

That is how agent delegation becomes the new OAuth problem.

OAuth taught us that overly broad scopes and long-lived tokens create trouble. Agent systems add a new twist: authority can now move across reasoning systems that generate new subtasks on the fly.

If scope does not shrink as the chain expands, the system is effectively multiplying trust rather than routing it.

In AI systems, that risk is amplified by a property ordinary clients do not have: delegated authority is being handed to components that can be manipulated by language.

If a child agent holds a broad, unattenuated token and then processes malicious input, prompt injection stops being only a reasoning failure. It becomes an authorization failure. The attacker does not need to steal the token directly. They only need to steer the agent that already has it.

That is what makes over-delegation so much more urgent in agent systems than in ordinary software clients.

Protocol trust is now part of security, not plumbing

This is another area the industry still underestimates.

When agents talk to tools or other agents through emerging protocols, the protocol itself becomes part of the trust model.

Not because protocols are inherently unsafe, but because they define:

  • how identity is represented
  • how delegation is expressed
  • what provenance survives handoff
  • how consent is bound to action
  • whether scope restrictions remain machine-verifiable
  • what the receiver is allowed to assume about the caller

Protocol design is no longer just interoperability work. It is authorization design.

If the protocol does not clearly preserve identity, delegation depth, authority narrowing, and provenance, then every implementation ends up reconstructing trust from partial hints.

That is how systems become integrated without becoming defensible.

Four failures we are likely to see more of

1. The helpful agent with a service-account skeleton key

A company wants its internal agent to work reliably, so it grants backend service credentials with broad read and write access across several business systems. The user experience feels great because the agent rarely gets blocked.

But once the agent operates through a shared backend identity, the system starts collapsing user intent and service privilege into one bundle.

Now the question is no longer "can the user do this?" It becomes "can the agent backend do this?" Those are not the same thing.

2. The child agent that inherited too much

A primary agent hands work to a specialist agent for scheduling, procurement, code changes, legal lookup, or data retrieval. The child gets the same authority envelope as the parent because building a narrower one felt inconvenient.

That is classic over-delegation.

The user authorized a task. The architecture quietly authorized a whole class of adjacent actions.

3. The downstream API that trusted the last hop only

An external service receives a request from an agent broker or sub-agent and checks that the presented token is valid. What it does not verify is whether the full chain of delegation still matches the original user intent, whether the action exceeded the approved task boundary, or whether scope was meant to attenuate at each hop.

The request is authenticated.

The chain is still wrong.

4. The revocation problem nobody modeled

A user revokes consent, an approval expires, or the primary task is canceled. But delegated authority already propagated to a child agent, a queued job, or a downstream tool execution context.

Now the system has to answer a very uncomfortable question:

Did revocation actually follow the authority chain, or did it only update the front door?

Why agent identity is not just a naming problem

A lot of teams hear "agent identity" and think mainly about registration:

  • naming the agent
  • assigning a client ID
  • issuing credentials
  • deciding whether it is first-party or third-party

That matters, but it is not enough.

The deeper problem is that agent identity has to be meaningful in context.

The receiver needs to understand things like:

  • which agent this is
  • who authorized it
  • whether it is acting directly or through delegation
  • which task or intent boundary applies
  • what autonomy level is allowed
  • whether human approval was required upstream
  • whether any of those facts were transformed across hops

That is much richer than "this token belongs to client X."

The next design pattern will be proof-carrying delegation

The answer is not "invent one magic protocol and everything is solved."

But the direction is becoming clearer.

This work is not starting from zero. The broader security world already has useful building blocks for attenuated and delegable authority, even if AI systems have not applied them seriously enough yet.

Concepts like OAuth Token Exchange, Macaroons, and Biscuit tokens all point in the right direction. They are different tools, but they share an important idea: authority can be delegated with constraints, caveats, attenuation, and verifiable structure instead of being passed around as one broad bearer credential.

None of them is the complete answer for agent systems. Multi-agent planning, protocol handoff, prompt injection, and long delegation chains introduce additional problems. But they give builders a far better place to start than pretending agent authorization has to be invented from scratch.

Agent systems are going to need delegation artifacts that carry more proof than ordinary bearer access:

  • who the agent is
  • which human, service, or policy delegated authority
  • what exact task or capability is allowed
  • how much further delegation is permitted
  • whether the authority was narrowed at each hop
  • when the delegation expires
  • how revocation propagates
  • what audit evidence links the final action back to the original grant

That is the shape of a more trustworthy agent authorization model.

Not just a token that says "allowed," but a chain that says allowed by whom, for what, how far, and under which constraints.

What good looks like

A serious agent platform should treat delegation as a first-class control surface.

That means:

Short-lived, task-bound authority.
An agent should not carry broad reusable permission when a narrow, per-task grant would do.

Attenuating delegation.
Child agents and downstream tools should inherit less authority than the parent, not the same amount.

Explicit delegation depth.
If the system allows agent-to-agent handoff, it should define how many hops are allowed and what changes at each hop.

Machine-verifiable provenance.
The receiver should not have to trust narrative claims about who authorized the action. It should be able to verify them.

Cascade revocation.
When the root authority is withdrawn, dependent delegated grants should not keep drifting alive in queues, workers, or child agents.

Separation between user intent and service convenience.
A backend service account should not become a universal substitute for delegated user authority just because it is easier to implement.

The practical question for teams

If you are building an agent that calls tools, APIs, or other agents, ask this:

What is the maximum authority this agent can pass downstream, and can we prove that it shrinks rather than spreads?

That question exposes the real architecture quickly.

It forces you to inspect:

  • token exchange design
  • scope narrowing
  • tool-level constraints
  • delegation depth
  • revocation semantics
  • protocol assumptions
  • auditability of the full chain

If those answers are fuzzy, the identity layer is probably less mature than the demo suggests.

The next OAuth lesson is already here

Classic OAuth taught the industry a durable lesson: authorization is easy to get working and hard to get right.

Agents are reopening that lesson in a more complicated form.

Now the problem is not just application consent screens, bearer tokens, and API scopes.

It is delegated authority moving through reasoning systems, protocol hops, child agents, and external tools.

That is why this topic matters now.

The new identity problem in AI is not simply "how does the agent sign in?"

It is:

How do we make delegated agent authority narrow, provable, revocable, and trustworthy across the entire chain?

That is the new OAuth problem. And most teams are only beginning to discover it.