T09 · Insecure Skill Coding Practices
- Location
SKILL.md:24- Finding
Unrestricted API Base URL Can Expose Bearer Credentials and User Content
- Content
View full analysis
/tmp/payload.json <- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill does what it claims, but its examples can send API keys and private media to a configurable endpoint and leave local image payloads in a predictable temporary file.
Review this skill before installing. Use it only with a trusted HTTPS CHENYU_BASE_URL, preferably the documented default, and a narrowly scoped Chenyu API key. Do not submit sensitive prompts, private images, videos, or audio unless you are comfortable sending them to the configured provider. If using local images, replace the fixed /tmp/payload.json example with a secure temporary file that is private and removed after upload. Treat task deletion as potentially irreversible unless the provider confirms otherwise.
SKILL.md:24Unrestricted API Base URL Can Expose Bearer Credentials and User Content
execute-recipe.md:45Predictable Temporary Payload File Exposes Sensitive Media and Permits Symlink Attacks
The skill clearly sends user prompts and potentially user-supplied media to an external AIGC service authenticated with an API key, but it does not warn the user that their content will be transmitted off-platform. This creates a privacy and consent risk, especially if users provide sensitive text, images, or videos under the assumption processing is local or first-party.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
curl -s -X POST "$CHENYU_BASE_URL/api/v1/aigc/recipes/{recipe_id}/execute" \
-H "Authorization: Bearer $CHENYU_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
curl -s -X POST "$CHENYU_BASE_URL/api/v1/aigc/recipes/{recipe_id}/execute" \
-H "Authorization: Bearer $CHENYU_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
When a local image needs to be sent as a data URI:
curl -d '...' shell arguments — this will fail due to OS/shell argument length limits before the request even reaches the API.curl --data @payload.json.This markdown file documents a DELETE operation for completed tasks, but it does not warn the user that the action is destructive or whether deleted task metadata/results can be recovered. Under the markdown-specific missing-warning criteria, behaviours affecting user data or system integrity should include a clear warning.
No suspicious patterns detected.