Skip to main content
command CX Codex

security-audit-static — Claude Code command: code security scanning

security-audit-static — a command to scan code for security vulnerabilities. Analyzes files, folders, or commit ranges and flags risks introduced by AI or manual changes.

MIT ★ 28,211 updated 2026-10-16

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add phuryn/pm-skills
/plugin install pm-ai-shipping@pm-skills
Open on GitHub

What security-audit-static does

The command detects common security issues: injection vulnerabilities, exposed keys, unsafe cryptographic functions, hardcoded credentials, and other risks. It works on file paths, directories, commit ranges, or specific changes; by default it scans the entire repository.

Maintained in the ai-shipping plugin within phuryn/product-engineering by author Paweł Huryn. The copy here in pm-skills points to where it lives. If the plugin is already installed, use ai-shipping:security-audit-static instead — the local version will not load alongside it.

To use it, install the ai-shipping plugin from Claude Code's marketplace, then disable pm-ai-shipping in your local commands to avoid duplication.

What it helps with

  • detect injection and data leak vulnerabilities
  • identify unsafe cryptographic functions
  • find hardcoded credentials and API keys
  • audit code changes between commits for security issues
  • review AI-generated code before deployment

Example prompts for the agent

  • Check the security of src/auth.js
  • Find vulnerabilities in changes between main and feature-branch
  • Scan the backend/ directory for security problems

How to install security-audit-static

1Plugin marketplace

/plugin marketplace add phuryn/pm-skills
/plugin install pm-ai-shipping@pm-skills

2Manually: put the files in place

.claude/commands/security-audit-static.md

Call it with /security-audit-static. For all projects use ~/.claude/commands/

Questions about security-audit-static

How do I install security-audit-static in Claude Code?

Run /plugin marketplace add phuryn/pm-skills in Claude Code, then /plugin install pm-ai-shipping@pm-skills. After installation, the /security-audit-static command will be available.

What does security-audit-static check for?

It detects common vulnerabilities: injection attacks, exposed keys, unsafe cryptography, hardcoded passwords, and similar security issues.

Where is this command maintained now?

In the ai-shipping plugin at phuryn/product-engineering. If it's installed, use ai-shipping:security-audit-static instead of this copy.

Source text

security-audit-static.md · MIT
---
description: Moved to phuryn/product-engineering, where it is maintained in the ai-shipping plugin; this copy says where it went and how to install it. Use when asked to audit AI-built code for security risks.
argument-hint: "<path or area> | <base>..<head> | changes; defaults to the whole repository"
---

# /security-audit-static has moved

`security-audit-static` is maintained in [phuryn/product-engineering](https://github.com/phuryn/product-engineering/tree/main/ai-shipping/skills/security-audit-static), in its `ai-shipping` plugin, with the rest of the AI Shipping Kit. This command, now a skill there, stays in pm-skills only so an agent that loads it knows where it went.

- **`ai-shipping:security-audit-static` is installed:** use it, not this copy.
- **It isn't:** tell the user that `security-audit-static` moved and how to install it, then help with the task as you would without it:

  ```bash
  claude plugin marketplace add phuryn/product-engineering
  claude plugin install ai-shipping@product-engineering
  ```

  Other agents: [the repository's README](https://github.com/phuryn/product-engineering#install). Once it's installed, turn off `pm-ai-shipping` here, so this copy no longer loads beside it.

© Paweł Huryn · MIT · phuryn/pm-skills

Similar slash commands

All slash commands for Security →
audit-prep-assistant trailofbits audit-prep-assistant prepares codebases for external security reviews using Trail of Bits' checklist. It helps run static analysis, boost test coverage, and generate system documentation. CX Codex +1 6,300installs dfyx-code-security-audit reason-machines The dfyx-code-security-audit skill audits source code for vulnerabilities through data-flow analysis and business-logic review. Use it for a project security check or pentest preparation. CX Codex +1 332installs claude-security official Anthropic claude-security scans your code for vulnerabilities inside the Claude session, challenges every finding, and turns confirmed ones into patches. ★ 47,914repo stars vuln-scan official anthropics vuln-scan is a Claude Code skill that statically scans source code for vulnerabilities and writes findings to JSON and markdown for triage. CX Codex +1 1,200installs security-hardening Seth Hobson security-hardening — a Claude Code command that runs a defense-in-depth security audit across application layers. It scans for vulnerabilities, builds a threat model, and waits for approval before fixing anything. CX Codex +1 437installs architecture-review davila7 architecture-review — a Claude Code command that walks through project structure and returns concrete improvement recommendations. Run it when the codebase has grown past the point where you can hold it in your head. CX Codex +1 3,419installs update-user-attrs official Anthropic The update-user-attrs Claude Code command sets per-user configuration through Microsoft Entra ID extension attributes. It updates one user or processes a CSV file. CX Codex +1 ★ 41,441repo stars entra-app official Anthropic This Claude Code command explains how to register a Microsoft Entra app in your own tenant. It covers sign-in setup for Outlook, gateways, Foundry, and sovereign clouds. CX Codex +1 ★ 41,441repo stars

From the same set120

The whole set →
code-review This copy points to the current code-review skill in the ai-shipping plugin. When asked to review code, it reports the move and can proceed without the skill. CX Codex +1 465installs document-app document-app — a command to generate structured descriptions of AI-built code. Moved to the ai-shipping plugin; this installer shows where to find it and how to connect. CX Codex +1 ★ 28,211repo stars ship-check ship-check is a Claude Code command that checks whether an AI-built repository is ready to ship and points to its new home in the ai-shipping plugin. CX Codex +1 ★ 28,211repo stars derive-tests The derive-tests command maps documented app behavior to existing test coverage. The maintained version lives in the ai-shipping plugin. CX Codex +1 ★ 28,211repo stars performance-audit-static performance-audit-static runs a static performance audit on AI-written code and directs users to its updated location in the ai-shipping plugin. CX Codex +1 ★ 28,211repo stars proofread proofread is a Claude Code command that checks grammar, reasoning, and flow in pasted or uploaded text, suggesting focused fixes for drafts, documents, and emails. CX Codex +1 ★ 28,211repo stars draft-nda The draft-nda command creates professional Non-Disclosure Agreements tailored to your jurisdiction, parties, and scope of information. CX Codex +1 ★ 28,211repo stars privacy-policy Drafts a privacy policy tailored to GDPR and CCPA, complete with compliance checklists and flags for legal review. Useful when launching new apps and web tools. CX Codex +1 ★ 28,211repo stars

Project sponsors

Companies that keep this analytics open