security-audit

security-audit is a skill for Claude Code from xsourabhsharma/ai-security-audit-pro. It costs 66 tokens per session (2,028 once invoked), scanned A, original, MIT.

A defensive security review tool for websites and web applications. It checks local code and configuration, and can inspect authorized local, staging, or public targets for common security weaknesses.

In plain words
What is it for?
Use it to review source code, settings, logs, security headers, APIs, and OWASP-related risks, then produce a security report for an owned or authorized target.
Why use it?
It helps identify security issues before they reach users while requiring authorization for active checks. It favors evidence from the project and avoids destructive testing.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/security-audit.mjs --target <path-or-url> --mode passive --out security-audit-report.md.

Part of the security-audit-pro plugin — 1 skill shipped together

Good fit Use it to review source code, settings, logs, security headers, APIs, and OWASP-related risks, then produce a security report for an owned or authorized target.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/xsourabhsharma/ai-security-audit-pro
agentmods
npx agentmods add skills/xsourabhsharma/ai-security-audit-pro/security-audit

Made for: Claude Code.

Or install security-audit-pro, the plugin that ships this one along with the rest of its 1 skill.

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 security-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/xsourabhsharma/ai-security-audit-pro/security-audit/github.svg)](https://agentmods.dev/skills/xsourabhsharma/ai-security-audit-pro/security-audit)
Your own site
<a href="https://agentmods.dev/skills/xsourabhsharma/ai-security-audit-pro/security-audit"><img src="https://agentmods.dev/badge/skills/xsourabhsharma/ai-security-audit-pro/security-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 security-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/xsourabhsharma/ai-security-audit-pro/security-audit"><img src="https://agentmods.dev/badge/skills/xsourabhsharma/ai-security-audit-pro/security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,028 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00066 $0.02028
Opus 5 $0.00033 $0.01014
Sonnet 5 $0.00013 $0.00406
Haiku 4.5 $0.00007 $0.00203

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

Security

Grade A, and why

security-audit scanned grade A with 0 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 11d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/security-audit/SKILL.md · 192 lines

How it starts

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

Security Audit Pro

Use this skill for defensive security audits only. The user must own the target or have explicit authorization before any active probing, crawler-based DAST, fuzzing, brute-force simulation, or scanner that sends vulnerability payloads.

Core Rule

Be powerful, but evidence-driven and non-destructive:

  • Prefer local source, configs, lockfiles, logs, and official docs over guessing.
  • Run passive/local checks first.
  • Ask before active DAST on a public or third-party target unless the user already gave explicit authorization for that exact target.
  • Never print secrets. If a secret-like value is found, report only file, line, type, and a short redacted prefix/suffix.
  • Do not exploit, persist access, bypass auth, dump data, run credential attacks, or cause service degradation.

Audit Levels

  • passive: local code checks plus one fetch of the supplied URL. Safe default.
  • standard: passive checks plus shallow common-exposure checks on authorized targets. The runner requires --authorized for URL targets.
  • active: runs installed active scanners such as Nuclei or OWASP ZAP where authorized. The runner requires --authorized for URL targets.
  • Diff scope: local project mode can add --diff-base <ref> to focus source scans on changed files from a Git baseline.

If the user says "everything", start with passive and standard where authorization is clear, then explain what would need explicit confirmation for active.

Baselines To Apply

Use these frameworks when triaging and reporting:

  • OWASP Top 10:2021 for application risk categories.
  • OWASP API Security Top 10:2023 for API-specific risk.
  • OWASP ASVS 5.0.0 for verification requirements.
  • OWASP WSTG for test coverage.
  • OWASP Cheat Sheet Series and Secure Headers Project for remediation.
  • CWE IDs when a finding maps cleanly.

Workflow

  1. Scope
    • Identify whether the target is a local project path, localhost URL, staging URL, production URL, API spec, or mixed scope.
    • Check for app stack, package manager, lockfiles, framework, API routes, auth/session code, and deployment config.
    • Confirm authorization before active testing if the target is public or third-party.

Read the full file on GitHub · 192 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. 11d ago First seen · 192 lines · 66 tokens per session scan A 733209e9ff19

Subscribe to this mod's changes

security-audit is a skill published in the GitHub repository xsourabhsharma/ai-security-audit-pro (4 stars, last pushed 2mo ago), licensed MIT. It adds 66 tokens to every session and 2,028 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

performing-ai-assisted-vulnerability-discovery

Using LLMs to accelerate vulnerability research and pentest workflows — generating syntax-valid fuzzing seeds and evolving grammars, fine-tuned mutation dictionaries, parallel agent-based proof-of-vulnerability generation, and evidence-driven passive analysis of real HTTP traffic via the Burp MCP server. Covers…

xalgorix/xalgorix · 91 tokens

panguard

AI agent security platform — audit skills, scan for threats, and run 24/7 protection with 9,700+ detection rules.

panguard-ai/panguard-ai · 30 tokens

attackgen-tabletop

Turn a MITRE ATT&CK/ATLAS threat group or case study — or a frontier AI agent deployed inside the organisation — into a full incident-response tabletop exercise (MSEL): scenario narrative, kill chain or agent threat scope, timestamped injects, discussion questions, and a detection-coverage scorecard, using the…

mrwadams/attackgen · 155 tokens

testing-mcp-server-security

Testing Model Context Protocol (MCP) servers and the clients that consume them for tool poisoning, prompt injection via tool descriptions/outputs, over-permissioned and local-credential-stealing tools, config/trust bypasses, and unauthenticated RCE during authorized penetration tests of AI agent infrastructure.

xalgorix/xalgorix · 66 tokens

subagent-driven-development

Use when executing implementation plans with independent tasks in the current session.

KalarisLabs/Skill-Doctor · 17 tokens

prompt-injection-auditor

Security audit of LLM system prompts, agent instruction files (SKILL.md, AGENTS.md, CLAUDE.md), and agent configurations against prompt injection attacks. Use when the user wants to (1) audit or harden a system prompt or agent instructions against prompt injection, (2) review an agent skill or system prompt for…

screem500/prompt-injection-auditor · 159 tokens