AI Security Crew

Security for AI coding agents, covering both the code they write and the actions they take.
AI coding agents create two kinds of risk:
- The code. The agent writes a feature without thinking about how it can be attacked, adds packages it has never checked, and rarely reviews its own output.
- The agent. The agent reads text it did not write: READMEs, web pages, issue threads, tool output. A planted instruction in any of them can steer it into running commands with your privileges, such as sending your credentials somewhere or installing a lookalike package.
AI Security Crew covers both, in one Claude Code plugin.
| Part | Protects | What it does |
|---|
| Threat review | The code | Before coding, the agent gets the threats to guard against and the countermeasures to build in, from a library of components, threats and countermeasures |
| Dependency checks | The code | When packages are added, confirms they exist and scans them for CVEs, then has the agent check whether the vulnerable code is actually reached |
| Code review checklist | The code | After coding, the agent reviews its own code against a checklist for the parts it built. Your code is never sent to the tool |
| Runtime guard (asc-guard) | The agent | Before each tool call, a decision model judges the call and the guard allows it, asks you, or denies it. Tool output is checked for injected instructions |
How it fits together
before coding while the agent works after coding
───────────── ───────────────────── ────────────
threat review ──► asc-guard judges every tool call ──► code review checklist
threat model dependency checks on new packages
The first three parts are an MCP server plus skills: they give the agent knowledge and checklists, and the agent does the work. The guard is different: it runs as a client hook outside the model, so an agent that has been misled cannot skip it.
Install
Claude Code plugin (recommended)
/plugin marketplace add Srajangpt1/ai-security-crew
/plugin install mcp-security-review@ai-security-crew
This installs everything. The MCP server and the guard run through uv, so install that first.
| You get | Notes |
|---|
MCP server (sec-review) | The tools listed under Code security. Starts from GitHub through uvx |
| Skills | /security-review before coding, /verify-code after coding, /threat-model for new features. They use the MCP tools and fall back to plain guidance without them |
| Guard hooks | Off until you set TYPESAFE_API_KEY. Without the key they exit at once and add no delay. See Agent security |
MCP server only (any MCP client)
The server is not on PyPI. Run it from GitHub with uv:
Claude Code
claude mcp add sec-review -- uvx --from git+https://github.com/Srajangpt1/ai-security-crew mcp-security-review
Cursor, Claude Desktop, Windsurf, and other MCP clients
Add this to the client's MCP config (.cursor/mcp.json, claude_desktop_config.json, and so on):
{
"mcpServers": {
"sec-review": {
"command": "uvx",
"args": [
"--from", "git+https://github.com/Srajangpt1/ai-security-crew",
"mcp-security-review"
]
}
}
}
Docker instead of uv
docker build -t mcp-security-review:latest .
{
"mcpServers": {
"sec-review": {
"command": "docker",
"args": ["run", "--rm", "-i", "mcp-security-review:latest"]
}
}
}
To run as an HTTP service instead of stdio, add --transport streamable-http (or sse) and publish port 8000:
docker run --rm -p 8000:8000 mcp-security-review:latest --transport streamable-http
The server sends its workflow to the connected agent when it starts, so there is nothing else to configure.
Code security
What your agent sees
For the task "Let users upload profile photos", the agent picks the file-upload component and gets back, trimmed: