--- name: form-security-analyzer description: Static security analysis of HTML forms without sending any requests. Checks for CSRF tokens, insecure actions, missing validation, hidden field issues, and common security misconfigurations. Safe to run - no payloads sent. Use when user asks to "analyze form security", "check form for vulnerabilities", "static security check". --- # Form Security Analyzer Static analysis of HTML forms to find security issues. No requests sent - just code inspection. Safe and fast. ## Your Bounty Hunter Perspective When analyzing a form, think: - "Where's the money hiding in this form?" - "What did the developer forget?" - "How can I abuse this?" ## Quick Start ### Installation ```bash cd ${CLAUDE_PLUGIN_ROOT}/skills/form-security-analyzer npm install npm run build ``` ### Run Analysis ```bash # Analyze a single file npx tsx ${CLAUDE_PLUGIN_ROOT}/skills/form-security-analyzer/src/index.ts path/to/file.html # JSON output npx tsx ${CLAUDE_PLUGIN_ROOT}/skills/form-security-analyzer/src/index.ts path/to/file.html --json ``` ### Using Built Version ```bash node ${CLAUDE_PLUGIN_ROOT}/skills/form-security-analyzer/dist/index.js path/to/file.html ``` ## What It Checks ### Critical Issues ($$$) | Check | What It Finds | Bounty Potential | |-------|--------------|------------------| | Missing CSRF Token | Forms without protection | $1K - $10K | | HTTP Action URL | Credentials sent insecurely | $500 - $5K | | Hidden sensitive data | API keys, tokens in hidden fields | $500 - $25K | ### High Issues | Check | What It Finds | Bounty Potential | |-------|--------------|------------------| | State-changing GET | Destructive actions via link | $1K - $5K | | Predictable IDs | Sequential/guessable object refs | $2K - $50K | ### Medium Issues | Check | What It Finds | Bounty Potential | |-------|--------------|------------------| | No email validation | Missing type="email" | $500 - $2K | | Autocomplete on passwords | Credential caching enabled | $100 - $500 | | Inline JS handlers | XSS surface area | $500 - $2K | ### Low Issues | Check | What It Finds | Bounty Potential | |-------|--------------|------------------| | Missing maxlength | Potential buffer/storage issues | $100 - $500 | ## Security Checks Detail ### 1. CSRF Protection ```html
``` ### 2. Secure Action URL ```html