Tainted flow: 'url' from os.environ.get (line 81, credential/environment) → subprocess.run (code execution)
Medium
- Category
- Data Flow
- Content
payload = {"content": msg, "username": name or agent_name} try: subprocess.run( ["curl", "-s", "-X", "POST", url, "-H", "Content-Type: application/json", "-d", json.dumps(payload)],- Confidence
- 85% confidence
- Finding
- subprocess.run( ["curl", "-s", "-X", "POST", url, "-H", "Content-Type: application/json", "-d", json.dumps(payload)], capture_output=True, tim
