owasp-audit

owasp-audit is a skill for Claude Code from briiirussell/cybersecurity-skills. It costs 147 tokens per session (8,508 once invoked), scanned B, original, MIT.

A source-code security review based on the OWASP Top 10, a widely used list of common web-application security risks. It checks areas such as access control, login security, data protection, injection attacks, and server-side request forgery (SSRF).

In plain words
What is it for?
Use it to review routes, APIs, forms, and other entry points for common vulnerabilities, then investigate the files and code patterns involved.
Why use it?
It gives a structured way to find security weaknesses in existing application code instead of relying on an ad-hoc review. It also maps the app's routes, data flows, and authentication boundaries.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the cybersecurity-skills plugin — 28 skills shipped together

Good fit Use it to review routes, APIs, forms, and other entry points for common vulnerabilities, then investigate the files and code patterns involved.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/briiirussell/cybersecurity-skills/owasp-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add briiirussell/cybersecurity-skills --skill owasp-audit
Clone the repo
git clone --depth 1 https://github.com/briiirussell/cybersecurity-skills

Made for: Claude Code.

Or install cybersecurity-skills, the plugin that ships this one along with the rest of its 28 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for owasp-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/briiirussell/cybersecurity-skills/owasp-audit/github.svg)](https://agentmods.dev/skills/briiirussell/cybersecurity-skills/owasp-audit)
Your own site
<a href="https://agentmods.dev/skills/briiirussell/cybersecurity-skills/owasp-audit"><img src="https://agentmods.dev/badge/skills/briiirussell/cybersecurity-skills/owasp-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for owasp-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/briiirussell/cybersecurity-skills/owasp-audit"><img src="https://agentmods.dev/badge/skills/briiirussell/cybersecurity-skills/owasp-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,508 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 27 May 2026
  • Snyk fail 27 May 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00147 $0.08508
Opus 5 $0.00073 $0.04254
Sonnet 5 $0.00029 $0.01702
Haiku 4.5 $0.00015 $0.00851

Measured 12d ago against content hash 0acac3a6ee26, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

owasp-audit scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

- Cloud metadata endpoints: AWS `169.254.169.254`, GCP `metadata.google.internal`, ECS `169.254.170.2`

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Next.js `headers()` rule merging.** Rules in `next.config.ts` `headers()` match per route and *merge* — a more-specific rule does not override headers it doesn't redeclare. Shipping `frame-ancestors 'none'` + `X-Fram
skills/owasp-audit/SKILL.md · 366 lines

How it starts

The opening of the file, as written. The whole thing — 366 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OWASP Audit — Source Code Security Review

Perform a systematic security audit of application source code against the OWASP Top 10 (2021).

Scope the Audit

  1. Identify the project's language, framework, and architecture
  2. Map entry points (routes, API handlers, form processors)
  3. Identify data flows (user input → processing → storage → output)
  4. Locate authentication and authorization boundaries

Audit Checklist

Work through each category systematically. For each, grep for known vulnerability patterns, then read flagged files for deeper analysis.

A01: Broken Access Control

  • Missing authorization checks on endpoints or routes
  • IDOR — user-controlled IDs without ownership verification
  • Auth-check ordering. Verify the authorization check runs before any branch that can reveal whether the resource exists, what state it's in, or any other resource-specific metadata. Returning 404 for "not found", 400 for "wrong state", and 401 for "not authenticated" is itself a leak — an attacker enumerates resource IDs and learns states without ever passing the auth gate. Recommended response shape: uniform 404 for everything an unprivileged caller should not see.
  • Framework RPC surfaces that don't appear as routes. Server actions and equivalents are publicly-exposed RPCs that file scans miss. Enumerate and audit each one for auth + ownership:
    • Next.js: every exported function in a file with 'use server'
    • Remix / React Router: every action / loader export
    • tRPC: every procedure
    • GraphQL: every resolver
    • Rails: non-resource controller actions
  • IDOR via foreign keys in mutation payloads. Form posts a foreign-key UUID (categoryId, projectId, teamId, organizationId) → server validates ownership of the primary record but blindly accepts the FK → ORM relation join later surfaces another tenant's data. Look for formData.get("<id>") / body.<id> passed straight to insert/update without a preceding findFirst({ where: { id, userId } }). For ORM relation joins (Drizzle with:, Prisma include, ActiveRecord includes), trace whether the join target is filtered by the same tenant/ownership predicate as the parent query.
  • Missing CSRF protections on state-changing requests
  • Role checks only on the frontend, not enforced server-side
  • Open redirect via post-auth return-to parameter — ?from=, ?next=, ?returnTo=, ?continue=, ?redirect= passed unsanitized to redirect() / Response.redirect(). Restrict to same-origin paths under the expected scope, normalize (new URL(target, "http://localhost").pathname) to defeat traversal like /admin/../foo. Also reject control bytes in the path before redirect: tab/newline/null (\t, \n, \0) — URL parsers strip these and collapse /\tevil into protocol-relative //evil; null bytes can turn the redirect into a 500. Reject any byte in [\x00-\x1F\x7F], any backslash, and any percent-encoded slash/backslash (%2f, %5c).
  • Grep for: direct object references, missing auth middleware, user ID from request params, redirect(.*from, redirect(.*next, redirect(.*returnTo

Read the full file on GitHub · 366 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 366 lines · 147 tokens per session scan B 0acac3a6ee26

Subscribe to this mod's changes

owasp-audit is a skill published in the GitHub repository briiirussell/cybersecurity-skills (391 stars, last pushed 3mo ago), licensed MIT. It adds 147 tokens to every session and 8,508 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it B with 2 findings (cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.