Tainted flow: 'RUNBOX_ENDPOINT' from os.environ.get (line 34, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
def run_code(session_token: str, language: str, code: str) -> dict: """Execute code using a valid session token.""" r = requests.post( f"{RUNBOX_ENDPOINT}/api/exec/run", json={"language": language, "code": code}, headers={"Authorization": f"Bearer {session_token}"},- Confidence
- 94% confidence
- Finding
- The skill sends arbitrary user-provided code and a bearer session token to a remote endpoint that can be overridden via environment variable or CLI, with no validation and with an insecure default of plain HTTP. A malicious or intercepted endpoint could steal submitted code, capture reusable session tokens, and manipulate execution results.
