T09 · Insecure Skill Coding Practices
- Location
SKILL.md:43- Finding
Forced bypass of configured network proxies
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:43-47andSKILL.md:67-71
Vulnerability Type: Network security control bypass
Risk Level: MediumVulnerable Code
bash curl --noproxy '*' -s \ -H "X-API-Key: $CAN_API_KEY" \ -H "Content-Type: application/json" \ -X POST "https://gateway.can.aloudata.com/api/jdbc/query" \ -d '{"sql": "YOUR SQL HERE"}'The multiline SQL example repeats the same behavior:
bash curl --noproxy '*' -s \ -H "X-API-Key: $CAN_API_KEY" \ -H "Content-Type: application/json" \ -X POST "https://gateway.can.aloudata.com/api/jdbc/query" \ -d @- <<'EOF'Technical Analysis
The recommended
curlcommands use--noproxy '*', which disables proxy use for every destination. This forces the request to connect directly to the external SQL gateway, even when the execution environment has configured an enterprise proxy.The direct HTTPS request is part of the Skill's declared functionality, and transmitting
$CAN_API_KEYto the declared gateway as an authentication header is not independently evidence of credential exfiltration. However, globally bypassing proxy configuration is not necessary to perform that request. It can circumvent network inspection, egress filtering, audit logging, destination controls, and other organization-level security policies.Attack Path
- An operator invokes the Skill in an environment configured to route outbound traffic through a controlled proxy.
- The Agent follows the recommended
curlexecution method. --noproxy '*'disables the configured proxy for the request.- The Agent sends an authenticated SQL request directly to
gateway.can.aloudata.com. - Proxy-based monitoring, filtering, and audit controls do not observe or enforce policy on the connection.
Impact Assessment
This behavior does not directly grant local system privileges or expose the API key to an undeclared d ...[truncated 400 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove
--noproxy '*'from all recommended commands and allow the runtime's standard proxy configuration to apply. - If a direct connection is operationally required, make proxy bypass optional rather than mandatory.
- Restrict any approved bypass to the exact trusted hostname instead of using the global
*wildcard. - Document why direct connectivity is required and require deployment-specific administrator approval.
- Keep HTTPS certificate verification enabled and do not add insecure TLS options.
- Use a scoped, short-lived API credential and ensure commands, headers, and environment variables are not written to logs.
- Enforce destination restrictions and request auditing independently at the gateway.
- Remove
