# Security Review: OWASP Top 10 + Lethal Trifecta

> Read-only security gate for AI-written PRs. Every finding shows the request that reaches the defect and what the attacker gets back, mapped to OWASP 2021 and a CWE. New tools and endpoints are also traced for the lethal trifecta: private data, untrusted input and an outbound call in one flow.

Security Review: OWASP Top 10 + Lethal Trifecta is a free AI agent skill on Agensi by kim-svadoz, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [kim-svadoz](https://www.agensi.io/creators/kim-svadoz)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/security-review-owasp-top-10-lethal-trifecta
- Tags: code-review, security, owasp-top-10, appsec, vulnerability-research

## About this skill

A security review that reports only what it can prove.

An AI can write a pull request faster than anyone can review it, and a model reading a diff does not picture an attacker. This skill does. Before merge it names the request that reaches the defect, the rows it returns, the token that leaves the host — and when there is no such evidence, it says so instead of guessing.

Every finding carries a concrete input, the outcome that input produces, the OWASP Top 10 (2021) category and the CWE. A defect that cannot be demonstrated goes under unverified assumptions, not into the findings list, so the report stays trustworthy when it is short.

The part most reviews skip is the lethal trifecta. When a change adds a tool, endpoint or handler, the skill checks whether one flow can reach private data (secrets, tokens, user records, internal services), act on content an outside party controls (request input, fetched pages, issue text, model-produced arguments), and send data out. All three in one flow is an exfiltration path, and the report names the input leg, the code path and the output leg. A mitigation has to remove a leg, so a blocklist or an instruction telling the model not to leak data does not count.

### Why this exists

This is not a demo written for a marketplace. It is the security gate from sugo (github.com/kim-svadoz/sugo), an open-source Claude Code plugin that runs each task through spec, implement, test and review, and decides each step from real build and test records instead of an agent reporting that it is done. In that pipeline the review step cannot finish without the lethal-trifecta check: a warning blocks the review until the mitigation names the leg it removes.

Cutting it out is what produced this listing: one SKILL.md, no scripts, no network calls and no credentials, so any agent that loads it can run the review, and you can read the whole procedure before you load it. The findings in the screenshots are the ones it produced on the sample diff included below, not an illustration.

### What is inside

- SKILL.md: the review procedure. Scope, trust boundaries, the OWASP walk, the trifecta test, severity rules, the exact report format and the verdict rules (BLOCK / CHANGES REQUESTED / PASS).
- references/owasp-2021-cwe-matrix.md: for each of the ten categories, the code patterns to inspect, the evidence a finding needs and the CWE IDs to map to.
- references/lethal-trifecta.md: how to judge the three legs from code, how to trace the flow, a mitigation catalogue with the leg each one removes, and the mitigations that do not count.
- examples/sample-diff.patch: a small change containing an SQL injection, a missing authorization check, an SSRF, a trifecta tool, a session token in logs and a CSV formula injection. Applies with git apply.
- examples/sample-report.md: the report this skill produces for that diff, with the coverage table, the trifecta table and the unverified assumptions.

Use it when you want a security review, a vulnerability check on a pull request, an AppSec pass before release, or a review of a new MCP tool or endpoint. It is written to the SKILL.md standard, so any agent that loads SKILL.md can run it. It is read-only: it reports, it does not edit code.

### What it does not do

- No dynamic testing or request execution. Findings come from reading the code.
- No dependency advisory lookup. An outdated-component claim is marked unverified without a resolved lockfile.
- No infrastructure review. Deployment configuration outside the repository is listed as unverified.

## Requires

- Git

## Known limitations

Read-only static analysis. Cannot verify runtime infrastructure, environment secrets, or code outside the provided diff/files. Static reading cannot confirm dependency version behaviors.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Security Review: OWASP Top 10 + Lethal Trifecta skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this security review differ from just asking a standard LLM to check my code for bugs?

This skill goes beyond basic pattern matching by enforcing a strict 'evidence-based' standard, requiring a clear exploit path for every finding to eliminate the 'fluff' and false positives common in generic AI security prompts.

### Which programming languages and frameworks are supported by this skill?

The skill is language-agnostic and functions with any text-based source code, git diff, or patch file, making it compatible with any programming language or framework your agent is currently handling.

### What is the 'lethal trifecta' test and why is it important for my agent's security?

The 'lethal trifecta' is a specialized audit that identifies dangerous intersections where code handles private data, accepts untrusted input, and has access to external networks, specifically targeting complex data exfiltration risks.

### Does this skill scan my live production environment or external dependencies?

This skill provides a static, read-only audit of the code provided; it does not analyze your live infrastructure, runtime environment, or the internal logic of compiled third-party dependencies.

### What exactly is included in the purchase of this skill?

You receive the complete security review skill logic, pre-configured to map findings to OWASP Top 10 and CWE standards, ready to be integrated into your existing AI agent workflow or PR review pipeline.

### Can I use this to audit my agent's own prompts and MCP tool definitions?

Yes, the skill is specifically designed to audit LLM-centric components, including prompt instructions and agent tool definitions, to protect against indirect injection and unauthorized data access.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
