subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
f"Respond with ONLY a JSON object: {{\"score\": <float>, \"reasoning\": \"<str>\"}}" ) try: result = subprocess.run( ["claude", "-p", "--output-format", "json"], input=prompt, capture_output=True,- Confidence
- 93% confidence
- Finding
- This subprocess sends rubric text and up to 3000 characters of AI output to an external LLM CLI, creating a data exfiltration boundary and allowing untrusted model output to influence a downstream model. In this skill context, evaluation data may include sensitive prompts, outputs, or proprietary test content, so invoking an external model without isolation or explicit disclosure is a real security and privacy concern.
