Review agent · Platform & AI
AI / LLM safety
Checks LLM application code for prompt injection and unsafe handling of model output.
Illustrative example of how this agent reviews a finding.
Why this agent matters
Prompt injection is number one in the OWASP Top 10 for LLM Applications. Once a model can call tools, injected text becomes injected actions.
Traditional scanners don't model this at all. This agent looks at where untrusted text enters a prompt and where model output is executed or trusted.
What it checks
- Untrusted text (user input, fetched pages, files) concatenated into prompts
- Model output executed, or passed into tool, shell or SQL calls
- Model output trusted without validation
- Agent tools broader than the task needs
When it marks a finding as a likely false positive
- Trusted instructions are separated from untrusted content
- Output is validated before it drives an action
The fix it suggests
- Separating instructions from untrusted content
- Validating and constraining model output
- Scoping agent tools narrowly
Scope and limits
This agent judges findings the scanners report (Semgrep for code, secrets and IaC/config, OWASP ZAP for passive website scans, our rules for imported API collections); it doesn't hunt for new bugs on its own. A finding reaches it when its scanner, CWE or rule/path keywords match this vulnerability class. It sees only the minimal code or evidence around the finding, with secrets redacted, and Claude, via Amazon Bedrock, returns a verdict with a confidence score, a plain-English explanation and a suggested fix.
Common questions
How is this different from the agent-setup review?
This agent reviews LLM application code flagged by scanners. The agent-setup reviewer inspects your agent configuration — CLAUDE.md, skills, hooks, MCP servers — as a whole.
How do I reduce prompt injection risk in an LLM app?
Limit what injected text can do: keep trusted instructions separate from untrusted content, validate and constrain model output before it drives an action, and give agent tools only the access the task needs.
Is it safe to pass model output into SQL or a shell command?
Not without validation. The agent flags model output that is executed or passed into tool, shell or SQL calls, and treats it as untrusted input like any other.
Related agents
- Network & transport security — Checks that data in transit is encrypted and certificates are actually verified.
- Privilege & file permissions — Checks file permissions, temp files, symlinks and unnecessary root.
- Mobile client security — Reviews Android and iOS code for on-device storage, transport and component exposure.
See all 21 review agents → · Agent setup reviewer · How the pipeline works
Run the AI / LLM safety agent on your repository
100 free credits, no credit card. Every finding comes with a verdict and a fix.
Get started free