T09 · Insecure Skill Coding Practices
- Location
scripts/toupiaoya/constants.py:16- Finding
Persisted Access Token Can Be Disclosed to an Arbitrary Endpoint
- Content
View full analysis
requests.Response: headers: dict[str, str] = dict(extra_headers or {}) if access_token: headers["X-Openclaw-Token"] = access_token return requests.post(url, json=dict(json_body), headers=headers or None, timeout=timeout) ``` ### Technical Analysis The API base URL can be supplied through the global `--base-url` option or the `TOUPIAOYA_API_BASE` and `EQXIU_AIGC_API_BASE` environment variables. No validation restricts the resulting dest ...[truncated 2880 chars]- Remediation
View remediation
