T09 · Insecure Skill Coding Practices
- Location
SKILL.md:64- Finding
Plaintext Platform Credentials Embedded in the Skill Definition
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly a prompt-selling workflow, but it exposes real-looking platform credentials and tells an agent to read a separate secret file for automated logins.
Do not install or use this version unless the exposed credentials are removed and rotated. A safer version should use user-provided or managed secret handles, require explicit confirmation before login or posting, verify the exact platform domain before filling credentials, and add privacy/compliance guidance for any private-channel lead collection.
SKILL.md:64Plaintext Platform Credentials Embedded in the Skill Definition
SKILL.md:73Broad External Secret-File Access and Automatic Credential Submission
The skill embeds real-looking third-party platform credentials and instructs the agent to retrieve additional secrets from a separate secret file for automated login. This exceeds ordinary workflow documentation and creates a direct path to unauthorized account access, credential misuse, and secret exfiltration if the skill is invoked or copied.
The login table presents the credentials as part of a publishing workflow, but the values appear to be actual phone numbers and passwords rather than placeholders. Publishing real-looking credentials in a skill file risks immediate compromise of external accounts and encourages unsafe reuse of exposed secrets by downstream users or agents.
The skill directs automated login and credential autofill for third-party services without any user-facing disclosure, approval step, or warning about secret access. In context, this makes the workflow more dangerous because it normalizes silent credential handling for monetization tasks, increasing the chance of unauthorized publishing, account takeover, or inadvertent disclosure of stored secrets.
The skill content appears to require Chinese-language interaction, but it does not state that the skill is China-specific or offer the user an alternative language. Under the policy, forcing a specific language without opt-in can be a natural-language policy violation.
The prompt profile sets "Language: 中文" as a fixed requirement, which is a natural-language locale constraint. The file does not offer the user a language choice or explain why Chinese is required for a region-specific or compliance-related purpose.
The embedded skill profile explicitly states "Language: 中文", which imposes a specific language preference. Under the policy, forced language or locale without user opt-in is a natural-language policy violation unless the constraint is clearly justified or optional.
The prompt profile explicitly sets the skill language to Chinese with no indication that the user can choose another language. This is a natural-language policy concern because it imposes a specific locale/language by default rather than offering user opt-in or documenting a justified region-specific constraint.
The guide explicitly instructs sellers to move users from the platform into private channels ('好评后引导私域') without any notice about privacy, record-keeping, fraud, or off-platform transaction risks. In a monetization workflow, this increases the chance of social engineering, unmonitored payment arrangements, and collection of personal contact data outside the platform's protections.
The 小红书 guidance says to avoid mentioning direct purchase and instead direct users to private channels or 闲鱼, which is a deliberate off-platform diversion pattern. This is risky because it bypasses platform safeguards and can facilitate deceptive sales flows, privacy-invasive contact exchange, and reduced transparency for users.
The sample script asks users to add a private contact account ('可加V:XXX') without any caution about exposing personal contact information or moving outside monitored channels. In this skill's sales and lead-generation context, that language can be readily used for spam, phishing, or coercive upselling.
The script encourages users to continue the interaction via comments and private messages to obtain the product, again without any privacy or data-handling notice. Because the skill is specifically designed for monetization and traffic diversion, this context makes the finding more dangerous by operationalizing lead capture through less transparent channels.
This markdown file presents all instructions and evaluation criteria exclusively in Chinese, and there is no indication that users may opt into another language or that the skill is intentionally limited to a Chinese-speaking audience. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation.
The template specifies "Language: 中文" as a fixed default in natural-language instructions. This can violate language/locale policy because it forces a specific language without user opt-in, and the file does not indicate that the template is intentionally region-specific or that users may choose another language.
The profile explicitly sets "Language: 中文", which is a natural-language locale constraint. The file does not indicate that users can opt into another language or that this skill is intentionally limited to a Chinese-only regulatory or regional context.
The profile declares "Language: [中文/英文]", which constrains the skill to specific languages but does not state that the user may choose their preferred language. Under the policy, forcing a language or locale without explicit opt-in can be a natural-language policy violation.
The prompt profile sets "Language: 中文" as a fixed requirement. This is a natural-language locale constraint, but the file does not indicate user opt-in or a region-specific justification for enforcing Chinese.
The prompt profile sets "Language: 中文" as a fixed requirement, which is a natural-language locale constraint. The file does not indicate that this is optional, user-selected, or justified as a region-specific skill, so it conflicts with the policy against forcing a specific language without opt-in.
This markdown file contains only Chinese-language content and does not indicate that the skill or report is region-specific or that users may choose another language. Under the language/locale policy rule, forcing a single language without opt-in or justification is a natural-language policy concern.