T09 · Insecure Skill Coding Practices
- Location
SKILL.md:42- Finding
API Credential Exposure Through URL Query Parameters
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent image-generation connector, but it instructs users to expose an API key in URL query parameters during polling.
Review before installing. Use only a limited, revocable API key, avoid sensitive prompts, and prefer a version that authenticates polling with headers rather than putting the key in the URL. Rotate any key that has already been used in query strings.
SKILL.md:42API Credential Exposure Through URL Query Parameters
This skill instructs the agent to send user-supplied prompts and credentials to an external domain, which is a data exfiltration surface by design. In context, an image-generation skill legitimately needs a remote API, but the danger remains because user content is transmitted off-platform and the skill includes secret-handling guidance.
### 第一步:提交任务
- 方式:POST
- 地址:`https://api.wuyinkeji.com/api/async/image_nanoBanana2`
- Headers:
- Authorization: `【你的密钥】`
- Content-Type: application/json
The polling URL places the API key in the query string, which is especially dangerous because query parameters are commonly logged by proxies, servers, analytics tools, browser histories, and monitoring systems. This increases the chance of credential leakage beyond the intended recipient.
### 第二步:查询结果
- 方式:GET
- 地址:`https://api.wuyinkeji.com/api/async/detail?key=【你的密钥】&id={task_id}`
- Headers:
- Authorization: `【你的密钥】`
This endpoint again sends user prompts to an external image-generation service, creating a third-party data disclosure path. While expected for the feature, the skill normalizes sending potentially sensitive user content and repeats secret material in both headers and body, increasing exposure.
### 第一步:提交任务
- 方式:POST
- 地址:`https://api.wuyinkeji.com/api/async/image_nanoBanana_pro`
- Headers:
- Authorization: `【你的密钥】`
- Content-Type: application/json
As with the other result-query endpoint, the skill requires the API key in the URL query string during polling. Repeated polling amplifies the exposure because the secret may be written to logs many times across multiple layers of infrastructure.
### 第二步:查询结果
- 方式:GET
- 地址:`https://api.wuyinkeji.com/api/async/detail?key=【你的密钥】&id={task_id}`
- Headers:
- Authorization: `【你的密钥】`
The skill requires that all user prompts be translated into English before submission to a third-party image API, without user consent or disclosure. This can alter user meaning, cause unintended sharing/transformation of user content, and creates a privacy/compliance risk because the transformed prompt is externally transmitted.