T09 · Insecure Skill Coding Practices
- Location
scripts/wait_for_task.py:35- Finding
API Token Exposed in Task Polling and Download Query Strings
- Content
View full analysis
") try: return json.loads(text) except ValueError: raise RuntimeError("Dataify returned a non-JSON response") ``` The credential-bearing call sites are: ```python payload = request_json( STATUS_ENDPOINT, {"api_key": api_key, "task_id": task_id}, api_key, request_timeout, ) ``` ```python return request_json( ...[truncated 2541 chars]- Remediation
View remediation
