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 "dangerous functions", "security sinks", "what functions are dangerous in PHP/Java/Python", "find vulnerable functions", "code execution functions", "command injection sinks", "SQL injection functions", or needs to identify
Claude Code
$ npx -y skills add allsmog/vuln-scout --skill dangerous-functions --agent claude-code
Codex
$ npx skills add allsmog/vuln-scout --skill dangerous-functions -a codex -y
Cursor
$ npx skills add allsmog/vuln-scout --skill dangerous-functions -a cursor -y
Gemini CLI
$ npx skills add allsmog/vuln-scout --skill dangerous-functions -a gemini-cli -y
GitHub Copilot
$ npx skills add allsmog/vuln-scout --skill dangerous-functions -a github-copilot -y
OpenCode
$ npx skills add allsmog/vuln-scout --skill dangerous-functions -a opencode -y
Windsurf
$ npx skills add allsmog/vuln-scout --skill dangerous-functions -a windsurf -y
name: Dangerous Functions description: This skill should be used when the user asks about "dangerous functions", "security sinks", "what functions are dangerous in PHP/Java/Python", "find vulnerable functions", "code execution functions", "command injection sinks", "SQL injection functions", or needs to identify security-sensitive functions in source code during whitebox security review. version: 1.0.0
Provide comprehensive knowledge of security-sensitive functions (sinks) across programming languages for whitebox penetration testing. These functions are common targets during code review because improper use leads to critical vulnerabilities.
Activate this skill during:
**Sources**: Entry points where user input enters the application
**Sinks**: Functions where malicious input causes damage
| Category | Impact | Common Languages | |----------|--------|------------------| | Command Injection | Remote Code Execution | All | | Code Injection | Remote Code Execution | PHP, Python, JS | | SQL Injection | Data breach | All with databases | | Deserialization | Remote Code Execution | Java, PHP, Python, .NET | | File Operations | LFI/RFI/Arbitrary Write | All | | SSRF | Internal network access | All | | Template Injection | Remote Code Execution | Python, Java, JS | | Reentrancy | Fund theft | Solidity | | Flash Loan Attacks | Price/state manipulation | Solidity | | Access Control | Privilege escalation | Solidity |
Determine the primary language(s) used:
Consult the appropriate reference file for comprehensive sink lists:
Use Grep tool to search for dangerous functions:
For each identified sink, document:
Rank findings using this framework:
| Priority | Criteria | |----------|----------| | Critical | Direct user input reaches sink | | High | Database/file data (user-controlled) reaches sink | | Medium | Authenticated user input reaches sink | | Low | Admin-only input reaches sink | | Info | Hardcoded values only |
When reviewing identified sinks, consider:
1. **Input Proximity**: How close is user input to the sink? 2. **Authentication**: Does exploitation require authentication? 3. **Privilege Level**: What access level is needed? 4. **Impact**: What can an attacker achieve? 5. **Exploitability**: Are there filters or sanitization?
For comprehensive function lists by language, consult:
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…