Agentic AI permissions: A core problem
Spectra Assure Free Trial
Get your 14-day free trial of Spectra Assure for Software Supply Chain Security
Get Free TrialMore about Spectra Assure Free TrialKey takeaways
Itâs a conundrum for application security (AppSec) today: How do you square agentic-assisted development with the basic security principles that keep software trustworthy?
Chris Romeo, managing general partner at Kerr Ventures and a longtime AppSec authority, said that for security pros and AppSec veterans, itâs going to be tough to satisfactorily answer that fundamental trust question until development organizations appropriately address the agentic overprivileging problem.
âThese are the things that are keeping CISOs up at night right now. Ultimately, how do I know that an agent didnât push some malicious code or just bad wrong code into a production system?â
âChris Romeo
Romeo, who is investigating how Claude permissions work, said that when a coding agent can read from a repository, run a shell, install packages, open pull requests, call external services, and interact with production-adjacent systems, the prompt is not the security boundary; itâs the code for the agentâs permissions.
Hereâs why the overpermissioning problem exists, and why solving it is key to reining in agents.
[ Webinars: Mythos vs. Reality: Zero-Day Defense for Supply Chains | Autonomy, Not Autopilot: Get Real About the Agentic SOC ]
The root problem is that, whether in coding environments or elsewhere, AI agents are conferred permissions in a crude manner at best. In most cases, the agent just inherits the same privilege level of the user who spun it up. And that privilege gets handed down when agents spawn agents.
Identity pros have warned against this kind of permissions creep among humans for literally decades. And now itâs happening at machine speed and scope â and thepractice is even baked into how AI agent platforms are architected, Romeo said.
âI canât even launch a sub-agent from Claude'âs CLI with a different permission set than what the parent has.â
âChris Romeo
When the developer has tons of available access across various systems, the agent often does, too. Itâs even less transparent when the agent is configured within an already approved platform that never triggers a security review, said Jacob Krell, senior director of secure AI solutions and cybersecurity at Suzu Labs.
But the biggest problems happen when more than one agent or action is involved, he said. Modern developers often have many agents working at different tasks at once, sometimes swarms of them, and theyâre often spawning sub-agents to create complex workflows in the pursuit of a prompted goal.
âThe [shadow AI] gap widens when agents acquire credentials at runtime, spawn subagents, or chain actions across multiple systems in a single task. Every delegation step creates an identity your IAM system was never designed to track. Most organizations have no ownership model for agent identities and cannot trace an agentâs action back to the human who authorized it.â
âJacob Krell
Romeo said that another big issue he has found with how Claude permissions work is that much depends on trusting the sanctity of the endpoint on which a lot of the work is done, but thereâs no way to track the provenance or trustworthiness of skills loaded into the endpoint.
Anthropic recommends using agent management policy to lock files down, but even it admits thatâs not a security boundary, per se.
âThe challenge is, is [that lockdown policy] something you canât bypass in some way? Iâm not willing to stake my reputation on saying yes.â
âChris Romeo
Overpermissioning is a problem across all agentic use cases, not just coding. But as Romeo said, development use cases are some of the most consequential because of the outsized level of access most developers hold and the downstream impact to the software supply chain when an overpermissioned coding agent goes rogue or is subverted.
âGiven that we extend the privileges of the developer running an agent to the agent itself, the consequences of a misaligned or confused agent could be catastrophic. Stories are leaking out about agents removing databases or pushing to production, not maliciously, but due to a misinterpretation of instructions.â
âChris Romeo
The non-determinism and goal orientation of agents adds another wrinkle to the issue, said Romeo, adding that âagents will eat overprivileged software for lunchâ when theyâre on a mission to meet a promptâs objective.
Eric Capuano, director of SOC operations at Black Hills Information Security, cited the The OpenAI-Hugging Face incident as a prime example.
âA model given a testing goal went outside its lane, got into another companyâs systems, and the operators found out after the fact. That is an agent with too much access, too little scoping, and nobody watching the logs in real time. Every SOC has seen that exact failure with a human contractor or a misconfigured service account. The difference is speed and volume.â
âEric Capuano
Romeo said we eventually will need a true identity or identifier âjust to maintain sanityâ for how coding agents or other broader agents work.
âWe need traceability for both the person requesting the work, [whether] a developer or any other team member, and the agent performing it, with a system that authorizes requests. To gain traceability, a distinct and true identity is required for anything operating within the system.â
âChris Romeo
Thatâs the foundation, but itâs really just the start of what it will take to build out a trustworthy agent-forward coding environment, Romeo said. Each agentâs properties â model, tools, network routes, workspace, and execution policy â need to be combined with identity and credential information to form a real control plane. Getting visibility into every aspect is key, he said.
Michael Bargury, CTO at Zenity, said this is the direction that many AI security experts are taking with control suggestions. But he warned against placing too much confidence in identity security alone to solve the problem of agentsâ goal orientation. Thatâs because agents will find ways to escalate privileges, rewrite themselves, and change their tools and skills on the fly.
âWhen youâre trying to secure agents, itâs all about runtime. Security engineering traditionally is first and foremost about the right architecture, the right identity, the right network segmentation. The problem is that agents will just mishmash all of that together.â
âMichael Bargury
Solutions are still very much in the early phases, but Bargury said heâs especially keen on the open-source work being done now on the Agent Control Standard (ACS), which defines how agent platforms can expose middleware hooks to make it possible to evaluate each agent decision point against policies. This can lay the foundation for observability, better agent bills of materials, and methods to guide the agent into secure behaviors.
OpenAI's recent post-mortem report on the Hugging Face incident includes a warning that truly effective guardrails must be devised and implemented in the age of frontier AI models.
OpenAI analyzed the incident, which occurred during cybersecurity evaluations of several OpenAI models, driven primarily by a highly capable, internal-only research model comparable in scale to GPT-5.6 Sol, one of the companyâs flagship models.
Operating under reduced safeguards, the models sought to complete tasks successfully by independently communicating through unauthorized channels, exploiting vulnerabilities in shared infrastructure, gaining internet access, and reaching third-party systems operated by Hugging Face.
âWe consider this incident a âwarning shotâ for us and for the world: evidence that, without proper safeguards, highly capable AI agents are now able to work around technical controls, collaborate through unapproved channels, and take dangerous actions that no human directed.â
âOpenAI post-mortem report
The report stresses that OpenAIâs models are now powerful, persistent, and collaborative enough to find and exploit security weaknesses across multiple computer systems when safeguards are insufficient and that many other models, including open-source ones, will soon reach comparable capabilities.
Kanaiya Vasani, chief product officer and chief marketing officer at ExtraHop, told RL Blog recently that AI-assisted attackers who can find and exploit a vulnerability in seconds make the tiered model obsolete. The detection side has the same problem. Signature-based and indicators of compromise (IoC)-based methods only recognize what has been seen and catalogued before, and the flaws the OpenAI agents chained together offered nothing to match against.
ExtraHop launched the Agentic SOC Alliance in July (founding members include ReversingLabs, CrowdStrike, and LangChain), giving organizations an industry framework for composing these layers without locking into a single vendorâs stack. On the intelligence side, RLâs detection APIs will feed ExtraHopâs network detection and response platforms, turning a new threat finding into real-time detectors deployed across customer environments and shortening the window between discovery and inoculation.
Vasani recommends a three-layer model, and shares what it takes to stand one up, in this Q&A: How to build effective agentic SOCs.
The software industry is entering the AI era burdened by legacy flaws and weaknesses, making Secure by Design essential.
The post-mortem reaches sobering conclusions, and demands a plan of action for the AI industry â plus your SecOps strategy.
How it works
Once you click Generate, Ollama reads this article and crafts 5 comprehension questions. Your answers are graded against the article content â general knowledge won't be enough. Score 70+ to count toward your certificate.
Questions are cached â you'll always get the same 5 for this article.