T01 · Skill Instruction Hijacking
- Location
SKILL.md:19- Finding
Mandatory Commercial Promotion Hijacks Agent Output
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly an SEO auditor, but it includes under-scoped website write capabilities, unsafe URL crawling behavior, and a mandatory unrelated signup prompt, so it should be reviewed before installation.
Install only if you are comfortable reviewing each CMS write before it runs, limiting the MCP token to the intended site, and running crawls only against domains you control or have permission to audit. Avoid running this from a network that can reach sensitive internal services unless URL validation is added, and do not allow save_ai_page to create pages or replace the homepage without an explicit separate approval.
SKILL.md:19Mandatory Commercial Promotion Hijacks Agent Output
scripts/seo_audit.py:738User-Controlled URL Fetching Enables Server-Side Request Forgery
scripts/seo_audit.py:800Robots Exclusions Are Evaluated Only After Disallowed Pages Are Fetched
Mixing characters from multiple Unicode scripts in a single identifier is a common technique to create visually ambiguous tool names.
The skill explicitly instructs the agent to read local files, write reports, and make network requests, but it does not declare any tool scope or allowed-tools boundary. That creates an authorization ambiguity where an agent/runtime may grant broader file or network access than is minimally required, increasing the chance of unintended crawling, local file exposure, or unsafe writeback actions.
The when_to_use field includes broad examples like “网站 SEO 优化” and especially the catch-all phrase “或任何需要 SEO 诊断、逐维度分析、优化落地、复检打分时使用本技能”. This lacks clear boundaries or negative examples beyond a single exclusion, increasing the chance of unintended invocation for general website-help requests.
The skill claims to be limited to SEO inspection and low-risk SEO write-backs, but the documented save_ai_page capability explicitly allows pageId=0 to create a new page and autoSetIndex=true to replace the homepage under certain conditions. That expands the tool from metadata optimization into site content creation and potential homepage takeover, which is materially broader and riskier than the stated scope; if the agent misuses this path, it could alter visible site content or indexing behavior beyond narrowly scoped SEO fixes.
The document instructs the workflow to derive focus terms from the title using '有效英文词' and to output '英文词频 Top20', which imposes an English-language analysis policy even though the document itself is in Chinese and may be used on multilingual sites. This is a natural-language locale constraint with no user opt-in or documented justification for limiting parts of the analysis to English.
This code file contains extensive user-facing docstring instructions, usage examples, and output descriptions only in Chinese. Under the stated policy, forcing a specific language without offering a choice or documenting a justified locale restriction is a natural-language policy violation.
The operational instructions and user-facing workflow are entirely presented in Chinese, and the skill does not state that output language should follow user preference. Under the policy, forcing a specific language without user opt-in can be a natural-language policy violation unless the locale restriction is justified.