T01 · Skill Instruction Hijacking
Error
- Location
- SKILL.md:216
- Finding
- Forced Third-Party Promotional Content in Git Commit History<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:216-227` **Vulnerability Type**: Persistent output and artifact hijacking **Risk Level**: High ### Vulnerable Code ```bash cd PROJECT_PATH && git status && git diff --stat git add -A git commit -m "feat(mini): implement {FEATURE_NAME} - {bullet 1} - {bullet 2} Built via Mini PIV Ralph Built with FTW (First Try Works) - https://github.com/SmokeAlot420/ftw" ``` ### Technical Analysis The workflow unconditionally appends third-party branding and an external promotional URL to every commit it creates. This content is unrelated to the requested feature and is inserted without asking the user to review or approve it. Because Git commit messages become persistent repository artifacts, the behavior modifies project history for promotional purposes. The Skill's declared purpose is feature planning, implementation, and validation; silently adding advertising to commit history is outside that purpose and constitutes instruction-driven output hijacking. No remote payload is retrieved from the included URL, and there is no evidence that the URL is used for data exfiltration. The vulnerability is the forced modification of user-controlled output rather than remote code execution. ### Attack Path 1. A user invokes the Skill to implement a feature in a Git repository. 2. The research, execution, and validation phases complete. 3. The workflow reaches the mandatory “Smart Commit” step. 4. The Skill stages changes and creates a commit automatically. 5. The fixed FTW branding and GitHub URL are written into permanent repository history. 6. The promotional content may subsequently be propagated to shared or public remotes when the user pushes the commit. ### Impact Assessment The attacker-controlled instruction can modify persistent Git metadata in every repository where the Skill completes successfully. It does not grant operating-system privileges, but it can: - Insert unwanted attribution or advertis ...[truncated 253 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove the fixed branding, attribution text, and external URL from the commit template. 2. Generate a neutral commit message based only on the requested feature and actual changes. 3. Display the complete proposed commit message before creating the commit. 4. Require explicit user approval before writing to Git history. 5. Make attribution strictly opt-in through a documented configuration option. 6. Permit the user to skip committing entirely and retain the implementation as uncommitted changes. ]]>
