ai-ml-attacks
This skill should be used when the user asks about "AI security", "ML pipeline attacks", "prompt injection", "model…
This skill should be used when the user asks about "vulnerability patterns", "how to find SQL injection", "XSS patterns", "command injection techniques", "OWASP vulnerabilities", "common web vulnerabilities", "exploitation patterns", or needs to understand how specific
Claude Code
$ npx -y skills add allsmog/vuln-scout --skill vuln-patterns --agent claude-code
Codex
$ npx skills add allsmog/vuln-scout --skill vuln-patterns -a codex -y
Cursor
$ npx skills add allsmog/vuln-scout --skill vuln-patterns -a cursor -y
Gemini CLI
$ npx skills add allsmog/vuln-scout --skill vuln-patterns -a gemini-cli -y
GitHub Copilot
$ npx skills add allsmog/vuln-scout --skill vuln-patterns -a github-copilot -y
OpenCode
$ npx skills add allsmog/vuln-scout --skill vuln-patterns -a opencode -y
Windsurf
$ npx skills add allsmog/vuln-scout --skill vuln-patterns -a windsurf -y
name: Vulnerability Patterns description: This skill should be used when the user asks about "vulnerability patterns", "how to find SQL injection", "XSS patterns", "command injection techniques", "OWASP vulnerabilities", "common web vulnerabilities", "exploitation patterns", or needs to understand how specific vulnerability classes work during whitebox security review. version: 1.0.0
Provide comprehensive knowledge of common web vulnerability patterns for whitebox penetration testing. Understanding these patterns enables identification of security flaws during code review and guides exploitation techniques.
Activate this skill when:
| Rank | Category | Code Indicators | Related Skill | |------|----------|-----------------|---------------| | A01 | Broken Access Control | Missing auth checks, IDOR patterns | `business-logic` | | A02 | Cryptographic Failures | Weak algorithms, hardcoded keys | `cryptographic-failures` | | A03 | Injection | User input in queries/commands | `vuln-patterns` (this skill) | | A04 | Insecure Design | Logic flaws, missing controls | `business-logic` | | A05 | Security Misconfiguration | Debug enabled, default creds | `security-misconfiguration` | | A06 | Vulnerable and Outdated Components | Dependency vulns, build pipeline | *(out of scope)* | | A07 | Identification and Authentication Failures | Weak session, credential issues | `vuln-patterns` (this skill) | | A08 | Software and Data Integrity Failures | Deserialization, CI/CD issues | `vuln-patterns` (this skill) | | A09 | Security Logging and Monitoring Failures | Missing logs, log injection | `logging-failures` | | A10 | Server-Side Request Forgery | Attacker-controlled outbound fetches | `vulnerability-chains`, `framework-patterns` |
See `owasp-2025` skill for complete mapping with CWE references.
**Pattern**: User input concatenated into SQL queries
**Indicators**:
**Exploitation Flow**: 1. Identify injection point 2. Determine database type 3. Test with basic payloads 4. Extract data or escalate
**Risk Impact**: Data breach, authentication bypass, RCE (in some cases)
**Pattern**: User input passed to system command functions
**Indicators**:
**Exploitation Flow**: 1. Identify command execution sink 2. Trace user input to sink 3. Test command separators 4. Chain commands for exploitation
**Risk Impact**: Remote Code Execution, full system compromise
**Types**:
**Indicators**:
**Risk Impact**: Session hijacking, credential theft, malware distribution
**Pattern**: User input in file path operations
**Indicators**:
**Exploitation Flow**: 1. Identify file operation with user input 2. Test traversal sequences 3. Target sensitive files 4. Chain with other vulnerabilities
**Risk Impact**: Information disclosure, source code leak, potential RCE
**Pattern**: Untrusted data passed to deserialization functions
**Indicators**:
**Exploitation Flow**: 1. Identify deserialization sink 2. Find gadget chains 3. Craft malicious payload 4. Achieve code execution
**Risk Impact**: Remote Code Execution
**Pattern**: User-controlled URLs in server-side requests
**Indicators**:
**Exploitation Flow**: 1. Identify HTTP request with user URL 2. Test internal endpoints 3. Bypass URL validation 4. Access internal services
**Risk Impact**: Internal network access, cloud metadata exposure
When SSRF response is not directly returned to the attacker, consider these exfiltration methods:
| Vector | How It Works | Detection | |--------|--------------|-----------| | **External Callback** | SSRF visits attacker-controlled URL with data | Check if outbound requests are allowed | | **DNS Exfiltration** | Data encoded in subdomain (e.g., `secret.evil.com`) | Works even with firewall restrictions | | **Cache Poisoning** | Response cached, retrieved later by attacker | Check proxy cache config for static extensions | | **Error-Based** | Error messages leak response data | Check error handling and logging | | **Timing/Blind** | Response time reveals information | Measure response latency variations | | **File Write** | Write response to accessible location | Check for file write primitives |
**Cache-Based Exfiltration Pattern** (commonly missed):
1. SSRF makes request to /sensitive-endpoint.png 2. Proxy caches response (thinks it's static file) 3. Attacker requests /sensitive-endpoint.png 4. Gets cached sensitive data
See `cache-poisoning` skill for detailed detection patterns.
**Pattern**: User input rendered in server-side templates
**Indicators**:
**
AI-powered whitebox penetration testing plugin for Claude Code. 9 languages, 22 skills, 7 autonomous agents. STRIDE threat modeling, OWASP 2025 coverage, polyglot monorepo support.
This skill should be used when the user asks about "AI security", "ML pipeline attacks", "prompt injection", "model…
This skill should be used when the user asks about "business logic", "workflow vulnerability", "trust boundary", "state machine",…
This skill should be used when the user asks about "cache poisoning", "web cache deception", "CDN cache", "proxy cache", "nginx…
This skill should be used when the user asks about "cloud security", "AWS security", "GCP security", "Azure security",…
This skill should be used when the user asks about "compliance mapping", "PCI-DSS", "HIPAA", "SOC 2", "NIST CSF", "regulatory…
This skill should be used when the user asks about "Code Property Graph", "CPG analysis", "Joern queries", "CPGQL", "data flow…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…