AI Agent Audit — Security skill for Claude Code
Read-only audit of a local developer machine for AI-agent-related security risks (Linux + macOS).
How to install AI Agent Audit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open bartek-filipiuk/ai-agent-audit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AI Agent Audit does
Read-only audit of a local developer machine for AI-agent-related security risks (Linux + macOS). Ten modules covering credentials, AI tool config, token scope, supply-chain compromise indicators, sessions, and history.
Alternatives in Security
- Agentseal — Security toolkit for AI agents 344 ★
- Claudit Sec — Security audit tool for Claude Desktop and Claude Code on macOS — single-command visibility into MCP servers 115 ★
- Kali Pentest — Kali Linux penetration testing skill for AI agents (Claude Code, OpenClaw, Hermes Agent) 100 ★
README
ai-agent-audit
Read-only security audit of a local developer machine, focused on the attack surface that AI coding agents can reach.
This tool answers a single question: **"What can an AI coding agent see and do on this machine right now, and how bad would it be if one of them went off the rails?"**
It scans for credentials, tool configuration, hooks, MCP servers, agent skills, IDE extensions, session artifacts, and supply-chain compromise indicators that AI agents (Cursor, Claude Code, Gemini CLI, Cline, Aider, Codex, Windsurf, Amazon Q, and others) routinely have access to. Every finding maps to a documented incident class.
TL;DR
Read-only scan of `$HOME` for everything an AI coding agent can reach: SSH keys, cloud creds, npm/pip tokens, MCP server configs, AI hooks, repo-level `.claude/.cursor/` configs, agent skills, IDE extensions, plus credential leakage in shell history and session JSONL/SQLite. Outputs a security score (0–100) and five reports — Markdown, JSON, classified secrets inventory with redacted fingerprints, prioritised action plan, and a cyberpunk-themed HTML report that auto-opens in your browser. No network, no auto-remediation, no raw secret values written anywhere.
Quick start
**Install the skill globally** (works from any project, every Claude Code session):
git clone https://github.com/bartek-filipiuk/ai-agent-audit.git ~/.claude/skills/ai-agent-audit
chmod +x ~/.claude/skills/ai-agent-audit/scripts/run-audit.sh \
~/.claude/skills/ai-agent-audit/scripts/aggregate.sh \
~/.claude/skills/ai-agent-audit/scripts/lib/*.sh \
~/.claude/skills/ai-agent-audit/scripts/modules/*.sh
The `SKILL.md` at the repo root is what Claude Code auto-discovers.
**Run directly without an agent:**
bash ~/.claude/skills/ai-agent-audit/scripts/run-audit.sh
# HTML report auto-opens in your browser at the end.
**Or — let Claude Code handle it.** Drop one of these prompts into any session:
Run the ai-
Related Skills
Checkov
Bootstrap Checkov on a developer laptop, run static or plan-level Terraform security scanning for AWS/Azure/GC
Orca Agent Cleanup
Safely audit and quarantine Orca-installed agent skills, hooks, and CLI residue on Windows, macOS, and Linux.
Universal Re Skill
Universal reverse engineering, 40+ vuln classes & working PoC generation for Android/iOS/Windows PE/Linux ELF/
Sanctuary Framework
Open-source security for AI agents: kernel-enforced egress control on macOS and Linux, keys only the operator
Antivirus
Native macOS LOCAL MACHINE security audit -- XProtect state, persistence mechanisms (LaunchAgents/Daemons, log
Expo Performance Audit
An installable agent skill for reviewing an Expo app before release. It inspects project code and configuratio
Related Agents
Cto Dep Health
CTO-grade dependency health review. Evaluates supply chain risk, version currency, license exposure, and wheth
Theme Evidence Collector
Builds an evidence pack for one assigned theme, collecting real data on demand, supply, capex, policy, earning
11 New Link Opportunity
Ten warm link targets already covering our topic, with the pitch angle for the best one.