Defensive security audit mode for authorized code review and architecture assessment.
Focused review of REST, GraphQL, RPC, and webhook surfaces.
Converts raw findings into an engineering-ready report.
Focused review of authentication, authorization, session, token, and reset flows.
Focused review of business invariants, approval flows, sequencing assumptions, and abuse cases.
Reviews a pull request diff for security regressions.
Review an authorized API surface for access control, mass assignment, schema validation, rate limiting, SSRF, error leakage, webhook verification, and unsafe defaults. Use for REST, GraphQL, RPC, and webhook handlers.
Perform a defensive review of authentication and authorization flows in an authorized codebase. Use for login, session, MFA, OAuth, password reset, cookie security, JWT validation, impersonation, privilege checks, and object-level access control.
Review an authorized application for business-logic vulnerabilities, workflow abuse, approval bypasses, replay conditions, quota circumvention, plan enforcement bugs, and state-transition errors. Use for billing, invites, approvals, refunds, admin actions, and multi-step workflows.
Review an authorized pull request diff for security regressions. Use when changes modify trust boundaries, auth logic, data-access scope, file handling, logging, headers, or secrets.
Review an authorized codebase for ORM misuse, N+1 query patterns, authorization-after-fetch bugs, raw SQL risks, cache key collisions, and missing tenant scopes. Use for data-access layers and security-adjacent performance pitfalls.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Defensive security audit skill pack for agentic code review and web application assessment.
Patchman is a skill and plugin bundle for authorized security reviews. It operates in read-first, review-first mode — inspecting code and architecture against OWASP and common appsec failure patterns, then producing structured findings with actionable remediation guidance.
Supported agents: Claude Code · Codex · Cursor · Windsurf · Copilot · Gemini-style skill installers
claude plugin marketplace add https://github.com/MuhammedZohaib/patchman.git
claude plugin install patchman@patchman-marketplace
Restart Claude Code. The session hooks activate automatically.
Verify installation
claude plugin list
Uninstall
claude plugin uninstall patchman@patchman-marketplace
git clone https://github.com/MuhammedZohaib/patchman.git
claude plugin marketplace add ./patchman
claude plugin install patchman@patchman-marketplace
git clone https://github.com/MuhammedZohaib/patchman.git
mkdir -p ~/.codex/plugins
cp -R patchman/plugins/patchman ~/.codex/plugins/patchman
codex marketplace add ./patchman
Use ~/.codex/plugins/patchman if you want to point Codex directly at the plugin path.
Use codex marketplace add ./patchman if you want Patchman to appear in Codex marketplace or picker discovery.
| Mode | Command |
|---|---|
| Full security audit | /security-audit focus=full severity>=medium output=report |
| Auth review | /auth-review area=login,session,reset |
| Business logic review | /bizlogic-review feature=billing-upgrade workflow=invite-approval |
| API review | /api-review surface=public-api include=authz,rate-limit,headers |
| ORM / data-access review | /query-review path=app/models include=n-plus-one,tenant-scope |
| PR diff review | /pr-diff-review base=main head=feature/auth-refactor |
| Quick triage | /quick-triage path=admin/ reason=pre-release |
| Threat modeling | /threat-model feature=file-import |
| Audit report | /audit-report format=engineering-summary |
Full audit
Run a full security audit on this repo. Prioritize broken access control, unsafe defaults,
tenant isolation, secret handling, and exploitable auth issues. Use the Patchman findings format.
Targeted review
Review only the password reset flow. Focus on token lifetime, replay attacks, host header
trust, user enumeration, and session invalidation after reset.
PR review
Audit this pull request as a defensive security reviewer. Flag regressions, rank by severity
and confidence, and suggest minimal safe patches.
Every finding includes:
Patchman is for authorized defensive auditing only.
In scope: secure code review, architecture review, configuration review, exploitability analysis in plain language, remediation planning
Out of scope: unauthorized intrusion, exploit weaponization, credential harvesting, malware or persistence guidance, destructive payloads, live attack chains
Patchman infers risk from static code and configuration. It does not replace runtime validation and will request missing deployment, proxy, or identity-boundary context when evidence is insufficient.
patchman/
├── .claude-plugin/
├── .agents/plugins/
├── commands/
├── docs/
├── evals/
├── hooks/
├── plugins/patchman/
├── rules/
├── skills/
└── patchman.skill
npx claudepluginhub muhammedzohaib/patchman --plugin patchmanAutomated OWASP security checks — Web Top 10:2025, LLM Top 10:2025, API Security Top 10:2023
Perform security audit on codebase
Agentic-Security is a powerful Claude Code plugin that automatically performs Application Security Testing (SAST, SCA, secrets detection, and more). Think of it as the easy button for making your Claude-generated code safe and secure.
OWASP-style review: injection, auth, data exposure, weak crypto. Severity-ranked with file:line + fix.
Specialized security review subagent
AI-powered cybersecurity code review with 8 specialist agents, OWASP Top 10:2021, CWE Top 25:2024, MITRE ATT&CK v15, and framework-aware false-positive suppression