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
- Security Ownership Map — Map people-to-file ownership, compute bus factor, and identify risks 14.6k ★
- Skills Audit Report — Date: 2026-02-15 Auditor: Automated Skill Quality Audit Scope: Recently added skills in business-growth/, fina 5.3k ★
- Agentseal — Security toolkit for AI agents 344 ★
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
Antivirus
Native macOS LOCAL MACHINE security audit -- XProtect state, persistence mechanisms (LaunchAgents/Daemons, log
Orca Agent Cleanup
Safely audit and quarantine Orca-installed agent skills, hooks, and CLI residue on Windows, macOS, and Linux.
Sanctuary Framework
Open-source security for AI agents: kernel-enforced egress control on macOS and Linux, keys only the operator
Auth Load
Store + validate authenticated test-account credentials for the active web-vuln tier. Paste session material (
Review Code Security
Tiered application security audit (T1 pre-commit, T2 feature complete, T3 sprint end) covering OWASP, secrets,
Related Agents
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.
Mql Trading Dev
Use this agent when the user is working on MQL4/MQL5 or C/C++ development related to MetaTrader platforms, inc