34%
Of Copilot extensions in Microsoft AppSource found to have overly broad permission requests
3
Review tracks recommended for skills governance: fast, standard, and restricted
Quarterly
Minimum frequency for reviewing installed skills registry for unused, vulnerable, or removed skills
4
Security review domains for third-party skills: publisher, permissions, code, and behavior

Reach 50,000+ security professionals

Sponsor a newsletter slot and put your brand in front of CISOs, engineers, and IT decision-makers.

Summarize with:

AI agents consuming third-party skills from marketplaces introduce prompt injection, excessive capability grant, and data exfiltration risks that standard application security controls do not address. This guide covers the attack surface of skill marketplaces, a security review framework for evaluating third-party skills, permission scoping, sandboxing requirements, skill provenance verification, and an enterprise governance model for maintaining approved skill registries. For broader AI security testing, see the AI red teaming and LLM security guide.

AI Agent Skill Marketplace Attack Surface

AI agent frameworks including Microsoft Copilot Studio, AWS Bedrock Agents, Langchain, and AutoGPT enable agents to consume external tools and skills that extend their capabilities. These skills execute in the context of the agent, with access to the same data, APIs, and permissions the agent holds.

Skill marketplaces aggregate third-party skills, creating an attack surface analogous to browser extension stores or npm registries. The key security differences from traditional application marketplaces: skills execute within the agent's prompt context (enabling prompt injection attacks), skills may access agent memory and conversation history, and skills can invoke other tools the agent has access to (creating lateral movement paths within the agent's permission scope).

Prompt injection via skill descriptions represents a novel attack vector. A malicious skill can include instruction text in its description, name, or output that overrides the agent's system prompt. When the agent reads the skill's metadata or executes it, injected instructions can redirect the agent's behavior, extract conversation history, or trigger actions in other connected tools.

Excessive capability grants occur when skill installation requests permissions beyond what the skill's stated function requires. A skill advertised as a calendar lookup requesting full email read/write access is a red flag. Many users approve permissions without reviewing them, particularly when the agent framework presents skill installation as a one-click action.

Data exfiltration through output channels exploits the agent's ability to send data to external endpoints. A skill that processes documents and returns a summary can simultaneously exfiltrate document content to an attacker-controlled endpoint. This is difficult to detect without network-level monitoring of agent traffic.

Security Review Framework for Third-Party Skills

Before approving any third-party skill for enterprise use, conduct a structured security review covering four domains: publisher verification, permission analysis, code review (where available), and behavioral testing.

Publisher verification mirrors SaaS vendor due diligence. Verify the publisher's identity through business registration, website presence, and contact information. For skills from individual developers or small vendors, assess whether the publisher has a documented security posture and incident response capability. Prefer skills from established vendors with public security programs over anonymous or pseudonymous publishers.

Permission analysis reviews the capabilities the skill requests. Document every permission the skill requests at installation time. Apply the principle of least privilege: does the skill need each requested permission to perform its stated function? Common over-permissions include read access to all files when the skill only needs specific directories, email send permissions when the skill only reads email, and calendar write access when the skill is a read-only lookup.

Code review is possible for open-source skills and those where vendors provide source access. Review for hardcoded credentials, external data exfiltration, prompt injection vulnerabilities in output handling, and use of deprecated or insecure API patterns.

Behavioral testing validates the skill's actual behavior against its stated behavior. Test inputs that include prompt injection attempts (instruction text embedded in input data), test with sensitive data to verify it is not logged or transmitted externally, and test edge cases that might trigger undocumented behavior.

Free daily briefing

Briefings like this, every morning before 9am.

Threat intel, active CVEs, and campaign alerts, distilled for practitioners. 50,000+ subscribers. No noise.

Capability Boundaries and Permission Scoping

Capability boundaries define the maximum scope of action an AI agent and its skills can take. Establishing capability boundaries before deploying skill-enabled agents prevents skills from accessing or modifying resources beyond the agent's intended function.

Implement separate agent identities for different function domains. An agent handling HR data should have a different identity and permission set than an agent handling financial data. Skills installed for the HR agent cannot access financial systems even if the skill requests those permissions. Many enterprise AI platforms including Microsoft Copilot and AWS Bedrock support multiple agent configurations with distinct permission sets.

Tool permission scoping limits which APIs and data sources each skill can invoke. If your agent framework supports tool-level permission restrictions, configure them. A skill that should only query a product catalog should have only read access to that catalog's API endpoint, not write access or access to other APIs the agent might use.

Output sanitization prevents malicious skill output from being interpreted as agent instructions. Configure your agent framework to treat skill output as data, not as instruction text. Many frameworks provide output escaping or sandboxed execution modes that isolate skill output from the agent's prompt context. Enable these features and test them against prompt injection payloads.

Capability monitoring logs all tool and skill invocations with the input and output for each call. These logs enable detection of unexpected data access patterns, excessive API calls that might indicate data exfiltration, and skill behavior that deviates from the expected pattern.

Sandboxing Requirements for Skill Execution

Skills that execute code or access external resources should run in isolated sandbox environments. Sandboxing prevents a compromised or malicious skill from accessing host system resources, other agent contexts, or cross-tenant data.

Container-based sandboxing executes each skill in an isolated container with minimal access to the host environment. Resource limits (CPU, memory, network bandwidth, execution time) prevent denial-of-service conditions from runaway skills. Network policies restrict which external endpoints the skill can contact, blocking exfiltration to arbitrary destinations.

MicroVM-based isolation provides stronger security boundaries than containers for high-risk skill execution. Tools like AWS Firecracker and gVisor provide near-container performance with VM-level isolation. For skills that process sensitive documents or financial data, microVM isolation reduces the blast radius of a compromised skill.

Output size limits prevent skills from transmitting large volumes of data in a single response. A skill that returns a 10MB response to an agent question about a brief topic is a potential indicator of data exfiltration. Configure maximum response size limits and alert on violations.

Execution time limits prevent skills from running indefinitely (DoS condition) or from performing slow data exfiltration operations. Set hard limits on skill execution time and alert on skills that consistently approach the limit.

Audit logging must capture what data the skill accessed, what external connections it made, and what output it returned. These logs are essential for incident investigation when a skill is later identified as malicious.

Skill Provenance and Signing

Skill provenance verification establishes that a skill comes from the publisher it claims and has not been modified since publication. This addresses supply chain attacks where a legitimate skill is compromised after publication.

Code signing for skills provides cryptographic verification of skill integrity. The publisher signs the skill package with a private key; the agent platform verifies the signature before execution. If the skill has been modified after signing, verification fails. Microsoft's Copilot platform and some AWS Bedrock connectors support skill signing. Prefer signed skills from verified publishers over unsigned skills.

Skill version pinning prevents automatic updates from introducing malicious changes. When a skill passes your security review at version 1.2.0, pin your deployment to that version. Require a new security review before updating to any new version. Many enterprises are caught by auto-update policies that install new skill versions without review.

Skill source of origin tracking documents where each installed skill came from and when it was approved. Maintain a skill registry that records: skill name, version, publisher, approval date, reviewing team member, and permission scope at time of approval. This registry is the foundation of your skills governance program.

Monitor official skill repositories for security advisories and malicious skill reports. The Microsoft Copilot marketplace, AWS Marketplace, and npm (for Langchain tools) each have reporting mechanisms for security issues. Subscribe to security notifications for your AI platform's skill ecosystem.

Enterprise Skills Governance Program

An enterprise skills governance program defines who can install skills, what review is required, and how approved skills are maintained over time. This program prevents the shadow AI problem where individual teams install unapproved skills that create enterprise-wide exposure.

Establish a skills approval workflow with three tracks. Fast track: skills from pre-approved enterprise vendors (Microsoft, Salesforce, ServiceNow) with standard enterprise agreements that cover the skill. Standard track: skills from smaller vendors requiring full security review before approval. Restricted track: skills involving customer PII, financial data, or regulated data requiring security review plus privacy and compliance sign-off.

Define skill categories that map to data sensitivity. Skills accessing only internal knowledge bases and low-sensitivity operational data can follow a lighter review process than skills accessing HR systems, financial data, or customer records. Assign skill categories at installation time and enforce corresponding data access restrictions.

Implement an approved skills registry as a code-managed configuration. Infrastructure-as-code for AI agents allows specifying which skills each agent can use, what permissions are granted, and what sandbox configuration applies. This configuration is version-controlled, reviewed via pull request, and deployed through CI/CD, extending standard software governance to the AI skill layer.

Conduct quarterly reviews of installed skills. Skills that are unused can be removed to reduce attack surface. Skills with known vulnerabilities should be quarantined or removed pending a security fix. Publishers that have demonstrated security issues should trigger a re-review of all their installed skills.

Train employees who deploy AI agents on skill security risks. The skills governance program is only effective if the people deploying agents understand why the controls exist and how to follow the approval workflow without creating shadow workarounds.

The bottom line

AI agent skill marketplaces are the new third-party software supply chain risk. Apply the same scrutiny to skill installation that you apply to SaaS application procurement: review permissions, verify the publisher, assess data handling practices, and test for prompt injection before production deployment. Build a skills governance program now, before unrestricted skill installation becomes the default across your AI platform deployments.

Frequently asked questions

How does prompt injection through AI agent skills differ from traditional prompt injection, and why are existing controls insufficient?

Traditional prompt injection attacks user inputs to override model behavior. Skill-based prompt injection occurs when a third-party skill's output, description, or metadata contains instruction text that the agent interprets as a system directive. This is distinct because the attack originates from an installed, trusted component rather than user input, and because it can redirect the agent's actions across all tools the agent has access to, not just the current interaction. Existing input validation controls do not inspect skill output for injected instructions, and many agent frameworks lack output sandboxing that would prevent skill output from being treated as instruction text.

What specific permission red flags should trigger a failed security review for a third-party AI agent skill?

Red flags include: requesting write permissions when the stated function is read-only, requesting access to data categories unrelated to the skill's stated purpose (a calendar skill requesting email read), requesting access to all files rather than a specific directory or data type, requesting permissions to invoke other tools or APIs beyond the skill's stated capability, absence of a documented data retention and deletion policy, absence of code signing or integrity verification, and publisher identity that cannot be verified through standard business registration checks.

How should organizations structure sandboxing for AI agent skills that process sensitive documents, and what isolation level is appropriate?

For skills processing sensitive documents including PII, financial records, or regulated health data, use microVM-based isolation (AWS Firecracker or gVisor) rather than container-only sandboxing. Configure network egress policies that allow connections only to documented, pre-approved external endpoints and block all other outbound traffic. Set output size limits to detect potential data exfiltration in response payloads. Apply execution time limits. Log all external connections the skill makes during execution. Conduct behavioral testing with synthetic sensitive data before allowing the skill to process real production data.

What is skill version pinning, and how does it protect against supply chain attacks targeting AI agent skill repositories?

Skill version pinning locks your deployment to a specific reviewed version of a skill rather than automatically installing updates. When you pin to version 1.2.0, an attacker who compromises the skill publisher and injects malicious code into version 1.2.1 cannot affect your deployment without a manual update that triggers a new security review. Implement version pinning in your infrastructure-as-code configuration for agent deployments, track pinned versions in your skills registry, and require a completed security review before updating any pinned skill to a new version.

How should enterprises handle the discovery that a previously approved AI agent skill contained a security vulnerability or was maliciously modified?

Immediately quarantine all agents using the affected skill by disabling the skill installation or rolling back to a known-good pinned version. Review audit logs from the skill's execution window to identify what data it accessed and whether any anomalous external connections occurred. If data exfiltration is suspected, initiate incident response procedures appropriate to the data sensitivity level. Notify affected data owners. Remove the skill from your approved registry and block reinstallation. Conduct a retrospective review of your skill approval process to understand why the vulnerability was not caught during initial review.

What metrics should a skills governance program track to demonstrate effectiveness to security leadership and compliance auditors?

Track: number of skills submitted for review versus approved versus rejected with rejection reasons, mean time to complete skill security review by track, number of skill versions pinned versus unpinned in production deployments, number of unapproved skills detected through agent configuration audits (shadow AI indicator), number of skills removed due to security findings or publisher issues, and percentage of agent deployments covered by infrastructure-as-code configuration management. Report these quarterly to demonstrate program maturity and coverage.

Sources & references

  1. OWASP Top 10 for Large Language Model Applications
  2. Microsoft Copilot Extension Security Guidance
Summarize with:

Free resources

25
Free download

Critical CVE Reference Card 2025–2026

25 actively exploited vulnerabilities with CVSS scores, exploit status, and patch availability. Print it, pin it, share it with your SOC team.

No spam. Unsubscribe anytime.

Free download

Ransomware Incident Response Playbook

Step-by-step 24-hour IR checklist covering detection, containment, eradication, and recovery. Built for SOC teams, IR leads, and CISOs.

No spam. Unsubscribe anytime.

Follow Decryption Digest

Daily briefings + Google Top Stories in one step.

Enter your email and we'll subscribe you to the daily briefing and add Decryption Digest to your Google Search feed at the same time.

Free. Unsubscribe anytime. Google popup confirms the Top Stories add.

Eric Bang
Author

Founder & Cybersecurity Evangelist, Decryption Digest

Cybersecurity professional with expertise in threat intelligence, vulnerability research, and enterprise security. Covers zero-days, ransomware, and nation-state operations for 50,000+ security professionals every morning.

Daily Briefing

Get briefings like this every morning

Actionable threat intelligence for working practitioners. Free. No spam. Trusted by 50,000+ SOC analysts, CISOs, and security engineers.

Unsubscribe anytime.

Mythos Brief

Anthropic's AI finds zero-days your scanners miss.