subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
# meaning any command in TEST.md will execute. Only trust TEST.md from trusted sources. # ⚠️ Output merging: actual_output = stdout + stderr, # which is risky for exact-mode assertions (stderr warnings break match). Prefer contains/regex. proc = subprocess.run( script_cmd, shell=True, cwd=skill_dir,- Confidence
- 98% confidence
- Finding
- proc = subprocess.run( script_cmd, shell=True, cwd=skill_dir, capture_output=True, text=True, timeout=timeout, )
