subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
if not token: # Try git credential store try: result = subprocess.run( ["git", "credential", "fill"], input="protocol=https\nhost=github.com\n", capture_output=True, text=True, timeout=5- Confidence
- 93% confidence
- Finding
- This subprocess call invokes `git credential fill` to recover stored GitHub credentials from the local machine. While the command arguments are fixed and not shell-injected, the behavior is still security-sensitive because it silently extracts secrets outside explicit user input and expands the skill's access beyond public profile analysis or a user-supplied token.
