Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

owasp-audit

БесплатноЗапускает вложенные скриптыНе проверен

Audit application source code against the OWASP Top 10:2025 categories — broken access control (incl. SSRF), security misconfiguration, software supply chain…

briiirussellот briiirussell★ 541 звезда на GitHub

Об этом скилле

OWASP Audit — Source Code Security Review

Perform a systematic security audit of application source code against the OWASP Top 10:2025. Every candidate is traced, then independently challenged, before it becomes a finding. Coverage is recorded per surface and trust boundary, so "clean" means someone actually read the code.

Cross-references:

  • api-audit for a surface-driven pass over every API endpoint (shares the recon, verification, and orchestration references)
  • web-pentest "Combined white-box + black-box mode" when you have both the source and a running instance you're authorized to test
  • business-logic-testing to prove race conditions and logic flaws dynamically (A06)
  • dependency-audit for the full A03 supply-chain picture; secrets-audit for leaked credentials
  • threat-modeling for the principal / trust-boundary vocabulary used in recon
  • finding-triage to take a single finding from this report to a defensible disposition

Authorization and Mode

Only audit code the user owns or is authorized to review. Any live check (for example curl -I against a deployed origin) needs the same authorization for that host and stays non-destructive.

Pick the mode before starting:

  • Guidance (default): a question, a single file, or "how do I secure X". Answer directly. Findings still follow the verdict rules below. No ledger required.
  • Full audit: the user explicitly asks to audit or security-review a codebase, a release, or a PR. Run the full workflow below.
  • Diff / PR-scoped: the user wants a branch, PR, or commit range reviewed, or a pre-merge gate. Run the full workflow limited to the change, using references/diff-review.md.

If it's ambiguous, ask one question: guidance pass or full audit (and which profile)?

Workflow (full audit)

  1. Scope: what's in, what's out, mode, and run profile
  2. Recon: write architecture.md and coverage.json before hunting
  3. Hunt: work the category checklist unit by unit (subagents for large codebases)
  4. Verify every finding: an independent refutation pass gives each candidate one verdict
  5. Coverage critic: look for unmapped surfaces and thin coverage
  6. Write and validate findings.json
  7. Render the report from the JSON

Write everything to security-audit/ at the repo root (ask whether to commit or gitignore it). Re-runs read the prior files from there.

Step 1 — Scope

  • Language, framework, runtimes, deploy target
  • In scope / out of scope, with a reason for each exclusion
  • Mode (full or diff) and run profile: quick, standard (default), or deep. Profiles change breadth and redundancy, never the evidence bar. See references/orchestration.md.
  • Prior run? Load the previous findings.json and coverage.json and carry forward by fingerprint (orchestration.md "Re-runs and carry-forward"). Never re-raise a rejected claim whose control is unchanged.

Step 2 — Recon (read-only)

Before grepping for vulnerabilities, map the system (references/recon-and-coverage.md):

  • Every lower-trust principal (anonymous, user, other tenant, webhook sender, job runner) and the file:line where its controls live
  • Entry surfaces: routes, server actions, loaders, tRPC procedures, GraphQL resolvers, webhooks, jobs, cron, uploads
  • Sinks: DB writes/raw queries, exec, filesystem, outbound HTTP, HTML rendering, email, paid third-party calls, redirects
  • What's deployed vs what's in the repo (proxy, CDN, IdP, env). These become needs_validation blockers later
  • Frameworks and BaaS. Match package.json dependencies and config files against the detection table in references/frameworks/README.md (for example next + next.config.* → Next.js, @supabase/* or supabase/config.toml → Supabase). Load only the matching playbooks, add their surfaces to the ledger, and work their checks in Step 3. Their findings use the same categories, verdicts, and format as the rest

Write architecture.md (≤ ~1,000 words) and seed coverage.json with one planned unit per surface × boundary × OWASP category.

Step 3 — Hunt

Work through the Audit Checklist per ledger unit, not per category in the abstract. For each unit, read the entrypoint, follow data to every sink, and record what you checked even when nothing is wrong.

  • Large codebase: split units across isolated hunter subagents, unauthenticated surfaces first. Only the coordinator writes coverage.json / findings.json. Hunter prompt, result shape, and the sequential fallback are in references/orchestration.md.
  • Source and a running app available (and authorized): use web-pentest "Combined white-box + black-box mode" so code findings guide live tests and live anomalies prioritize code review.
  • A candidate needs a lower-trust principal, the i
Полный SKILL.md на GitHub

Установить owasp-audit в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Glob
Bash(npm audit)
Bash(npm audit --omit=dev)

Вложенные файлы

references/checklist-details.mdreferences/coverage.schema.jsonreferences/diff-review.mdreferences/findings-format.mdreferences/findings.schema.jsonreferences/frameworks/README.mdreferences/frameworks/django.mdreferences/frameworks/electron.mdreferences/frameworks/firebase.mdreferences/frameworks/nextjs.mdreferences/frameworks/rails.mdreferences/frameworks/supabase.mdreferences/orchestration.mdreferences/recon-and-coverage.mdreferences/severity-calibration.mdreferences/to-sarif.mjsreferences/validate-coverage.mjsreferences/validate-findings.mjsreferences/verification.mdreferences/webhooks-and-parsers.md

FAQ

Что делает скилл owasp-audit?

Audit application source code against the OWASP Top 10:2025 categories — broken access control (incl. SSRF), security misconfiguration, software supply chain failures, cryptographic failures, injection, insecure design, authentication failures, software and data integrity, logging and alerting failures, mishandling of exceptional conditions — with recon, a coverage ledger, per-finding verification, and a findings.json report. Use when the user mentions 'OWASP,' 'OWASP Top 10,' 'security audit,' 'security review,' 'secure code review,' 'code security review,' 'vulnerability audit,' 'find vulnerabilities,' 'appsec review,' 'application security audit,' 'check for security issues,' 'review this PR for security,' 'pre-merge security check,' 'diff review,' 'broken access control,' 'IDOR,' 'SQL injection,' 'XSS,' 'SSRF,' 'webhook security,' or wants to check their codebase for common security weaknesses.

Как установить скилл owasp-audit?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл owasp-audit запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить owasp-audit с