By NHI Mgmt Group Editorial TeamBased on Backslash Security: “Governance and Security for AI Agent Skills with Backslash” (March 25, 2026)

TL;DR: AI agent skills expand the agentic AI attack surface because instructions injected into system prompts can rewrite agent behaviour, access filesystem and network resources, and enable data exfiltration through unreviewed third-party packages, according to Backslash Security. The governance gap is that extensibility now behaves like an identity control plane, not a harmless plugin layer.


At a glance

What this is: Backslash Security examines how AI agent skills expand the agentic AI attack surface by embedding instructions directly into system prompts, turning extensibility into a governance and identity problem.

Why it matters: This matters because teams managing agentic AI need to govern not just the model and the agent, but the instruction, package, and access layers that can silently expand privilege.


Context

AI agent skills are modular instruction sets that extend what an agent can do, often by giving it new procedures, tools, or task-specific logic. In practice, that means the skill layer can shape agent behaviour as much as the base model does, especially when skills are loaded into the system prompt and can interact with files, networks, and environment credentials.

The governance gap is that many teams still treat extensibility as a developer convenience rather than an identity boundary. Once skills can influence tool use, data movement, and credential exposure, they sit inside the trust path for agentic AI and should be governed as part of the identity model, not as ordinary code add-ons.

This is an agentic AI problem first, but it also crosses into software supply chain control, approval workflows, and runtime privilege management. That makes it a strong example of how identity governance now has to extend into the extensibility layer itself.


Key questions

Q: What breaks when AI agent skills can change agent behaviour through prompt injection?

A: The failure is that the skill layer stops being a neutral extension mechanism and becomes a trusted instruction path that can redirect agent actions. Once that path can influence tools, files, and credentials, governance based on static prompt assumptions no longer holds. Teams need to treat the skill itself as a privileged identity-bearing artefact.

Q: Why do unreviewed agent skills create supply chain risk for agentic AI?

A: Because they can bundle hidden instructions, scripts, and dependencies that execute with the agent’s effective authority. Without signatures, lockfiles, and mandatory review, the organisation cannot verify that a skill is what it claims to be. The result is trust without provenance, which is exactly how supply chain exposure enters the agent stack.

Q: How should teams control filesystem and credential access for AI agent skills?

A: Use task-scoped permissions and deny broad ambient access by default. If a skill needs shell, network, or credential access, that access should be explicit, logged, and tied to a narrowly defined use case. The goal is to prevent a skill from inheriting more authority than the task genuinely requires.

Q: What should security teams do when a marketplace skill looks useful but unverified?

A: Treat it as untrusted until it passes provenance review, dependency inspection, and policy checks. The fact that a skill appears productive does not make it safe, especially when it can influence agent decisions or move data externally. Organisations should block unverified skills rather than trying to police them after installation.


Technical breakdown

Prompt injection by design in AI agent skills

AI agent skills are not passive hints. When a skill is injected into an agent’s system prompt, it becomes part of the agent’s operating instructions, which means the agent can treat those instructions as authoritative during task execution. That creates a prompt injection by design condition, where malicious or poorly governed skill content can steer the agent toward unintended actions without exploiting a traditional code vulnerability. The risk is amplified when the skill can influence tool selection, file operations, or outbound communication, because the instruction layer is already inside the agent’s decision context.

Practical implication: treat skill content as privileged agent instruction and subject it to the same governance as any other access-bearing control surface.

Why unreviewed skills become a supply chain problem

A public skills marketplace without signatures, dependency locks, or mandatory review creates a trust problem that looks more like software supply chain exposure than normal extension management. A skill can bundle shell scripts, Python, JavaScript, or hidden instructions that appear useful while quietly requesting access beyond the original intent. If teams cannot verify provenance and integrity, then the risk is not only malicious code but also deceptive behaviour embedded in the instruction set itself. In that model, the marketplace becomes a distribution channel for untrusted identity behaviour, not just untrusted software.

Practical implication: require provenance, review, and dependency integrity checks before any skill is allowed into an agent environment.

How skills collapse least-privilege assumptions for agents

Many AI agent skills operate with access to the filesystem, network, and environment credentials, which means their effective privilege can exceed the narrow task the developer had in mind. That matters because least privilege depends on knowing the scope of action in advance. When a skill can ask for shell access, read local repositories, or trigger external transfers, the real control problem becomes whether the agent’s delegated authority is bounded by policy or by whoever wrote the skill. The identity issue is not just who installed the skill, but what operational authority the skill can smuggle into the agent session.

Practical implication: scope agent permissions around the exact actions a skill may trigger, not around the developer’s stated intent.


Threat narrative

Attacker objective: The attacker wants the agent to disclose secrets or move data out of the environment while appearing to execute legitimate work.

  1. Entry occurs when a skill is installed from an internal or public catalog and injected into the agent’s system prompt as trusted task logic.
  2. Credential access follows when the skill is written to request filesystem, network, or environment credential access under the guise of normal task completion.
  3. Escalation happens when the skill’s hidden instructions override expected guardrails and steer the agent toward exfiltration, key harvesting, or unauthorized outbound actions.
  4. Impact is the silent leakage of code, credentials, or repository contents, often without an obvious audit trace if the action is framed as part of the skill recipe.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

AI agent skills turn the extensibility layer into an identity boundary. Once skills are injected into the system prompt and can reach filesystems, networks, or environment credentials, they are no longer simple add-ons. They become part of the agent’s delegated authority model, which means identity governance has to treat the skill layer as control-plane territory, not developer convenience.

Prompt injection by design is a governance failure, not just a content issue. The article shows that skill instructions can rewrite what the agent thinks and does, which means trust is being asserted at the instruction layer without the controls we normally require around access-bearing artefacts. That breaks the assumption that agent instructions are inherently benign because they are packaged as productivity features. Practitioners should recognise that this is a policy and lifecycle problem, not only a secure coding problem.

Unverified skills create a new trust debt across the agentic supply chain. No signatures, no lockfiles, and no mandatory review mean teams cannot reliably distinguish useful extensibility from hostile logic. That is the same failure pattern identity teams already know from unmanaged privileged artefacts: if provenance is weak, governance becomes post-exposure rather than preventive. The practitioner conclusion is that skill onboarding must be treated like privileged access onboarding.

Silent exfiltration is the named concept security teams should be watching. In this pattern, the agent believes the malicious action is part of the recipe, so ordinary logs can remain empty while data moves out of the environment. That makes detection dependent on content and policy inspection before execution, not only on runtime alerts after the fact. The field should stop assuming auditability is preserved once agent logic is wrapped in an approved skill.

Agentic AI governance now has to span model, MCP, and skill layers together. The article’s core warning is not about one extension mechanism in isolation, but about layered delegation where trust compounds as control moves outward from the model. That means identity architecture for agentic AI must be evaluated as a chain of authority. Practitioners should redesign governance around the full delegation path, not only the base model or the plugin catalog.

From our research library:

What this signals

Silent exfiltration is the hard problem in skill governance: when malicious instructions are treated as part of the agent’s recipe, the control failure happens before audit systems can reliably see it. That shifts the centre of gravity from runtime monitoring to pre-execution trust decisions, which is exactly where identity and governance teams need to focus.

The next governance step is to treat agent skills, MCP surfaces, and environment credentials as one delegated chain rather than three separate problems. Fragmented controls leave gaps where a skill can inherit more authority than the underlying use case justifies, especially when developers can install capabilities faster than security can review them.


For practitioners

  • Inventory every installed skill Track where each AI agent skill is installed, which agent or IDE consumes it, and whether it can touch files, network paths, or credentials.
  • Require provenance and integrity checks Block any skill that lacks signatures, dependency locks, or a known publisher before it is allowed into a production agent workflow.
  • Restrict skill permissions to task scope Remove default access to shell, filesystem, and environment credentials unless the skill’s approved use case explicitly requires them.
  • Treat skills as privileged artefacts Route high-risk skills through review, allowlisting, and exception handling so their behaviour is governed like other access-bearing controls.

Key takeaways

  • AI agent skills can function as privileged instructions, so the main risk is not just code injection but delegated behaviour change inside the agent itself.
  • Unreviewed skills expand attack surface through hidden scripts, weak provenance, and unbounded access to repositories, networks, and credentials.
  • Governance has to move upstream to skill approval, task scoping, and dependency integrity before agent execution begins.

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, OWASP Agentic Skills Top 10, OWASP Non-Human Identity Top 10 and MITRE ATT&CK define the specific risk controls and attack patterns relevant to this term.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseSkills can inherit and misuse agent authority through injected instructions and hidden access requests.
Recommendation — Map skill-driven privilege expansion to ASI03 and restrict agent authority to explicit task scope.
OWASP Agentic Skills Top 10Skill Layer SecurityThe article is specifically about security failures in AI agent skills and their execution chain.
Recommendation — Govern skill onboarding, provenance, and permission inheritance in the agent skill layer.
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakageSkills can expose environment credentials and repository contents through malicious instructions.
NHI-03 — Vulnerable Third-Party NHIPublic skill catalogs and unverified publishers create third-party trust exposure for agentic systems.
Recommendation — Scan skill logic for secret exposure paths and revoke any skill that can reach credentials unnecessarily. Treat external skills as third-party identities and require approval before they can execute in production.
MITRE ATT&CKTA0006;TA0010 — Credential Access; ExfiltrationThe article describes credential harvesting and silent codebase exfiltration as primary attack behaviours.
Recommendation — Map malicious skills to credential access and exfiltration tactics to improve detection and hunting.

Key terms

  • AI Agent Skill: A downloadable capability package that extends what an agent can do by adding tools, actions, or workflows. In practice, the skill becomes part of the agent's execution path and inherits the agent's permissions, so its risk is determined by both code behaviour and the identity context it runs in.
  • Prompt Injection by Design: A failure mode where instructions that were meant to guide an AI system can be abused to override or redirect behaviour during execution. In agentic workflows, the risk becomes operational when the injected content can influence tool choice, command use, or access to sensitive data.
  • Skill provenance: The evidence trail showing where an agent skill came from, who published it, what changed, and whether it has been signed or verified. Provenance is the control that helps security teams separate trusted capabilities from impersonation, tampering, and supply chain compromise.
  • Silent Exfiltration: Data loss that happens through normal-looking agent actions rather than obvious malware or alarm-triggering behaviour. Because the agent may summarise, forward, or copy sensitive information as part of a legitimate workflow, detection depends on boundary controls and auditability, not just threat signatures.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on July 6, 2026.
Updated on October 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org