Claude Code slash command

Claude Security Audit

Claude Code slash command for white-box security auditing with OWASP Top 10:2025 and NIST CSF 2.0 mapping

25 stars 9 forksSlash commands Source

Install

From source
git clone https://github.com/afiqiqmal/claude-security-audit.git

From the README

Claude Security Audit

A Claude Code slash command for running comprehensive white-box and gray-box security audits on your projects, with findings mapped to OWASP Top 10:2025, CWE, NIST CSF 2.0, SANS/CWE Top 25, OWASP ASVS 5.0, PCI DSS 4.0.1, MITRE ATT&CK, SOC 2 and ISO 27001:2022.

Features

- Slash Command - Run /security-audit in any project from Claude Code
- Local Output - Report saves to ./security-audit-report.md in your project root
- OWASP Top 10:2025 Coverage - All 10 categories explicitly tested (A01-A10:2025)
- CWE Mapping - Every finding tagged with specific CWE IDs
- NIST CSF 2.0 Mapping - Every finding maps to Govern, Identify, Protect, Detect, Respond or Recover
- Multi-Framework Compliance - SANS/CWE Top 25, OWASP ASVS 5.0, PCI DSS 4.0.1, MITRE ATT&CK, SOC 2 and ISO 27001:2022
- White-Box Testing - 20 attack categories with 475+ individual checks
- AI/LLM Security - Prompt injection, output sanitization, RAG poisoning, cost monitoring, tool calling permissions
- Diff Mode - Scan only git-changed files for fast PR-level reviews
- Recheck Mode - Re-audit specific files or directories after fixes
- Gray-Box Testing - Role-based access probing, API endpoint testing, credential boundary checks, error differential analysis
- Security Hotspots - Flags sensitive code that needs careful review during PRs
- Code Smells - Quality patterns that breed security bugs
- Multi-Framework Detection - Auto-detects and loads checks for up to 3 frameworks (Laravel, Next.js, FastAPI, Express, Django, Rails, Spring Boot, ASP.NET Core, Go, Flask, Nuxt.js, SvelteKit)
- Findings First - Shows findings by default, append --fix to include remediation code blocks
- Lite Mode - Append --lite to reduce token usage (OWASP + CWE + NIST only, skips extra compliance mapping)
- CI Gating…
Read the full README on GitHub

How custom slash commands work

  • A slash command is a Markdown file. Put it in ~/.claude/commands (for you) or .claude/commands (for a project), and it becomes /file-name inside Claude Code. Claude Code now treats commands and skills the same way, so .claude/skills/name/SKILL.md also works.
  • Arguments you type after the command are passed in as $ARGUMENTS.
  • If the repo is a plugin marketplace, installing it from /plugin adds the commands for you.
Claude Code docs

Details

Language
Shell
License
MIT
Last updated
4 March 2026

FAQ

What is Claude Security Audit?

Claude Code slash command for white-box security auditing with OWASP Top 10:2025 and NIST CSF 2.0 mapping It is a slash command for Claude Code, from afiqiqmal/claude-security-audit on GitHub.

How do I install Claude Security Audit?

Clone afiqiqmal/claude-security-audit from GitHub and follow the setup steps in its README.

Is Claude Security Audit popular?

afiqiqmal/claude-security-audit has 25 GitHub stars and 9 forks. It was last updated on 4 March 2026.

More slash commands

Browse the most popular Claude Code mods, all slash commands, or the skills and MCP server directories.