T07 · Tool Hijacking and Spoofing
- Location
SKILL.md:27- Finding
Execution of Unbundled and Unverifiable External Scripts
- Content
View full analysis
"你段文字" normal ``` ### Technical Analysis The skill delegates its substantive behavior to shell scripts at absolute paths outside the audited project. Neither script is included in the package, so their implementation, argument handling, network destinations, filesystem operations, and other side effects cannot be reviewed. The referenced files can be created or replaced independently after this skill has been audited. Consequently, a legitimate-looking voice-generation request may execute arbitrary logic controlled by whoever can modify the external script path. The use of an absolute, user-specific path also makes the skill non-portable and prevents it from establishing that the invoked executable belongs to the reviewed package. This is classified as tool hijacking because the trusted skill instruction invokes mutable external tools whose identity and integrity are not established. ### Attack Path 1. An attacker obtains write access to `/home/gabriel/.openclaw/workspace/scripts/`, or compromises the deployment process responsible for those scripts. 2. The attacker creates or replaces `edge-tts-voice-ogg.sh` or `edge-tts-telegram.sh` with malicious shell code. 3. A user requests a Cantonese voice reply, causing the agent to follow the skill instructions. 4. The agen ...[truncated 810 chars]- Remediation
View remediation
