Skip to content
Skill

Agentic safety audit

Guides authorized adversarial testing of autonomous LLM agents for injection and approval

Agentic safety audit is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
227
Last commit
License
MIT
Listing updated

Similar skills

About Agentic safety audit

This skill gives an agent a structured method for red-teaming an autonomous LLM application during an authorized security assessment. It focuses on failures that only arise because a model sits in the control loop: untrusted web pages, MCP tool schemas, returned data, durable memory and messages from other agents steering credentialed actions.

The workflow starts by mapping which inputs reach the model and which model outputs become actions, then enumerates the full action surface, including what those actions can reach indirectly. From there it walks through prompt injection tests using harmless canary payloads, confused-deputy checks on the authority an agent acts with, and adversarial tests of approval gates to confirm the harness enforces them rather than the model's instructions. It also covers scope containment proven by observed denials, memory write-then-recall paths, subagent output re-entering a parent as trusted context, and how the agent behaves on tool errors or timeouts.

The skill is written for specialists running sanctioned assessments and expects access to the target application and its tools. It is a process document rather than a script set, and it asks that every finding be recorded with the exact input that triggered it.

When your agent uses it

Use during an authorized adversarial assessment of an autonomous LLM application when attacker-controlled web content, MCP schemas, parameter descriptions, returned data, durable memory, or peer messages may cause credentialed actions: test injection, confused-deputy authority, approval enforcement, scope denial, poisoned recall, delegation, and fail-closed behavior. Not for authoring or revising the application's system instructions, or for validating one planted-config escape technique.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/agentic-safety-audit to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/agentic-safety-audit &&
cp -R "$tmp/.agents/skills/agentic-safety-audit" ~/.claude/skills/agentic-safety-audit &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/agentic-safety-audit inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/agentic-safety-audit to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/agentic-safety-audit &&
cp -R "$tmp/.agents/skills/agentic-safety-audit" ~/.agents/skills/agentic-safety-audit &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/agentic-safety-audit inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/agentic-safety-audit to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/agentic-safety-audit &&
cp -R "$tmp/.agents/skills/agentic-safety-audit" ~/.cursor/skills/agentic-safety-audit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/agentic-safety-audit inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/agentic-safety-audit

Or copy the folder to ~/.gemini/skills/agentic-safety-audit yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/agentic-safety-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/agentic-safety-audit &&
cp -R "$tmp/.agents/skills/agentic-safety-audit" ~/.copilot/skills/agentic-safety-audit &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/agentic-safety-audit inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git

Then copy claude-vibe-squad/.agents/skills/agentic-safety-audit into your agent's skills folder as agentic-safety-audit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Trust boundary mapping
Identifies which inputs reach the model and which attacker-influenced sources can drive actions.
Prompt injection testing
Tests untrusted content, tool descriptions and tool output with harmless canary payloads.
Confused deputy checks
Checks whether the agent acts with credentials or scope beyond the requester's own authority.
Approval gate testing
Verifies that approvals are enforced by the harness and cannot be argued away by the model.
Memory and delegation review
Covers poisoned recall, memory labelling and trust passed between parent and subagents.
Fail-closed behavior
Observes whether the agent stops or improvises a less safe path after errors or refusals.

Good for

  • Assess whether a web-browsing agent can be redirected by hidden page content
  • Test whether an MCP tool description can trigger unintended actions
  • Check that an approval prompt cannot be bypassed by an adversarial request
  • Verify that poisoned memory entries are not recalled as operator instructions
  • Audit whether subagent output is treated as untrusted when returned to a parent agent

Agentic safety audit FAQ

Who is Agentic safety audit intended for?

It is marked for specialists running authorized adversarial assessments of autonomous LLM applications.

Does Agentic safety audit write or change system instructions?

No. The skill explicitly excludes authoring or revising the application's system instructions and validating a single planted-config escape technique.

What kinds of inputs does Agentic safety audit test?

Attacker-controlled web content, MCP schemas and parameter descriptions, returned data, durable memory and peer messages.

Does Agentic safety audit include scripts?

No scripts or extra tools are bundled; the skill is a single SKILL.md file.

How do I install Agentic safety audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/agentic-safety-audit to use it in all your projects, or to .claude/skills/agentic-safety-audit in one project.

Does Agentic safety audit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Agentic safety audit?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Agentic safety audit?

The closest alternatives to Agentic safety audit are Agent action safety, Agent security hardening, AI threat testing, Audit integrity and Agentic actions auditor.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from mtarcure/claude-vibe-squad

  1. Writes alt text, timed captions and transcripts for images, footage and audio

    • Open source
    • 227 GitHub stars
    • Design and media
  2. Guides building product agent system prompts with eval-backed boundaries and output

    • Open source
    • 227 GitHub stars
    • AI models and LLM tooling
  3. Writes a typed game-event to audio-cue map that hands adaptive audio designs to engines

    • Open source
    • 227 GitHub stars
    • Developer tools
  4. Generates missing README, CHANGELOG, LICENSE and agent-context files at project delivery

    • Open source
    • 227 GitHub stars
    • Developer tools
  5. Builds and proves multi-step exploit chains from weak bug-bounty findings

    • Open source
    • 227 GitHub stars
    • Security