Tainted flow: 'headers' from os.getenv (line 349, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
debug_print(f"result is {url}") debug_print(f"headers is {headers}") debug_print(f"url is {url}, body is {body_bytes}") resp = requests.post(url, data=body_bytes, headers=headers, timeout=30) try: result = resp.json()- Confidence
- 79% confidence
- Finding
- In ArkClaw mode, the Bearer token from the environment is sent to a host that can be supplied via --host or environment defaults without any allowlist or trust validation. That creates a credential-exfiltration path: an attacker who can influence configuration can cause the skill to send live API tokens to an arbitrary endpoint.
