subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: # Stage everything subprocess.run(["git", "add", "-A"], cwd=str(WORKSPACE), timeout=30, capture_output=True) # Commit r = subprocess.run(- Confidence
- 89% confidence
- Finding
- `git add -A` stages the entire workspace, which can include secrets, tokens, private notes, and unrelated files. In this skill, that behavior is reachable through an unauthenticated HTTP-triggered backup flow, making broad exfiltration and destructive repository changes possible.
