T09 · Insecure Skill Coding Practices
- Location
scripts/upload_to_creator.js:127- Finding
Unsafe substring-based origin validation can disclose a local file to an attacker-controlled page
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly coherent for Douyin uploading, but its browser and page checks are too loose and could expose the selected video or trigger account actions outside the intended boundary.
Install only if you are comfortable giving the skill control of a logged-in Douyin Creator browser session. Use a local loopback CDP endpoint only, close unrelated or suspicious tabs before running it, review the selected video path carefully, and expect that publishing may automatically request an SMS verification code.
scripts/upload_to_creator.js:127Unsafe substring-based origin validation can disclose a local file to an attacker-controlled page
scripts/upload_to_creator.js:70Arbitrary CDP endpoint permits undeclared external connections
scripts/upload_to_creator.js:239Publishing can automatically request an SMS verification code without explicit opt-in
The example uses --title "作品描述", which implies a specific language for user-facing content. The README does not state that the skill is China-only or that Chinese is required, nor does it offer an explicit language choice, so this can be read as a locale preference baked into the skill guidance.