ai-ml-attacks
This skill should be used when the user asks about "AI security", "ML pipeline attacks", "prompt injection", "model deserialization", "unsafe model loading",…
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
$ npx -y skills add allsmog/vuln-scout --skill dangerous-functions --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/dangerous-functionsContext preview
The summary Claude sees to decide when to auto-load this skill.
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
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.
Repo: allsmog/vuln-scout
This skill should be used when the user asks about "AI security", "ML pipeline attacks", "prompt injection", "model deserialization", "unsafe model loading",…
This skill should be used when the user asks about "business logic", "workflow vulnerability", "trust boundary", "state machine", "authorization bypass",…
This skill should be used when the user asks about "cache poisoning", "web cache deception", "CDN cache", "proxy cache", "nginx cache", "varnish", "cache key…
This skill should be used when the user asks about "cloud security", "AWS security", "GCP security", "Azure security", "Kubernetes security", "IMDS", "instance…
This skill should be used when the user asks about "compliance mapping", "PCI-DSS", "HIPAA", "SOC 2", "NIST CSF", "regulatory requirements", "compliance…
This skill should be used when the user asks about "Code Property Graph", "CPG analysis", "Joern queries", "CPGQL", "data flow verification", "taint tracking…