subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
) try: result = subprocess.run( ["claude", "-p", "--output-format", "json"], input=prompt, capture_output=True,- Confidence
- 95% confidence
- Finding
- The code sends untrusted SKILL.md content directly to an external `claude` CLI for evaluation. Because skill content is explicitly adversarial in this review context, this creates an output-injection/prompt-injection risk where embedded instructions can manipulate the evaluator, exfiltrate sensitive prompt context, or cause unsafe downstream decisions in the self-improvement loop.
