T09 · Insecure Skill Coding Practices
- Location
SKILL.md:61- Finding
Database Credential Passed Through Shell Command Arguments
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill has a coherent database schema comparison purpose, but it documents direct internal database and SSH access with unsafe credential-handling examples that users should review carefully.
Install only if this skill is intended for an authorized internal environment. Before use, replace real infrastructure details with placeholders or approved configuration, use a dedicated read-only schema-inspection account, avoid putting passwords in shell commands, and ensure the agent asks before connecting to databases or SSH hosts.
SKILL.md:61Database Credential Passed Through Shell Command Arguments
The trigger list includes short generic phrases such as "表结构差异", "生成 alter table", and "字段差异" without clear scope limits or exclusion conditions. In a markdown skill description, these broad phrases can cause unintended invocation when a user is merely discussing database changes rather than requesting this specific skill.
The example commands instruct direct retrieval of internal MySQL and ODPS table schemas and show concrete hosts, users, and operational access paths. In an agent setting, this can normalize or encourage disclosure of internal metadata and infrastructure details, which may aid reconnaissance even if the workflow is described as read-only.
The skill content, examples, trigger phrases, and outputs are all specified in Chinese, with no indication that the user may choose another language. This can violate a language/locale policy when a skill imposes a specific language without opt-in or documented regional justification.
No suspicious patterns detected.