T09 · Insecure Skill Coding Practices
- Location
SKILL.md:31- Finding
Plaintext Storage of Coze API Bearer Token
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a disclosed Coze workflow caller that sends user-provided workflow parameters to Coze using a user-supplied API key.
Install only if you intend to send workflow inputs and outputs through Coze. Use a least-privilege Coze API token, keep the config file private, avoid placing secrets or sensitive personal data in workflow parameters unless appropriate for your Coze account and workflows, and rotate the token if the file may have been exposed.
SKILL.md:31Plaintext Storage of Coze API Bearer Token
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
curl -X POST "${COZE_BASE_URL}/v1/workflow/stream_run" \
-H "Authorization: Bearer ${COZE_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
{
"api_key": "你的扣子api key",
"base_url": "https://api.coze.cn/v1/workflow/stream_run"
}
The placeholder string for the API key is written only in Chinese ("你的扣子api key"), which imposes a specific language in user-facing configuration text without offering a language choice or neutral wording. This can violate language/locale policy when the skill is not explicitly documented as Chinese-only or region-specific.
No suspicious patterns detected.