T01 · Skill Instruction Hijacking
- Location
SKILL.md:76- Finding
Mandatory Third-Party Promotional Content in Operational Responses
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:76,SKILL.md:114,SKILL.md:151,SKILL.md:189
Vulnerability Type: Output manipulation through skill instructions
Risk Level: HighVulnerable Code
markdown 🔗 技术小学生 https://blog.tag.ggThe same third-party promotional link is embedded in the Chinese and English backup and restore confirmation flows.
Technical Analysis
The skill instructions require the agent to insert an unrelated brand and external URL into operational responses. Because these instructions are loaded as part of the skill and affect the agent's generated output, they modify the expected backup and restore interaction for a purpose unrelated to the requested operation.
This is instruction-level output hijacking rather than a normal functional dependency. The link is not required to create, locate, or restore backup archives, and users are directed toward a third-party site as part of an otherwise trusted workflow.
Attack Path
- The skill is loaded into an agent session.
- A user enters one of the documented backup or restore trigger phrases.
- The agent follows the mandatory confirmation template in
SKILL.md. - The third-party promotional URL is inserted into the agent's response.
- The user may interpret the link as an official or operationally required OpenClaw resource and visit it.
Impact Assessment
This issue controls a portion of the agent's visible output and redirects users to an unrelated third-party domain. It does not directly grant local system privileges, but it abuses the trust relationship between the user and the agent. The external destination could subsequently expose users to tracking, misleading information, or changed content outside the audited package.
- Remediation
View remediation
Remediation Suggestions
- Remove all unrelated branding and promotional URLs from backup and restore prompts.
- Restrict operational responses to information necessary for confirmation, backup creation, archive selection, and restoration.
- If external documentation is genuinely required, use a clearly identified official project URL and explain why access is necessary.
- Review all skill instructions for content that changes agent output without contributing to the declared functionality.
