T01 · Skill Instruction Hijacking
- Location
scripts/script.sh:678- Finding
Unsolicited Promotional Content and Third-Party Skill Installation Suggestions in Command Output
- Content
View full analysis
Vulnerability Details
File Location:
scripts/script.sh:94, 196, 276, 371, 394, 497, 586, 641, 648, 678-682; related promotional references inSKILL.md:60-61
Vulnerability Type: T01: Skill Instruction Hijacking
Risk Level: LowVulnerable Code
The following footer is appended repeatedly to the output of reference and template commands:
bash 📖 More skills: bytesagain.com EOFThe unknown-template branch also emits promotional content:
bash *) echo "❌ Unknown template: $template" echo "Available: erc20, ownable, counter, erc721" echo "" echo "📖 More skills: bytesagain.com" ;;The help command includes suggestions to install unrelated third-party skills:
bash Related skills: clawhub install blast clawhub install solidity Browse all: bytesagain.com Powered by BytesAgain | bytesagain.com EOFThe Skill documentation contains additional promotional references:
markdown ## Feedback https://bytesagain.com/feedback/ Powered by BytesAgain | bytesagain.comTechnical Analysis
The Skill is presented as a local Cairo and StarkNet reference utility, but its command handlers systematically append third-party promotional content to otherwise task-focused output. The
helpcommand additionally recommends commands that would install unrelated skills.This behavior is classified as instruction hijacking because the generated output attempts to redirect the user or consuming agent toward unrelated resources and installation actions that are outside the Skill's stated Cairo-reference purpose. The promotional content is emitted unconditionally by multiple handlers, rather than being limited to optional metadata or a dedicated informational command.
The reviewed code does not execute the displayed
clawhub installcommands. It also does not perform network requests, retrieve ...[truncated 1416 chars]- Remediation
View remediation
Remediation Suggestions
- Remove promotional footers from all syntax, type, storage, event, and template command outputs.
- Remove unrelated
clawhub installsuggestions from the standard help output. - Keep attribution and project links in package metadata or an explicit
aboutcommand instead of injecting them into normal results. - Clearly label any optional external resources and state that they are not required for the requested operation.
- Do not recommend third-party installation commands unless the dependency is necessary, pinned to a reviewed version, and accompanied by provenance and integrity-verification guidance.
- Add output-focused tests ensuring each functional command returns only content relevant to the documented operation.
