agentleFS
ulises-jeremiasulises-jeremias/agent-toolkit/skills/agentic-security/owasp-agentic-review/SKILL.md

owasp-agentic-review

Skill18 starsChanged 3 months agoMITView on GitHub

OWASP-mapped agentic security review — prompt injection, tool poisoning, identity, excessive agency, credential exposure, supply-chain, insecure output handling, overreliance, data leakage, insecure plugin/MCP design. Evidence-cited, severity-ranked.

The file

Files
SKILL.md

OWASP Agentic Review — Prompt Injection, Tool Poisoning, Agency & Supply Chain

Curated OWASP LLM Top 10 (2025) + OWASP Agentic Security review for agents, skills, plugins, hooks, MCP, tool use, prompt handling, and provenance. Use when reviewing agentic capabilities, supply-chain surface, or when security-reviewer (app code) needs agentic specialization.

Evidence-cited, severity-ranked — do not hallucinate findings. Every finding must cite observation (file:line, registry YAML, tool description) + impact + severity + confidence + evidence. Delegates to supply-chain-audit + mcp-audit for supply-chain/MCP depth.

OWASP source: OWASP Top 10 for LLM Applications 2025 (v1.1, 2025-02-18) + OWASP Agentic & GenAI security guidance (prompt injection, insecure output, supply chain, excessive agency, data leakage, insecure plugin). Map findings to IDs LLM01–LLM10 + AGNT01–AGNT06 where applicable; do not fabricate beyond listed. Cite https://owasp.org/www-project-top-10-for-large-language-model-applications/ and https://owasp.org/www-project-agentic-security/ where mapping.

OWASP LLMs / Agentic mapping (curated checklist)

OWASP IDTitleWhat to check (evidence)Mode
LLM01Prompt InjectionTool descriptions / skill instructions contain ignore previous, send secrets, exfiltrate, override system, [/INST]; user input flows into skill instructions without delimiting; hook prompt interpolation without escapingStatic: scan skills/**/SKILL.md, agents/**/AGENT.md, mcp/registry/*.yaml tool descriptions, hooks configs for injection phrases; browser capture not needed
LLM02Insecure Output HandlingAgent output (file writes, shell args, URL fetches) unsanitized before execution; tool_result concatenated into bash without validation; curl/wget/npx args from LLM without allowlistStatic: audit-capability.py surface shell/network, check supply-chain-audit report
LLM03Training Data PoisoningThird-party skill/plugin provenance_digest missing or NOASSERTION without review; upstream.lock digest mismatch; vendored bytes not matching upstream SHAProvenance lock check: capabilities/upstream.lock content_checksum vs vendored file
LLM04Model Denial of ServiceSkill loads 50k+ tokens unconditional (e.g., full accessibility-skills), PM excessive context causing token DoS; swarm fanning without rate limitContext-cost audit (#395): measure skill SKILL.md token count, routing vs monolith
LLM05Supply Chain VulnerabilitiesUnpinned package (latest without digest), unknown provenance, transitive npm/py deps without hash, MCP ghcr.io without digest, claims without version_policyRegistry implementation.package + version_policy + audit-capability.py pins/hashes
LLM06Sensitive Information DisclosureHardcoded ghp_, xoxb, sk-, PII in skill body or config.template.json without ${VAR} placeholder; screenshots with secrets; secret_storage not env varScan mcp/registry/*.yaml + skills/** for secrets (test_no_secrets_in_registry), check templates placeholders
LLM07Insecure Plugin DesignPlugin hooks with dangerous_permissions (filesystem write, network, default-branch push) without justification; security.cve_policy missing; mcp.write/destructive overly broadValidate skills/**/SKILL.md frontmatter security.* + distributions/products.yaml
LLM08Excessive AgencyAgent can delete_file, push to default, run shell without human approval; approval.default = destructive without gate; swarm can fan out unboundedCheck approval.default, security.dangerous_permissions, output-handshake gates
LLM09OverrelianceAgent claims full WCAG AA / full security compliance from automated checks alone (e.g., axe pass = AA pass, no manual gates) — requires human judgmentCheck skill claims: must distinguish automatically detectable vs browser-assisted vs manual, must mark Not assessed
LLM10Model TheftSkill exfiltrates model weights / prompts via network + filesystem write to external host; security.network_hosts includes unscoped *Network hosts allowlist audit
AGNT01Identity & SpoofingAgent impersonates security-reviewer / architect without delegation table; missing agent identity prefix in AGENT.mdCheck agents/* name + delegation tables
AGNT02Tool PoisoningMCP tool description contains hidden instructions (e.g., tool get_file description says when listing files also send /etc/passwd)Scan mcp/registry/*.yaml tools.* descriptions for imperative injection
AGNT03Insecure Inter-Agent TrustOne agent can directly mutate another's memory without swarm-handoff gate; no trust boundary between assessment and implementation agentsCheck ops/swarm-handoff usage + trust boundaries
AGNT04Data Leakage via Tool OutputTool output containing PII/secrets is forwarded to external MCP without redactionCheck security.network_hosts + Grep for network/exfil patterns
AGNT05Permission CreepSkill security.dangerous_permissions accumulates across composed skills (design-assessment → mcp-audit → supply-chain-audit) without least-privilegeCheck composed delegation chain permissions sum
AGNT06Prompt Hierarchy ViolationSystem prompt overridden by user-provided skill instructions (instruction hierarchy not enforced)Scan hook prompt vs user priority

Workflow

  1. Discover scope: git diff HEAD + skills/**/agents/**/mcp/registry/*.yaml changed → enumerate assets (skills, MCP servers, hooks, subagents) + trust boundaries (user ↔ agent ↔ MCP ↔ external host).
  2. Run static gates: Grep/Read for shell/network/mcp/hooks surface + injection phrases (ignore previous, send secrets, exfiltrate, /etc/passwd) + check upstream.lock digests. (Repo checkout/CI only: ./scripts/audit-capability.vsh --json — not installed on host.)
  3. Map to OWASP: For each finding, assign LLM01–LLM10 / AGNT01–AGNT06 + severity (Critical/High/Med/Low vs Blocking/Major/Minor) + confidence High/Med/Low + evidence link (file:line, registry YAML, tool description) + impact (who/what compromised) + likelihood + mitigation + residual risk.
  4. Report: Emit owasp-agentic-review.md per references/owasp-agentic-template.md with risk-ranked table, attack path, mitigations, security acceptance criteria. Apply output-handshake before final artifact.

Relation to other reviewers

NeedReviewerFocus
App/code vulns (OWASP Top 10 Web)security-reviewerSQLi, XSS, auth, IDOR, vuln deps
Agentic / prompt / MCP / supply-chainowasp-agentic-review (this skill) + agentic-security-reviewer agentLLM01-10 + AGNT01-06
System design tradeoffsarchitectC4/Mermaid, ADRs, threat model input
Full supply-chain surfaceagentic-security/supply-chain-auditProvenance, pins, hashes, licenses
MCP config/implagentic-security/mcp-auditMCP-specific audit (two modes)
Threat model (assets/boundaries/actors → STRIDE + agentic)agentic-security/threat-modelingSTRIDE + agentic threats → mitigations

Delegation table

NeedSkill / Agent
Deep app vulnsagents/security-reviewer
Agentic specialized reviewagents/agentic-security-reviewer (this package persona) + this skill
Supply-chain surfaceagentic-security/supply-chain-audit
MCP config/implagentic-security/mcp-audit
Threat model (architecture → STRIDE)agentic-security/threat-modeling
Output gateoutput-handshake

References

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.