Undeclared Tool Scope
- Category
- MCP Least Privilege
- Confidence
- 70% confidence
- Finding
Without declared permissions the skill's intent is opaque and cannot be validated.
- Content
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a coherent Chinese ecommerce image-planning helper, with the main caution that it keeps a local plaintext history of generated briefs.
Install only if a Chinese-language ecommerce prompt-planning workflow fits your needs. Avoid entering confidential campaign or product strategy unless you are comfortable with generated brief details being appended to a local plaintext history file.
Without declared permissions the skill's intent is opaque and cannot be validated.
The manifest sets the input language to 'zh-CN', and the configuration also defaults to 'zh-CN' without offering a user choice. This is a natural-language locale restriction that is not documented as optional or justified as a region-specific compliance requirement.
The output field requires a '精准中文 Prompt', which mandates Chinese-language output regardless of user preference. This is a language policy concern because the skill does not indicate that users can select another language or consent to the restriction.
The config sets 'default_language' to 'zh-CN', and the surrounding documentation does not mention any user-selectable override. This creates a locale constraint that should either be optional or explicitly justified.
The natural-language trigger example is broad enough to overlap with ordinary conversation, which can cause accidental invocation or routing of unrelated user messages into this skill. In multi-skill agent environments, this increases the chance of prompt hijacking, unintended data handling, or execution of the wrong workflow without clear user intent.
The default configuration sets the language to zh-CN, and surrounding docstrings/instructions describe the input and output as Chinese-specific. This is a natural-language locale constraint, but the file does not indicate user opt-in or a documented justification for restricting language/locale.
The analyze flow automatically saves generated brief content derived from user input, creating persistent natural-language records that may include sensitive commercial context. In an agent skill context, such retained prompts are especially risky because they are human-readable, easy to exfiltrate, and may be reused outside the original purpose.
The skill persists user-derived content to a local history file without any consent, disclosure, retention policy, or sensitivity filtering. Because user prompts may contain product plans, campaign details, or other confidential business information, this creates a privacy and data exposure risk if the filesystem is accessed by other users, processes, backups, or later components.
The history writer appends plaintext prompts, timestamps, product types, and tool choices to a markdown file, which can leak user-provided or inferred business information to anyone with filesystem or backup access. Since the content is stored in readable form and accumulates over time, the impact grows with repeated use and can expose patterns of user activity or confidential marketing plans.
The configuration sets a fixed language value of "zh-CN", which indicates the skill is constrained to Chinese output by default. Under the policy, forcing a specific language without offering user choice or documenting an opt-in is a natural-language policy violation.
The entire skill history/documentation file is written in Chinese and presents all instructions, headings, and prompt templates only in that language. This can violate a language/locale policy when no user opt-in, alternative language option, or justification for a Chinese-only constraint is provided.
The manifest specifies both input language and default language as "zh-CN", which imposes a fixed locale in the skill configuration. There is no indication of user opt-in, alternative language support, or documented justification that this skill must be Chinese-only.
Lines L073-L080 describe analyze as producing a creative brief dictionary, but at L086-L087 the method may return the result of _ask_clarification when required information is missing. This is an intent/documentation mismatch because the documented behavior presents a single output purpose while the implementation conditionally returns a different response type.
The description string "电商规则库 - 策划师专用" states the skill is for planners only and is written solely in Chinese, which can be interpreted as a language/locale restriction without offering any user choice or opt-in. Under the policy rule, natural-language constraints that force a specific language should be documented as optional or justified.