T09 · Insecure Skill Coding Practices
- Location
examples/run.sh:19- Finding
API Credential May Be Disclosed Across HTTP Redirects
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This Revid video-generation skill is purpose-aligned, but its runnable example has a real API-key handling risk and the third-party data sharing is under-explained.
Before installing or running this skill, assume pasted post text, source URLs, avatar image URLs, and the Revid API key are used with Revid's service. Avoid private or confidential content, review Revid's data handling terms, and fix or avoid the example script's redirect-following status request unless you are comfortable with the API-key exposure risk.
examples/run.sh:19API Credential May Be Disclosed Across HTTP Redirects
Without declared permissions the skill's intent is opaque and cannot be validated.
The skill instructs users to send pasted social-media post text, post URLs, and avatar image URLs to www.revid.ai without any privacy notice, consent checkpoint, or guidance about third-party content handling. This can cause unintentional disclosure of personal data, copyrighted material, or sensitive media to an external service, especially when users paste private or non-public thread text.
The example payload specifies voiceId: "aria-en-us", which imposes a specific language/locale choice in natural-language behavior. The document does not indicate that this is optional, user-selectable, or justified as a region-specific tool, so it conflicts with the language/locale policy guidance.
As in the earlier template, this example fixes the generated speech to aria-en-us, creating a language/locale constraint. No language choice or opt-in is offered in the skill instructions, and no region-specific rationale is provided.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
'.source.text=$t | .avatar.url=$a' \
"$HERE/thread-text.json")
PID=$(curl -fsS https://www.revid.ai/api/public/v3/render \
-H "Content-Type: application/json" -H "key: $REVID_API_KEY" \
-d "$PAYLOAD" | jq -r .pid)
echo "pid=$PID"
The voiceId value aria-en-us hard-codes an English (US) locale in the configuration. Because this file provides no indication that users can choose a different language or that the locale restriction is intentional and documented, it appears to enforce a specific language setting.