subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: r = subprocess.run(cmd, env=env, cwd=str(_openclaw_home()), timeout=60, capture_output=True, text=True) if r.returncode != 0: subprocess.run( ["bash", "-l", "-c", f'exec "{openclaw_bin}" agent --message "continue" --deliver'], env={**env, "OPENCLAW_HOME": str(_openclaw_home())}, cwd=str(_openclaw_home()),- Confidence
- 99% confidence
- Finding
- subprocess.run( ["bash", "-l", "-c", f'exec "{openclaw_bin}" agent --message "continue" --deliver'], env={**env, "OPENCLAW_HOME": str(_openclaw_home())},
