Subscribe to the Non-Human & AI Identity Journal

What breaks when a malicious skill inherits an agent’s permissions?

What breaks is the assumption that authorised execution is also safe execution. Once a skill inherits the agent’s permissions, it can use whatever the surrounding workflow already allows, including data access, tool calls, or financial actions. That creates a gap between declared purpose and actual power.

Why This Matters for Security Teams

When a malicious skill inherits an agent’s permissions, the real failure is not just compromise of a single component. The failure is that the agent becomes a permission conveyor: whatever the workflow can do, the injected skill can often do too. That breaks least privilege, blurs intent, and turns trusted orchestration into an execution path for unintended actions. Current guidance suggests treating this as an agentic control problem, not a traditional appsec bug.

This is visible in incidents where autonomous tooling is allowed to chain tool calls, query internal data, or trigger side effects without a second authorisation step. The lesson from the OWASP NHI Top 10 is that inherited permissions become dangerous when the system cannot distinguish the agent’s approved goal from a hostile subtask. NHI Mgmt Group’s Ultimate Guide to NHIs notes that 97% of NHIs carry excessive privileges, which is exactly the condition that makes inherited-access failures so damaging. In practice, many security teams encounter this only after the agent has already used its normal workflow to move data, issue tokens, or execute destructive actions, rather than through intentional red-team testing.

How It Works in Practice

In agentic systems, a skill is rarely isolated. It is loaded into a runtime that already has credentials, tool access, and context. If the skill inherits the agent’s permissions, the skill does not need its own identity boundary. It can reuse the agent’s authority to read files, call APIs, or perform business actions. That is why static, role-based IAM often fails here: the access pattern is not fixed in advance, and the risky step is decided at runtime based on the agent’s evolving plan.

Security teams are moving toward intent-based or context-aware authorisation, where each sensitive action is evaluated at request time. That means policy-as-code decisions can consider the task, data sensitivity, user approval, tool risk, and execution context before allowing the action. Frameworks such as the NIST AI Risk Management Framework and the CSA MAESTRO agentic AI threat modeling framework both reinforce the need for runtime governance rather than trust in pre-approved pathways.

  • Issue JIT, short-lived credentials per task instead of long-lived secrets.
  • Bind sensitive actions to workload identity, not just session state.
  • Require policy checks before tool calls that can exfiltrate data or change systems.
  • Revoke permissions automatically when the task completes or context changes.

This is why incidents such as the Replit AI Tool Database Deletion and CoPhish OAuth Token Theft via Copilot Studio matter: the workflow itself was trusted, so the malicious action inherited legitimate reach. These controls tend to break down when agents can chain multiple tools across loosely coupled systems because the security boundary is no longer the app, it is the entire execution path.

Common Variations and Edge Cases

Tighter permission scoping often increases orchestration overhead, so organisations must balance safety against developer friction and runtime latency. There is no universal standard for this yet, especially in multi-agent systems where one agent delegates to another and each hop may amplify authority.

One common edge case is delegated access through shared service accounts. If the skill inherits a broad workflow identity, the downstream tools may treat every call as equally trusted, even when the underlying task is high risk. Another is retrieval-heavy agents that can surface sensitive data without directly “acting” on it. In those environments, the damage can come from read access alone, not just write or delete permissions.

Best practice is evolving toward cryptographic workload identity, ephemeral tokens, and explicit tool-scoped policies, but implementation varies. The OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 both point to the same operational reality: inherited authority must be broken into smaller, verifiable steps. The highest-risk environments are those with financial actions, production data access, or autonomous tool chaining, because a malicious skill can turn a single approved workflow into broad lateral movement before anyone notices.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10, CSA MAESTRO and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 A1 Inherited permissions enable tool abuse and unintended agent actions.
CSA MAESTRO MAESTRO-3 Addresses runtime control and trust boundaries for agentic workflows.
NIST AI RMF GOVERN Requires accountable governance for autonomous AI decisions and impacts.
OWASP Non-Human Identity Top 10 NHI-03 Excessive privileges in NHIs make inherited skill abuse much worse.
NIST Zero Trust (SP 800-207) AC-4 Zero trust supports per-request authorization instead of implicit trust.

Reduce NHI blast radius with least privilege, short TTLs, and frequent entitlement review.