subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
"items": [], } result = subprocess.run( command, shell=True, capture_output=True,- Confidence
- 99% confidence
- Finding
- This code executes a configuration-supplied command using shell=True, which enables arbitrary shell command execution. If an attacker can influence module configuration, they can run OS commands with the skill's privileges, leading to full system compromise, data theft, or destructive actions.
