drvoss/everything-copilot-cli/agent-owasp-check
Claude Code and agent skill by drvoss/everything-copilot-cli
- community
Checking that the SKILL.md file is still in the repository.
Use when auditing an AI agent system against the OWASP Agentic Security Initiative Top 10 — checks tool access, prompt boundaries, memory handling, and operational safeguards across the agent pipeline.
Install
npx vskill@latest install drvoss/everything-copilot-cli/agent-owasp-checkSKILL.md
The same SKILL.md was published earlier as drvoss/everything-copilot-cli/agent-owasp-check.
Agent OWASP Check
Audit an AI agent system against the OWASP Agentic Security Initiative (ASI) Top 10. Use this when you need a focused agent-security workflow rather than a broad repository scorecard.
When to Use
- Reviewing a repository that exposes agent, MCP, or LLM execution paths
- Before deploying a new multi-agent workflow or tool-using assistant
- When onboarding a new MCP server, tool layer, or prompt orchestration pattern
- During a security review of an AI-powered product feature
When NOT to Use
| Instead of agent-owasp-check | Use | |
|---|---|---|
| General repository security scoring | evaluate-repository | |
| Ordinary web-app auth or injection review | security-scan or pr-security-review | |
| Prompt-quality regression testing | eval-harness |
Prerequisites
- The repository actually contains agent, MCP, or LLM behavior to inspect
- You can search source, config, and workflow files
- You know which runtime boundaries matter: prompts, tools, memory, logs, or external fetches
Workflow
1. Confirm the agent surface exists
If nothing relevant is present, stop and use a broader repository audit instead.
2. Check each ASI risk
ASI-01: Unbounded Resource Consumption
Pass: Agent runs have explicit limits for time, retries, tokens, or tool calls. Fail: The agent can loop or consume resources without a clear bound.
ASI-02: Privilege Escalation
Pass: Tool access is scoped to the task or role. Fail: The agent can invoke any available tool or cross trust boundaries freely.
ASI-02-B: Tool Usage Policy Enforcement
Pass: Tool calls have rate limits and high-risk tools require explicit approval or review gates. Fail: Tools can be called indefinitely or without any approval boundary for sensitive operations.
ASI-03: Memory Injection
Pass: Untrusted external content is clearly isolated before it reaches prompts or memory. Fail: Fetched or user-supplied content flows directly into agent instructions.
ASI-04: Tool Poisoning
Pass: Tool names intentional; descriptions free of hidden instructions and obfuscated text; hash baseline present. Fail: Arbitrary names accepted, zero-width chars present, or .mcp-hashes.json baseline absent.
ASI-05: Prompt Injection
Pass: User input stays separated from system-level instructions. Fail: User content is concatenated into privileged prompt layers.
ASI-06: Data Exfiltration
Pass: Sensitive data is redacted or blocked before logging or agent output. Fail: Secrets or raw tool results can leak through logs or responses.
ASI-07: Adversarial Input Resilience
Pass: The project includes adversarial or injection-oriented eval coverage. Fail: No evidence exists that hostile inputs are tested.
ASI-08: Cascading Failure
Pass: Sub-agent failures are isolated with fallback, breaker, or stop conditions. Fail: One failing agent can take down the whole workflow unchecked.
ASI-09: Trust Boundary Violation
Pass: Cross-agent messages or delegated actions carry explicit trust assumptions, and remote identity or key discovery paths are verified before privileged actions run. Fail: Peer agents can direct privileged actions without verification, or trust decisions depend on unauthenticated identity metadata.
ASI-10: Unmonitored Autonomy
Pass: Tool calls and key agent actions are observable after the fact. Fail: There is no durable record of what the agent did.
Compound-risk escalation
Treat the review as highest severity when the same workflow combines all three:
- access to sensitive or private data
- ingestion of untrusted content such as user text, fetched docs, or marketplace skills
- outbound communication or action capability such as network calls, tool execution, or write operations
This combination is sometimes called the "Lethal Trifecta." Even when individual controls look acceptable in isolation, require explicit trust boundaries, approval gates, and reviewable traces before deployment.
Additional high-signal pattern checks
Use these targeted checks when the repository has a richer agent stack than the top-level ASI pass captures on its own.
Cryptographic session identifiers
Pass: MCP sessions, agent sessions, and other cross-boundary identifiers use cryptographically strong random IDs rather than timestamps, counters, or guessable slugs. Fail: Predictable session identifiers can be forged, enumerated, or replayed across trust boundaries.
Structured filter and JSON-path injection
Pass: Structured filters and JSON-path fragments are parameterized or safely constructed instead of string-concatenated from user input. Fail: User-controlled filter fragments or JSON paths are interpolated directly into storage or query operations.
Promptware and stored-instruction injection
Pass: Recalled memory, stored skills, or tool output are scanned, delimited, or downgraded before they can impersonate trusted instructions. Fail: Stored or fetched content can enter privileged prompt layers without isolation or pattern checks.
Token cache isolation and secret redaction
Pass: Auth tokens are isolated by provider, user, or session as appropriate, and sensitive credentials are redacted before logging or persistence. Fail: Shared token caches, leaked SAS URLs, or raw bearer tokens can cross users, providers, or logs.
In-process sandbox escape resistance
Pass: Sandboxed execution paths constrain imports, stdlib escape hatches, or subprocess access explicitly. Fail: A supposedly sandboxed path can regain privileged file, network, or process access through unchecked runtime features.
MCP SSRF and endpoint exposure (static)
Pass: No internal/metadata addresses hardcoded; MCP server binds to localhost or an authenticated gateway. Fail: AWS IMDS, GCP metadata, or internal service addresses present; or server exposed on 0.0.0.0 without auth.
Dynamic SSRF probing against a live server requires ownership — out of scope for this static audit.
mcp-scan (optional, if uvx is available)
AI/ML CWE Cross-Reference (CWE 4.20)
Use this table as a taxonomy cross-check alongside the ASI findings above:
| Check | CWE | Notes | |
|---|---|---|---|
| Prompt injection prevention | CWE-1427 | Improper Neutralization of Input Used for LLM Prompting | |
| Insecure inference parameters | CWE-1434 | Review hardcoded temperature, top_p, unsafe system-prompt overrides, and similarly risky inference settings |
Do not map "model poisoning" to CWE-1428 here. MITRE CWE 4.20 assigns CWE-1428 to reliance on HTTP instead of HTTPS, so keep that AI-specific label deferred until MITRE publishes a stable matching identifier.
3. Summarize findings
Block deployment if ASI-01, ASI-03, or ASI-05 lands at 3/10 or below.
Common Rationalizations
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/security/agent-owasp-check/SKILL.md
Popularity
- Repository stars
- 37
- Repository forks
- 10
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/drvoss/everything-copilot-cli/agent-owasp-check)