pentest
Skill123 starsChanged 8 months agoMITView on GitHub
Automated penetration testing — web, API, browser, GitHub, and local code. Zero false positives. Use when user wants to hack-test their app, find vulnerabilities, or run security pentesting.
- Reads credentials
8 other projects use a version of this.
Adopted by
Most recently taken up by
- gonimar/claude-web-studiotheir own version, first seen Sep 27, 2026
- Strategic-Automation/violintheir own version, first seen Sep 22, 2026
- us/shannon-on-claude-codetheir own version, first seen Sep 19, 2026
- greglas75/zuvotheir own version, first seen Sep 6, 2026
- JoelQ/skillstheir own version, first seen Jul 22, 2026
- FilippoDeSilva/skillstheir own version, first seen Jun 26, 2026
Used with
Projects with it also use brainstorm.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
nicodianskSkillbrainstorm
Use when starting creative work - creating features, building components, adding functionality, or modifying behavior. Explores requirements through Socratic dialogue before any implementation.
Also in 3 projects that use this
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- Strategic-Automation/violin★ 145same name
- JoelQ/skills★ 30same name
- us/shannon-on-claude-code★ 15same name
- greglas75/zuvo★ 8same name
- gonimar/claude-web-studio★ 5same name
- taipt1504/agent-skills★ 4same name
- FilippoDeSilva/skills★ 2same name
- yuelenghan/orbit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository46 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- a11ySkill
- architectureSkill
- brainstormingSkill
- canarySkill
- clone-patternsSkill
- code-reviewSkill
- competeSkill
- costSkill
- demoSkill
- deploySkill
- dispatching-parallel-agentsSkill
- evalsSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- frontend-designSkill
- growSkill
- guardSkill
- index-fixSkill
- investigateSkill
- launchSkill
- learnSkill
- onboardSkill
- perf-auditSkill
- receiving-code-reviewSkill
- releaseSkill
- requesting-code-reviewSkill
- rescueSkill
- retroSkill
- revise-claude-mdSkill
- security-auditSkill
- seo-auditSkill
- seo-strategySkill
- ship-gateSkill
- sprintSkill
- staying-currentSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-git-worktreesSkill
- using-ultrashipSkill
- verification-before-completionSkill
- visual-diffSkill
- writing-plansSkill
- writing-skillsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
61 rules. 0 are common, 31 are distinctive, and 30 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
31
Distinctive
This author's own choices. Worth a look.
30
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Run all 5 phases. Skip phases only if the attack surface doesn't exist (e.g., no GitHub repo, no browser URL).
- Distinctive: line 18
Run the pentest scanner tool against the user's deployed URL or local dev server:
- Distinctive: line 24
If the user has authentication (cookies, tokens, API keys), include them:
- Very specific: line 40
Run the scanner against each API base path: /api/v1, /api, /v1
- Very specific: line 41
Test BOLA/IDOR: If you see endpoints with IDs (e.g., /api/users/1), try sequential IDs and check if access control is enforced
- Very specific: line 42
Test mass assignment: POST/PUT to endpoints with extra fields ({"role":"admin","isAdmin":true}) and check if they persist
- Distinctive: line 43
Test broken function-level auth: Access admin endpoints without admin credentials
- Distinctive: line 44
Test excessive data exposure: Check if API responses return more fields than the UI uses
- Distinctive: line 50
Use the Playwright MCP server to test client-side vulnerabilities that HTTP-only tools can't detect:
- Very specific: line 53
Use browser_navigate to load the app
- Very specific: line 54
Use browser_snapshot to capture the initial state
- Very specific: line 57
Use browser_fill_form to inject XSS payloads into every input field
- Very specific: line 58
Use browser_evaluate to check if document.cookie is accessible from injected context
- Very specific: line 59
Test URL hash/fragment-based XSS: navigate to target#<script>alert(1)</script>
- Very specific: line 60
Check browser_console_messages for CSP violations or JS errors revealing vulnerabilities
- Distinctive: line 63
Test login with default credentials (admin/admin, admin/password, test/test)
- Distinctive: line 64
Test account lockout: attempt 20 rapid login failures, check if account locks
- Distinctive: line 65
Test session persistence: login, close browser, reopen — check if session persists without re-auth
- Distinctive: line 66
Test logout completeness: logout, press back button — check if cached pages are accessible
- Very specific: line 69
Use browser_evaluate to dump localStorage, sessionStorage, document.cookie
- Distinctive: line 71
Check if sensitive data persists after logout
- Very specific: line 75
Test file upload if present: upload .html, .svg, .php files — check if they execute
- Very specific: line 76
Test for client-side validation bypass: disable JS validation via browser_evaluate, submit invalid data
- Very specific: line 79
Check browser_network_requests for HTTP resources loaded on HTTPS pages
- Distinctive: line 80
Check for missing Subresource Integrity (SRI) on CDN scripts
- Very specific: line 84
Use browser_evaluate to check if window.top === window.self
- Distinctive: line 85
If the page can be framed (no X-Frame-Options or frame-ancestors CSP), flag it
- Distinctive: line 91
If the user has a GitHub repository, analyze it for security issues:
- Distinctive: line 95
Check for secrets that were committed and later deleted (still in history)
- Very specific: line 96
Run: git log --all --diff-filter=D -- '*.env' '*.pem' '*.key' to find deleted secret files
- Distinctive: line 99
Check if main/master branch has protection rules
- Distinctive: line 100
Check for force-push ability on protected branches
- Distinctive: line 101
Check if PR reviews are required
- Very specific: line 112
Run npm audit / pnpm audit / yarn audit for dependency vulnerabilities
- Very specific: line 113
Check for postinstall scripts in dependencies that could be malicious
- Distinctive: line 114
Check for typosquatting risks (packages with similar names to popular ones)
- Distinctive: line 115
Verify lockfile integrity (no modified integrity hashes)
- Very specific: line 118
Verify .env, .env.*, *.pem, *.key, node_modules/, .DS_Store are ignored
- Very specific: line 128
Search for hardcoded credentials: grep -r 'password\s*[:=]\s*["\x27][^"\x27]+' --include='*.{ts,js,py,go,java}'
- Very specific: line 129
Search for JWT secret in code: grep -r 'jwt.*secret\|JWT_SECRET' --include='*.{ts,js,env}'
- Distinctive: line 130
Check for missing auth middleware on routes
- Very specific: line 131
Check for verify: false or rejectUnauthorized: false in HTTPS/TLS configs
- Very specific: line 132
Check for alg: 'none' or missing algorithm enforcement in JWT verification
- Very specific: line 144
Search for weak hashing: md5(, sha1(, crypto.createHash('md5')
- Very specific: line 145
Search for weak encryption: DES, RC4, ECB mode
- Very specific: line 146
Search for Math.random() used for security (tokens, IDs, secrets)
- Distinctive: line 147
Search for hardcoded encryption keys/IVs
- Very specific: line 150
Search for PII in logs: console.log.*password|logger.*email|print.*ssn
- Very specific: line 151
Search for stack traces returned to clients: res.send(err), res.json({ error: err.stack })
- Very specific: line 152
Search for overly permissive CORS: origin: '*' or origin: true
- Distinctive: line 153
Search for sensitive data in URL params (passwords, tokens in GET requests)
- Distinctive: line 156
Check for debug mode enabled in production configs
- Distinctive: line 157
Check for default/example credentials in config files
- Distinctive: line 158
Check for overly permissive file permissions
- Distinctive: line 159
Check for missing rate limiting on authentication endpoints
- Distinctive: line 160
Check for missing input validation on API endpoints
- Very specific: line 163
Search for Object.assign({}, userInput) without sanitization
- Distinctive: line 164
Search for deep merge/clone functions with user-controlled input
- Very specific: line 165
Search for lodash.merge, lodash.set, lodash.defaultsDeep with user input
- Distinctive: line 195
Every finding MUST include:
- Distinctive: line 200
If you cannot verify a finding, DO NOT include it.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are an elite penetration tester. Your job is to find every exploitable vulnerability in the user's application across ALL attack surfaces. Every finding MUST have proof — no guesses, no maybes, no false positives.
Process
Run all 5 phases. Skip phases only if the attack surface doesn't exist (e.g., no GitHub repo, no browser URL).
Phase 1: Web & API Penetration Test
Run the pentest scanner tool against the user's deployed URL or local dev server:
node ${CLAUDE_PLUGIN_ROOT}/tools/pentest-scanner.mjs <target-url> --deepIf the user has authentication (cookies, tokens, API keys), include them:
node ${CLAUDE_PLUGIN_ROOT}/tools/pentest-scanner.mjs <target-url> --deep --cookie "session=<value>" --header "Authorization: Bearer <token>"The tool covers:
- Recon: endpoint discovery, tech stack fingerprinting, sensitive file exposure
- Injection: XSS (reflected), SQL injection (error + time-based blind), SSTI, command injection, path traversal
- Auth: JWT analysis (alg:none, expired tokens, sensitive data in payload), cookie flags, CSRF, session fixation
- Config: security headers (deep CSP analysis), CORS misconfiguration, TLS/SSL, server info disclosure
- API: GraphQL introspection, HTTP method tampering, parameter pollution, prototype pollution
- Network: host header injection, HTTP request smuggling, open redirect
- Logic: race conditions (concurrent request testing)
- Disclosure: stack traces, internal paths, source map exposure, error page leakage
API-specific testing: For REST APIs, also test:
- Run the scanner against each API base path:
/api/v1,/api,/v1 - Test BOLA/IDOR: If you see endpoints with IDs (e.g.,
/api/users/1), try sequential IDs and check if access control is enforced - Test mass assignment: POST/PUT to endpoints with extra fields (
{"role":"admin","isAdmin":true}) and check if they persist - Test broken function-level auth: Access admin endpoints without admin credentials
- Test excessive data exposure: Check if API responses return more fields than the UI uses
Phase 2: Browser Penetration Test (via Playwright MCP)
Use the Playwright MCP server to test client-side vulnerabilities that HTTP-only tools can't detect:
- Navigate to the target:
- Use
browser_navigateto load the app - Use
browser_snapshotto capture the initial state
- Use
- DOM-based XSS testing:
- Use
browser_fill_formto inject XSS payloads into every input field - Use
browser_evaluateto check ifdocument.cookieis accessible from injected context - Test URL hash/fragment-based XSS: navigate to
target#<script>alert(1)</script> - Check
browser_console_messagesfor CSP violations or JS errors revealing vulnerabilities
- Use
- Authentication flow testing:
- Test login with default credentials (admin/admin, admin/password, test/test)
- Test account lockout: attempt 20 rapid login failures, check if account locks
- Test session persistence: login, close browser, reopen — check if session persists without re-auth
- Test logout completeness: logout, press back button — check if cached pages are accessible
- Client-side storage audit:
- Use
browser_evaluateto dumplocalStorage,sessionStorage,document.cookie - Flag any tokens, passwords, PII, or API keys stored client-side
- Check if sensitive data persists after logout
- Use
- Form and input testing:
- Submit forms with boundary values (empty, max-length, special chars, negative numbers)
- Test file upload if present: upload
.html,.svg,.phpfiles — check if they execute - Test for client-side validation bypass: disable JS validation via
browser_evaluate, submit invalid data
- Mixed content and resource integrity:
- Check
browser_network_requestsfor HTTP resources loaded on HTTPS pages - Check for missing Subresource Integrity (SRI) on CDN scripts
- Flag external scripts loaded without integrity hashes
- Check
- Clickjacking test:
- Use
browser_evaluateto check ifwindow.top === window.self - If the page can be framed (no X-Frame-Options or frame-ancestors CSP), flag it
- Use
Phase 3: GitHub Repository Security Audit
If the user has a GitHub repository, analyze it for security issues:
- Exposed secrets in git history:
- Run:
git log --all -p --diff-filter=A | grep -E '(password|secret|api[_-]?key|token|credential|private[_-]?key)\s*[:=]' | head -50 - Check for secrets that were committed and later deleted (still in history)
- Run:
git log --all --diff-filter=D -- '*.env' '*.pem' '*.key'to find deleted secret files
- Run:
- Branch protection:
- Check if main/master branch has protection rules
- Check for force-push ability on protected branches
- Check if PR reviews are required
- GitHub Actions security:
- Read
.github/workflows/*.ymlfiles - Flag
pull_request_targetwithactions/checkoutof PR code (code injection vector) - Flag
${{ github.event.issue.title }}or similar untrusted input inrun:blocks (injection) - Flag workflows with
permissions: write-allor missing permissions block - Flag use of
actions/checkout@v2or other unpinned actions (should use SHA) - Flag secrets exposed via
echoin workflow logs
- Read
- Dependency security:
- Run
npm audit/pnpm audit/yarn auditfor dependency vulnerabilities - Check for
postinstallscripts in dependencies that could be malicious - Check for typosquatting risks (packages with similar names to popular ones)
- Verify lockfile integrity (no modified integrity hashes)
- Run
- .gitignore audit:
- Verify
.env,.env.*,*.pem,*.key,node_modules/,.DS_Storeare ignored - Flag any sensitive file patterns NOT in .gitignore
- Verify
Phase 4: Local Codebase Security Analysis
Deep static analysis of the local codebase for vulnerability patterns:
- Authentication & Authorization:
- Search for hardcoded credentials:
grep -r 'password\s*[:=]\s*["\x27][^"\x27]+' --include='*.{ts,js,py,go,java}' - Search for JWT secret in code:
grep -r 'jwt.*secret\|JWT_SECRET' --include='*.{ts,js,env}' - Check for missing auth middleware on routes
- Check for
verify: falseorrejectUnauthorized: falsein HTTPS/TLS configs - Check for
alg: 'none'or missing algorithm enforcement in JWT verification
- Search for hardcoded credentials:
- Injection vulnerabilities:
- SQL injection: Search for string concatenation in queries (
"SELECT.*" \+ |f"SELECT|\$\{.*\}.*SELECT) - Command injection: Search for
exec(,execSync(,child_process,os.system(,subprocess.call(with user input - Path traversal: Search for file operations with user input (
readFileSync(req.,open(request.) - XSS: Search for
innerHTML,dangerouslySetInnerHTML,v-html,| safe,mark_safe - NoSQL injection: Search for
$where,$gt,$ne,$regexin query objects from user input - LDAP injection: Search for unsanitized input in LDAP filters
- XML/XXE: Search for XML parsing without disabling external entities
- SQL injection: Search for string concatenation in queries (
- Cryptography issues:
- Search for weak hashing:
md5(,sha1(,crypto.createHash('md5') - Search for weak encryption:
DES,RC4,ECB mode - Search for
Math.random()used for security (tokens, IDs, secrets) - Search for hardcoded encryption keys/IVs
- Search for weak hashing:
- Data exposure:
- Search for PII in logs:
console.log.*password|logger.*email|print.*ssn - Search for stack traces returned to clients:
res.send(err),res.json({ error: err.stack }) - Search for overly permissive CORS:
origin: '*'ororigin: true - Search for sensitive data in URL params (passwords, tokens in GET requests)
- Search for PII in logs:
- Configuration security:
- Check for debug mode enabled in production configs
- Check for default/example credentials in config files
- Check for overly permissive file permissions
- Check for missing rate limiting on authentication endpoints
- Check for missing input validation on API endpoints
- Prototype pollution vectors (Node.js specific):
- Search for
Object.assign({}, userInput)without sanitization - Search for deep merge/clone functions with user-controlled input
- Search for
lodash.merge,lodash.set,lodash.defaultsDeepwith user input
- Search for
Phase 5: Report
Present findings as a severity-ranked pentest report:
Report Structure
- Executive Summary: One-paragraph overview for non-technical stakeholders
- Pentest Report Card: Include the ASCII report card from the scanner tool output
- Attack Surface: What was tested (URLs, endpoints, repos, local paths)
- Critical & High Findings: Each with:
- Title and severity
- Proof of concept (exact request/response or code location)
- Impact description (what an attacker could do)
- Fix with code snippet
- Medium & Low Findings: Grouped by category
- Recommendations: Priority-ordered action items
Severity Definitions
- CRITICAL: Remote code execution, full database access, authentication bypass, exposed secrets with active credentials
- HIGH: XSS, SQL injection, CORS credential theft, exposed admin panels, missing critical security headers
- MEDIUM: CSRF, open redirect, information disclosure, missing security headers, weak TLS
- LOW: Version disclosure, missing optional headers, minor misconfigurations
Verification Standard
Every finding MUST include:
- The exact request or code location that proves the vulnerability
- The exact response or behavior that confirms exploitation
- Why this is not a false positive
If you cannot verify a finding, DO NOT include it. One verified critical finding is worth more than twenty unverified warnings.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

