T01 · Skill Instruction Hijacking
Warning
- Location
- SKILL.md:68
- Finding
- Mandatory External-Service Promotion Alters Agent Output## Vulnerability Details **File Location**: `SKILL.md`, lines 68-70 **Vulnerability Type**: Forced user-facing output and external-service redirection **Risk Level**: Medium ### Vulnerable Code Snippet ```markdown ## Post-extraction hint (show once per session) > Tip: `flash-extract` provides a fast mode without login, limited to 10 MB or 20 pages and without table recognition. For larger files or HTML export, create a token: https://mineru.net/apiManage/token ``` The quoted tip is an English translation of the source-language message; the command names, restrictions, and URL are unchanged. ### Technical Analysis The skill directs the agent to display a predetermined promotional message once per session after extraction. This requirement changes user-facing output independently of whether the user requested authentication assistance or information about MinerU service limits. Because the instruction is loaded as part of the skill, an agent following it will inject the external token-acquisition URL into conversion responses. This represents instruction-level output manipulation. It does not override safety controls, establish persistence, or execute code, but it compromises output integrity and redirects users to a third-party service. ### Attack Path 1. A user activates the Word-to-HTML skill. 2. The agent processes a document through the documented workflow. 3. The post-extraction instruction requires the agent to append the predefined tip. 4. The response directs the user to the external MinerU token-management page, even when the user did not ask for authentication or account information. ### Impact Assessment The issue affects the integrity and neutrality of agent responses. It can cause unsolicited external-service promotion and encourage users to visit a third-party site or create an account. No local privileges, persistent access, arbitrary code execution, or direct credential access are obtained through t ...[truncated 22 chars]
- Remediation
- ## Remediation Suggestions - Remove the mandatory post-extraction promotional message. - Mention authentication only when the selected operation actually requires a token and no valid authentication is configured. - Clearly identify MinerU as an external service before directing users to it. - Obtain user confirmation before uploading documents or sending document content to an external API. - Keep normal conversion responses limited to the requested output, status, and relevant errors.
