agentleFS
tanbopptanbopp/ai-development-framework/.agents/skills/agentic-security-guard/SKILL.md

agentic-security-guard

Skill1 starsChanged 19 days agoMITView on GitHub

Audits agent workflows, tools, permissions, and multi-agent boundaries against the OWASP Top 10 for Agentic Applications 2026 (ASI01-ASI10) in Phase 7 and logs compliance under Agentic Security in docs/tasks/AUDIT.md.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    ASI02 (Tool Misuse): Verify the agent does not expose overly dangerous tools or execute arbitrary shell commands, file writes, or outbound …

    line 16
  2. Very specific:

    ASI03 (Identity & Privilege Abuse): Verify agents do not inherit excessive user/cloud/database privileges or rely on long-lived ambient …

    line 17
  3. Very specific:

    Document compliance status, checked controls, and any required fixes in docs/tasks/AUDIT.md under ## Agentic Security.

    line 20

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Agentic Security Guard

Trigger

Phase 7 (Audit).

Process

  1. Inspect agent definitions, workflow hooks, MCP tool bindings, shell/CLI wrappers, credential scopes, and any built application agent features against the OWASP Top 10 for Agentic Applications 2026 (ASI01-ASI10).
  2. Focus specifically on critical agentic threat vectors:
    • ASI02 (Tool Misuse): Verify the agent does not expose overly dangerous tools or execute arbitrary shell commands, file writes, or outbound requests without strict parameter validation, allowlists, or human-in-the-loop approval.
    • ASI03 (Identity & Privilege Abuse): Verify agents do not inherit excessive user/cloud/database privileges or rely on long-lived ambient credentials; enforce short-lived, least-privilege scoped tokens.
    • ASI05 (Multi-Agent Privilege Escalation): In multi-agent flows (such as subagents or /transactional-wave), verify that delegated agents cannot escalate permissions across workspace, git branch, or tenant boundaries (boundary-guard).
    • Also inspect prompt/goal hijack (ASI01) and memory poisoning protections (ASI06, enforced via lessons-learned).
  3. Document compliance status, checked controls, and any required fixes in docs/tasks/AUDIT.md under ## Agentic Security.
  4. Block Phase 8 delivery on any HIGH or CRITICAL agentic security gap until remediated.

Output Contract

An ## Agentic Security compliance section recorded in docs/tasks/AUDIT.md covering ASI01-ASI10 (explicitly verifying ASI02, ASI03, and ASI05).

Checklist

  • Audited against OWASP Top 10 for Agentic Applications 2026 (ASI01-ASI10)
  • ASI02 (Tool Misuse) shell/tool validation controls verified
  • ASI03 (Identity & Privilege Abuse) least-privilege scoping verified
  • ASI05 (Multi-Agent Privilege Escalation) boundary isolation verified
  • Results documented under ## Agentic Security in docs/tasks/AUDIT.md

Prohibitions

  • Exposing unvalidated shell execution, wildcard write access, or root/admin credentials to autonomous or subagent loops.
  • Skipping ASI02, ASI03, or ASI05 checks when shipping agentic tooling or multi-agent features.

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.