T09 · Insecure Skill Coding Practices
- Location
SKILL.md:29- Finding
Shell Command Injection Through Unescaped User-Controlled API Parameters
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill has a coherent product-verification purpose, but it asks for broad shell execution to send user-supplied product data to a third-party API without enough scoping or safe handling.
Review before installing. Use it only if you are comfortable sending product and brand query details to jiufu-trace.cn, and prefer a safer implementation that uses a constrained HTTP client or JSON serializer instead of raw shell curl. Avoid entering sensitive business, purchase, or investigation context unless the data handling of the third-party API is acceptable.
SKILL.md:29Shell Command Injection Through Unescaped User-Controlled API Parameters
L004 的描述全文以中文限定技能使用与输出语境,文件中未说明是否支持用户选择其他语言,也未给出必须使用中文的合规或地域性理由。按规则,若技能强制特定语言而无用户选择或明确正当说明,应视为自然语言政策风险。
The trigger guidance includes very broad everyday phrasing like '这个品牌怎么样' and '靠不靠谱', which can cause the skill to activate in loosely related conversations. Over-broad invocation increases the chance that user-provided product or brand details are sent to the external service without sufficiently clear user intent for third-party lookup.
The skill explicitly requires the exec tool and provides a curl command that transmits user-influenced data to an external API endpoint. External transmission is not inherently malicious in this context, but it is a real security/privacy risk because unvalidated user content is sent off-platform and the skill provides no authentication, trust validation, minimization, or consent controls.
使用 curl 调用九赋溯源API:
curl -s -X POST https://jiufu-trace.cn/api/cti/verify \
The skill instructs the agent to send user-supplied product, brand, and category information to an external domain but does not clearly disclose that this information will leave the local system. This creates a transparency and privacy risk, especially if users provide sensitive business, purchase, or investigation context alongside the product details.