Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By xianix-teamv3.2.0MITIn 1 marketplace
Authorized web-application penetration testing with whitebox source-code analysis and optional auto-fix. Combines OWASP Top 10 dynamic probes (DAST), static code analysis (SAST via semgrep), web-ecosystem dependency CVE scanning, and secrets detection. Covers modern classes — SSTI, GraphQL, CORS, prototype pollution, expanded JWT attacks — plus the OWASP API Security Top 10 2023 (BOLA/IDOR, BFLA, mass assignment) and the OWASP Top 10 for LLM Applications 2025 (prompt injection, system-prompt leakage, improper output handling) for apps embedding an LLM/chat/agent endpoint. Findings are additively dual-labeled against OWASP Top 10 2025. Source-code recon runs first and drives targeted URL probing — including authenticated routes, real parameter names, and sink locations — instead of blind crawling. Includes a Playwright-driven probe path for SPA targets and DAST+SAST dual-confirmation. Every finding in the report contains a concrete 'How to Fix' block with before/after code; --fix applies the single top safe remediation per run. Companion plugin: infra-scanner (IaC, SBOM, network). Requires explicit --authorized flag.
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
pentest, web-security, owasp, whitebox, sast, dast, semgrep, code-analysis ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Authorized web-application penetration testing with whitebox source-code analysis.
The plugin scans the source code first, then drives the URL probing with what it found — declared routes, real parameter names, sink locations, authentication scheme — instead of guessing from the homepage. Produces local HTML, Markdown, and JSON reports.
Looking for infrastructure scanning (Dockerfile/Terraform/Kubernetes/SBOM/network ports)? See the companion
infra-scannerplugin. As of v3.0, pentest-agent is scoped strictly to web application pentesting.
| Category | Tools Used | What It Checks |
|---|---|---|
| Code Reconnaissance | grep + targeted read | Declared routes, handler_file:line, real params, auth_required, sinks (sql/nosql/xpath/ldap/cmd/xss/redirect/deser/ssrf), login_route, CSRF posture — for Express/Fastify/Koa, Flask/FastAPI/Django, Spring, Go (chi/gin/gorilla), Rails, ASP.NET, Next.js |
| OWASP Top 10 Web (DAST) | curl, playwright, nikto (optional) | Headers, path exposure, A01 BAC with --auth-token replay, A03 injection targeted at real sinks (SQLi, NoSQL, XPath, LDAP, SSTI, prototype pollution), A10 SSRF via canary probes, rate limiting, CSRF on state-changing routes only, A02 transport, CORS misconfiguration, A07 auth + expanded JWT attacks (alg:none, kid injection, RS256→HS256 confusion, weak secret, session fixation), A08 multipart upload routes, A09 verbose errors, HTTP method abuse. Auto-switches to Playwright probes when target is JS-rendered (SPA). |
| API Security (OWASP API Top 10 2023) | curl (token-driven) | API1 BOLA/IDOR (object-level, cross-user replay), API5 BFLA (function-level + method elevation), API3 mass assignment / excessive data exposure, GraphQL introspection, field-level auth, batching. Most useful with --auth-token + --low-priv-token. |
| AI / LLM App Security (OWASP LLM Top 10 2025) | curl (benign canaries) | Activates when an LLM/chat/agent endpoint is detected: LLM01 prompt injection, LLM07 system-prompt leakage, LLM02 sensitive-info disclosure, LLM05 improper output handling (model output → XSS/SQL/cmd sink), LLM06 excessive agency (SAST), LLM10 unbounded consumption (bounded check). No jailbreak-for-harm, no flooding. |
| SAST (code-level) | semgrep, bandit, gosec, brakeman | Injection sinks, XSS sinks, unsafe deserialization, weak crypto, eval/exec, hardcoded TLS bypass. Focused on handler files via recon hints for speed. |
| Dependency CVEs (web-only) | trivy, npm audit, pip-audit, govulncheck | Known CVEs at MEDIUM+ in npm, pip, maven, gem, composer, go.mod. OS packages and container layers are out of scope (see infra-scanner). |
| Secrets Detection | gitleaks, trufflehog | Hardcoded API keys, tokens, passwords in 20+ file types; optional git history scan |
| DAST+SAST dual-confirmation | code-correlator | Tags findings that fire in both static and dynamic scans as confirmed_by: ["dast","sast"] — high-signal, low-false-positive |
Standards labeling: findings keep their stable IDs and OWASP 2021 category, and are additively labeled against the OWASP Top 10 2025, OWASP API Security Top 10 2023, and OWASP Top 10 for LLM Applications 2025 (
owasp_2025/api_category/llm_category). The extra labels are rendered as badges and never affect delta comparison or.pentest-ignorerules.
# Whitebox scan against staging — run from the repo root
cd ~/code/my-web-app
/pentest https://staging.myapp.com --authorized
The --authorized flag is required. By providing it you confirm you have explicit permission to test the target.
| Flag | Description |
|---|---|
--authorized | Required. Confirms you have permission to test the target. |
--auth-token <jwt> | Valid auth token for A01 BAC testing. Web-tester replays auth-required routes with this token to confirm proper access control. Never logged. |
--low-priv-token <jwt> | Low-privilege token. Used with --auth-token to detect privilege escalation on admin routes. |
--fix | Open a draft PR with the single most important mechanically-fixable finding. Never modifies your working tree. See "Auto-fix via PR" below. |
--fix-dry-run | Print the proposed unified diff. No git operations — no branch, no commit, no PR. |
--scan-history | Scan full git history for secrets (not just working tree). |
--output-dir <path> | Where to write reports (default ./pentest-reports/). Each run gets a timestamped subfolder + a latest/ mirror; prior runs are never overwritten. May point at a separate (private) repo. Overrides reports_dir in config. |
--config <path> | Path to pentest.config.yaml policy file. |
--publish <provider> | Post executive summary to github, azure-devops, or slack. |
npx claudepluginhub xianix-team/plugins-official --plugin pentest-agentPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.