agent-security-audit

Audit AI agent permissions, tools, paths, and credentials for security risks.

Updated Mar 24, 2023
One-click install
npx skills add https://github.com/j4hr3n/dotfiles --skill agent-security-audit-j4hr3n
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-security-audit
Source: https://github.com/j4hr3n/dotfiles/tree/main/configs/claude-code/skills/agent-security-audit
Command: npx skills add https://github.com/j4hr3n/dotfiles --skill agent-security-audit-j4hr3n

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps security teams assess AI agent configurations for excessive permissions, prompt-injection surfaces, data exfiltration paths, and missing guardrails, reducing risk in agent deployments.

Core Features & Use Cases

  • Permission Inventory: Enumerate every tool, MCP server, file system path, network access, and credential the agent possesses and flag capabilities beyond its stated purpose.
  • Surface Analysis: Evaluate inputs (user messages, tool outputs, resources) for prompt-injection risks and unintended tool invocation.
  • Guardrail & Risk Evaluation: Assess whether safeguards, confirmations, logging, and sandboxing are in place and compliant with OWASP guidelines.
  • Use Case: Review a CLAUDE.md based agent setup to identify exposure points before deployment in production.

Quick Start

Run a security review on the current agent manifests and codebase.

Frequently Asked Questions about agent-security-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit AI agent configurations for security vulnerabilities?

Auditing AI agent security involves cataloging every tool, file path, network access, and credential the agent can access. This process maps risk surfaces and validates guardrails across CLAUDE.md files, MCP configs, and orchestration code to identify exposure points before production deployment.

What is a prompt-injection surface analysis for AI agents?

Prompt-injection surface analysis evaluates user messages, tool outputs, and resources for prompt-injection risks. It identifies unintended tool invocations and data exfiltration paths within the agent setup to ensure appropriate safeguards and confirmations are established.

How do I inventory permissions in an MCP server setup?

Inventorying permissions in an MCP server setup requires enumerating every tool, file system path, network access, and credential the agent possesses. This audit flags capabilities extending beyond the agent's stated purpose to highlight excessive permissions.

Does this security audit check AI agent guardrails against OWASP guidelines?

Yes, the security audit assesses whether safeguards, confirmations, logging, and sandboxing are in place and compliant with OWASP guidelines. It validates these guardrails across agent manifests and codebase to ensure comprehensive compliance and risk reduction.

What is the best way to identify data exfiltration paths in AI agents?

The best way to identify data exfiltration paths is to audit the AI agent setup by mapping network access and tool permissions. This reveals unauthorized data transit routes and validates whether existing guardrails effectively prevent exfiltration.

Can I use this audit for a CLAUDE.md based agent setup before production?

Yes, you can use this audit to review a CLAUDE.md based agent setup and identify exposure points before production deployment. It maps security risk surfaces and validates guardrails to ensure safe agent orchestration and operation.