T09 · Insecure Skill Coding Practices
- Location
scripts/verk-cli.mjs:10- Finding
Unrestricted API Endpoint Override Can Exfiltrate Verk Credentials and Organization Data
- Content
View full analysis
null); ``` ### Technical Analysis The CLI permits `VERK_API_URL` to replace the trusted Verk API endpoint without validating its scheme, hostname, port, or origin. The shared `request()` function then unconditionally attaches the sensitive `VERK_API_KEY` to every request through the `X-API-Key` header. Consequently, any party capable of influencing the process environment or OpenClaw Skill configuration can redirect authenticated requests to an attacker-controlled server. The override also accepts non-HTTPS URLs, allowing the API key and transmitted organization data to be sent without transport encryption. Depending on the invoked operation, request URLs and bodies can disclose: - The Verk organization ID - The Verk API key - Task identifiers, titles, and descriptions - Task comments - Assignee identifiers - Project identifiers - Due dates, priorities, and workflow statuses - Search queries and task ...[truncated 1908 chars]- Remediation
View remediation
