Agent Security Review
A first-pass audit of agent config files, then a checklist: credentials, untrusted content, network, shared memory.
$90
Works with the AI Agents you already use
Agent Security Review
Example session with this skill installed
Do a security review of how coding agents are set up in this repo. Report what you find and do not change any file.
- Read your context and instructions
- Compiled the agent security review
Summary
The agent ran the file audit, then walked the four areas of the checklist (credentials, untrusted content, network, shared memory) and ranked the fixes. It changed no files and did not print the secret value. Output below is from running the audit script on a small test project.
Audit output
$ python3 scripts/audit_agent_files.py .
HIGH .claude/settings.json:1: permission checks switched off
HIGH .mcp.json: MCP server tracker uses plain http
HIGH .mcp.json: MCP server tracker holds a literal value for API_TOKEN
HIGH .mcp.json:1: secret-like value (assigned secret)
WARN .gitignore: .env is not listed, so a secret file could be committed
WARN AGENTS.md:1: pipes a download into a shell
INFO .mcp.json: MCP server docs is remote; its replies are untrusted text
Exit code 1, because of the HIGH lines.
Ranked fixes
| Area | Question | Answer | Evidence | Fix |
|---|---|---|---|---|
| Credentials | Does a config hold a literal secret? | yes | .mcp.json, server tracker | Use ${API_TOKEN} and set it in the environment. Rotate the token, because it was in a file. |
| Untrusted content | Can the agent run a command after reading outside text without approval? | yes | .claude/settings.json:1 | Turn permission checks back on. |
| Network | Does an MCP server use plain http? | yes | .mcp.json, server tracker | Use https, or a server on this machine. |
| Shared memory | Who can edit the instruction files? | not verified | Check repo write access and review changes to AGENTS.md. |
What was not checked
Dependencies, whether any hook really blocks anything, and the machine itself. A clean audit would not be proof of safety.
Connects securely to your tools. The creator never sees your data.
About this skill
When a coding agent works in your repo it reads text, runs commands and holds your credentials. This skill reviews what it can reach and what can reach it.
Step one is a script over the files that steer an agent (CLAUDE.md, AGENTS.md, MCP and settings files, hooks, rules): secret-like values (never printed), permission checks switched off, MCP servers on plain http, unpinned packages, literal tokens in config, a tracked .env file, a .gitignore without .env, a download piped into a shell.
Step two is a 21-question checklist across four areas. The agent answers each as yes, no or not verified, with the file and line as evidence, and ranks the fixes. It changes nothing.
Standard library only. Written for Python 3.10 or later, tested on 3.13 only. 15 tests. A file it cannot read or parse is reported, never skipped silently.
What it does not do It reads a fixed list of files and a few repo settings. It does not run the project, scan dependencies for known vulnerabilities, or test whether a hook blocks anything. A clean audit is not proof of safety. It does not fix anything.
Before you use this These skills are new and have not been tested widely. They come from a project that works and that I use. You are responsible for what you run and for reviewing what your agent does with them, so check results before you rely on them. The author is not liable for loss or damage, in line with the MIT licence.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.
Skips symlinks and files over 500 KB. Does not run project code or check dependencies for vulnerabilities. Requires manual verification of skipped files.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed today
- Software
Python 3
Permissions
No network access. It reads project files and runs git ls-files to find tracked env files. It writes nothing and changes no file.