Skip to content

Guide · Agent skill

How to use the Security Audit and Code Review agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The security-audit skill is a set of written guidelines that teaches an AI agent to review code, designs and data flows through an application security lens. It covers the OWASP Top 10, STRIDE threat modeling and common secure-coding rules. This guide explains what the skill changes, how to install it, how to ask for a review in plain language, and where its limits are, so you can use it for a second pair of eyes without treating it as a formal audit.

Security Audit and Code ReviewRightNow-AI/openfang · Apache-2.0

Quick start

  1. 1Download the ZIP. Get the security-audit skill ZIP from this page.
  2. 2Unzip the skill folder. Extract it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder.
  3. 3Or upload in the Claude apps. Go to Settings → Capabilities → Skills and upload the skill.
  4. 4Make a scoped request. Name the file, endpoint or pull request you want reviewed and the risks you care about.
  5. 5Check the findings. Verify each flagged issue against your code and the relevant OWASP guidance before changing anything.
  6. 6Run real scanners separately. Use tools such as Semgrep, CodeQL or npm audit yourself, since the skill does not run scans.

What the security-audit skill makes the agent do

An agent skill is a folder containing instructions that an AI agent reads to change how it approaches a task. This skill is a single file, SKILL.md. It tells the agent to act as a senior application security engineer who identifies flaws using the OWASP framework, analyses CVE reports for impact, and recommends practical fixes.

The guidance covers six areas: SAST tools in CI, DAST scanning of staging environments, dependency scanning, authentication review, STRIDE threat modelling for new features, and checking authorization for IDOR. It also lists common patterns such as parameterized queries and Content Security Policy, and pitfalls such as client-side-only validation, logging sensitive data, using MD5 or SHA-1 for passwords, and exposing stack traces to users.

Install the security-audit skill

Download the ZIP for the skill from this page. Unzip it into one of these locations:

You can install it for yourself across projects by unzipping into ~/.claude/skills/. You can also install it for a single project by unzipping into that project's .claude/skills/ folder.

In the Claude apps, you can instead upload the skill under Settings → Capabilities → Skills.

  • Personal: ~/.claude/skills/
  • Project only: .claude/skills/ inside your project folder
  • Claude apps: Settings → Capabilities → Skills, then upload

Trigger the skill with natural requests

You do not need a special command. Describe the security task in plain language and mention what you want reviewed. The agent uses the skill when the request matches its description: security audit, OWASP, CVE analysis, code review, or penetration testing methodology.

Be specific about the scope. A request that names a file, endpoint, or pull request gives the agent something concrete to check.

  • Review this pull request for common web security mistakes, especially authorization.
  • Check this endpoint for IDOR. Does every query verify the logged-in user owns the record?
  • Suggest a STRIDE threat model for the new file upload feature.
  • Look at how this code hashes passwords and tell me if it is acceptable.
  • Which SAST and dependency scanning tools should our CI run for a Node.js service?

What kinds of findings to expect

Because the skill is a set of guidelines, the agent reasons about your code and designs against them. Typical findings include injection risks from string-built SQL, broken authorization where ownership is not checked, weak password hashing, and error responses that expose internal details. For each, the agent can suggest a fix.

The skill recommends external tools such as Semgrep, CodeQL, Bandit, OWASP ZAP, Burp Suite, npm audit, cargo audit, pip-audit and Snyk. It does not run them. You run those tools yourself, and the skill can help you decide what to configure and how to read the results.

Safety and what the skill does not do

The skill declares no required dependencies. It does not run scripts and does not use the network. Its own files only contain text guidance, so installing it does not add scanners or execute code on your machine.

Its findings are general methodology, not a certified penetration test or compliance sign-off. Verify important findings with a qualified security professional. The file frames itself around defence, but its attacker-style language is meant for securing your own systems. Do not use it against systems you do not own.

What people use it for

  • Reviewing a feature or pull request for injection, broken authorization and error-message leaks before merge.
  • Drafting a basic security checklist for CI, covering SAST, dependency scanning and secret handling.
  • Running a STRIDE threat model on a new feature to list likely threats and mitigations.
  • Checking password storage and session cookie settings such as HttpOnly, Secure and SameSite.
  • Learning the OWASP Top 10 by asking the agent to explain each risk with examples from your own code.

Frequently asked questions

How do I install the security-audit agent skill?

Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. In the Claude apps, you can instead upload it under Settings → Capabilities → Skills.

Do I need anything else installed to use it?

The skill lists no requirements and does not run scripts or use the network. It is a text guideline file, so you only need an agent environment that supports skills.

Is the security-audit skill free?

The skill is published under the Apache-2.0 licence. Check the repository licence file for the terms that apply to your use.

Does this skill run security scans on my code?

No. It recommends tools such as Semgrep, CodeQL, OWASP ZAP and npm audit, but you must run them yourself. The skill gives written guidance and reasoning about your code.

Can this replace a professional penetration test or security audit?

No. It provides general methodology, not a formal audit or compliance sign-off. Its findings need verification by an expert.

How is this different from running a SAST tool like Semgrep or CodeQL?

SAST tools scan code with fixed rules and report matches. This skill has the agent reason through your code and designs using OWASP, STRIDE and secure-coding rules, and suggest fixes. The two complement each other.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use this skill if you are a developer wanting a second look at features or pull requests for common web security mistakes, a team drafting a basic CI or threat-modelling checklist, or a student learning the OWASP Top 10. Pick a formal penetration testing service or a dedicated scanner if you need certified results, compliance sign-off, or automated scanning.

Download the skill