T09 · Insecure Skill Coding Practices
- Location
SKILL.md:15- Finding
Hardcoded Plaintext Website Credentials
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is aimed at uploading vocabulary to a class website, but it publishes a reusable website password and enables authenticated remote changes with loose triggering and little user control.
Review this skill before installing. Treat the listed K241 password as compromised, rotate it, and replace embedded credentials with per-user or secret-managed authentication. Require explicit confirmation before any upload or update, and narrow triggers to commands that clearly mention changing the K241 website.
SKILL.md:15Hardcoded Plaintext Website Credentials
The skill exposes a live shared username and password directly in the documentation. Hardcoded shared credentials enable anyone with access to the skill to authenticate to the remote site, undermining access control and creating a significant risk of unauthorized uploads, edits, or abuse of the account.
The trigger description includes broad everyday phrases like '添加单词到网站、背单词', which can cause the skill to activate in contexts where the user did not intend to modify the remote site. Because this skill performs authenticated write actions against a live website, accidental invocation can lead to unauthorized or unintended data changes.
The skill description and operational content are entirely in Chinese and assume Chinese inputs such as 翻译 and 拼音, without indicating that language choice is optional or that the skill is intentionally limited to Chinese-speaking users. This can violate language/locale policy when a skill implicitly forces a specific language without opt-in or explicit justification.
The skill describes GET and POST operations that upload and update words on a remote site but does not clearly warn that these are state-changing actions. Users or downstream agents may treat the skill as informational rather than destructive/modifying, increasing the chance of unintended writes to production data.
This markdown file presents all headings and content in Chinese, which may impose a specific language on users without opt-in. Under the policy rule, forcing a specific language without user choice can be a natural-language policy violation unless the locale constraint is clearly documented and justified.