Tainted flow: 'ws' from os.environ.get (line 78, credential/environment) → subprocess.run (code execution)
Medium
- Category
- Data Flow
- Content
for d in ("openclaw-signet", "openclaw-signet")]: if cand.is_file(): try: r = subprocess.run([sys.executable, str(cand), "sign", "--workspace", str(ws)], capture_output=True, text=True, timeout=30) if r.returncode == 0: actions.append("Re-signed skills"); print(" Done.") else: print(f" Code {r.returncode}")- Confidence
- 83% confidence
- Finding
- r = subprocess.run([sys.executable, str(cand), "sign", "--workspace", str(ws)], capture_output=True, text=True, timeout=30)
