Dangerous Functions

Identify security-sensitive functions and sinks across multiple programming languages.

22|3|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/allsmog/vuln-scout --skill dangerous-functions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Dangerous Functions
Source: https://github.com/allsmog/vuln-scout/tree/main/whitebox-pentest/skills/dangerous-functions
Command: npx skills add https://github.com/allsmog/vuln-scout --skill dangerous-functions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps identify potentially dangerous functions (sinks) in source code, which are common entry points for vulnerabilities during whitebox penetration testing.

Core Features & Use Cases

  • Language-Specific Sinks: Provides lists of dangerous functions for 9 different programming languages (PHP, Java, Python, JavaScript, .NET, Go, Ruby, Rust, Swift, Kotlin, Solidity).
  • Vulnerability Identification: Aids in finding command injection, SQL injection, deserialization, and other critical vulnerabilities.
  • Use Case: When reviewing a Python codebase, you can use this skill to quickly find all instances of os.system() or subprocess.run() that might be vulnerable to command injection.

Quick Start

Find all dangerous functions in the provided Python code files.

Frequently Asked Questions about Dangerous Functions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find dangerous functions and security sinks during a whitebox code review?

To find dangerous functions during a whitebox code review, you identify security sinks like command execution and deserialization across source code. This skill provides grep patterns and references for 9 languages to pinpoint these vulnerabilities.

What programming languages are covered for identifying vulnerable functions like command injection sinks?

Vulnerable functions and command injection sinks are covered across 11 programming environments: PHP, Java, Python, JavaScript, .NET, Go, Ruby, Rust, Swift, Kotlin, and Solidity.

Does this support finding SQL injection and SSRF sinks in Go and Python source code?

Yes, it supports finding SQL injection and SSRF sinks in Go and Python source code. It provides language-specific references to detect file operations, code injection, and deserialization vulnerabilities during pentesting.

What is the best way to detect deserialization vulnerabilities across multiple codebases?

The best way to detect deserialization vulnerabilities across multiple codebases is by scanning for known security sinks using targeted grep patterns. This approach quickly highlights risky functions in languages like Java and Python.

How do I search for os.system and subprocess.run instances to check for command injection in Python?

To check for command injection in Python, you search for instances of os.system or subprocess.run. This skill identifies these dangerous functions as security sinks to help locate potential command execution vulnerabilities.

Can I use this for Solidity smart contract security audits to find dangerous functions?

Yes, you can use this for Solidity smart contract security audits to find dangerous functions. Solidity is included in the language-specific references to help identify security sinks during whitebox penetration testing.