T09 · Insecure Skill Coding Practices
- Location
SKILL.md:6- Finding
Shell Command Injection Through Unescaped PubMed Search Input
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This PubMed literature-search skill is mostly coherent, but its documented curl command can become unsafe if a user query is inserted directly into a shell command.
Review before installing. The skill should be changed to use a structured HTTP request or curl with --get and --data-urlencode for the search term, and it should avoid placing user-provided queries directly inside shell command strings. The medical-literature purpose itself is reasonable, but do not use the shown command pattern with untrusted input as written.
SKILL.md:6Shell Command Injection Through Unescaped PubMed Search Input
The trigger list includes several very broad phrases such as 'PubMed' and 'find papers', which can cause the skill to activate in contexts the user did not intend. In a medical-literature skill, unintended activation can misroute health-related queries, produce unsought medical research summaries, and interfere with safer or more appropriate routing to general medical-information workflows.
The evidence-quality section presents explanatory text in Chinese while the rest of the skill is in English, without indicating that language selection is optional or user-configurable. This can impose a language/locale assumption on users and does not document any justification for the mixed-language output.
The manifest names the skill as "医学文献检索" while the rest of the description is in English, indicating a locale-specific label without any stated user choice or justification. This can violate language/locale policy expectations when users are not given an opt-in or explanation for the enforced language.