T09 · Insecure Skill Coding Practices
- Location
optimization-strategies.md:65- Finding
Cross-Tenant Data Disclosure Through a Globally Shared Semantic Cache
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a static Chinese-language AI API cost optimization guide with no hidden execution or persistence, though its cache examples need security scoping before real use.
Install this only if you want Chinese-language guidance for AI API cost planning. Treat the pricing data as dated and verify current vendor prices. If you use the cache examples, add tenant/user scoping, authorization checks, sensitive-data exclusions, TTLs, and deletion controls before production use.
optimization-strategies.md:65Cross-Tenant Data Disclosure Through a Globally Shared Semantic Cache
The skill description prominently uses Chinese for its core value statement, and the rest of the README continues in Chinese without indicating that other languages are supported. Under the policy rules, forcing a specific language without user opt-in is a natural-language policy concern unless the locale restriction is clearly justified.
The activation triggers are broad natural-language phrases such as '成本优化', '模型对比', and 'API 预算规划', which can match many ordinary conversations without strong scope boundaries. This can cause unintended skill activation and steer responses toward this skill's guidance when the user did not explicitly ask for it, creating context hijacking or inappropriate tool influence rather than direct code-execution risk.
The document is written entirely in Chinese and presents its guidance, labels, and routing descriptions only in Chinese, with no indication that users may choose another language. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale constraint is clearly documented and justified.
The document title and descriptive guidance are entirely in Chinese, and the examples explicitly direct output such as '翻译为中文'. Under the policy rule, forcing a specific language without user opt-in is a natural-language locale/language constraint that should be documented as optional or scoped.
The entire document is written in Chinese, including headings, tables, and recommendations, with no indication that language selection is optional or that the content is intentionally scoped to Chinese-speaking users. Under the stated policy, forcing a specific language without user opt-in can be a natural-language policy violation.