T01 · Skill Instruction Hijacking
- Location
SKILL.md:271- Finding
Mandatory Promotional Messaging and Tracking Link Injection
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill mostly does what it advertises, but it also sets up recurring messages, reads WeChat account files to choose a recipient, and sends promotional tracked links without enough clear consent.
Review before installing. This skill can send messages through connected chat channels, create a daily recurring OpenClaw task, read local WeChat account context files to infer who to message, and append promotional DozyTale links. Prefer a version that asks for explicit scheduling consent, confirms the recipient, provides an easy stop command, avoids context-token file access, and makes marketing links optional.
SKILL.md:271Mandatory Promotional Messaging and Tracking Link Injection
SKILL.md:99Installation of a Persistent Daily OpenClaw Scheduled Task
SKILL.md:82Direct Enumeration of WeChat Account Context-Token Files
SKILL.md:99Unvalidated Dynamic Values Interpolated into Shell Commands
Referenced artifact was not completely inspected
Read the file `themes.json` in the same directory as this SKILL.md.
The duplicate finding points to the same behavior: remote media is fetched and consumed locally without integrity or origin validation. Because the file is then parsed by multimedia tooling, any compromise of the source or manipulation of the URL source data increases risk to the execution environment.
curl -s "{bgm_url}" -o /tmp/dozy_bgm.mp3
The duplicate finding points to the same behavior: remote media is fetched and consumed locally without integrity or origin validation. Because the file is then parsed by multimedia tooling, any compromise of the source or manipulation of the URL source data increases risk to the execution environment.
curl -s "{bgm_url}" -o /tmp/dozy_bgm.mp3
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
rm -rf /tmp/dozy_chunks /tmp/dozy_manifest.json /tmp/dozy_urls.txt \
/tmp/dozy_concat.txt /tmp/dozy_story.mp3 /tmp/dozy_bgm.mp3 \
/tmp/dozy_mixed.mp3 /tmp/dozy_final.ogg /tmp/dozy_final.mp3
rm -f "$OCLAW_WORKSPACE/dozy_final.ogg" "$OCLAW_WORKSPACE/dozy_final.mp3"
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
rm -rf /tmp/dozy_chunks /tmp/dozy_manifest.json /tmp/dozy_urls.txt \
/tmp/dozy_concat.txt /tmp/dozy_story.mp3 /tmp/dozy_bgm.mp3 \
/tmp/dozy_mixed.mp3 /tmp/dozy_final.ogg /tmp/dozy_final.mp3
rm -f "$OCLAW_WORKSPACE/dozy_final.ogg" "$OCLAW_WORKSPACE/dozy_final.mp3"
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
rm -rf /tmp/dozy_chunks /tmp/dozy_manifest.json /tmp/dozy_urls.txt \
/tmp/dozy_concat.txt /tmp/dozy_story.mp3 /tmp/dozy_bgm.mp3 \
/tmp/dozy_mixed.mp3 /tmp/dozy_final.ogg /tmp/dozy_final.mp3
rm -f "$OCLAW_WORKSPACE/dozy_final.ogg" "$OCLAW_WORKSPACE/dozy_final.mp3"
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
rm -rf /tmp/dozy_chunks /tmp/dozy_manifest.json /tmp/dozy_urls.txt
/tmp/dozy_concat.txt /tmp/dozy_story.mp3 /tmp/dozy_bgm.mp3
/tmp/dozy_mixed.mp3 /tmp/dozy_final.ogg /tmp/dozy_final.mp3
rm -f "$OCLAW_WORKSPACE/dozy_final.ogg" "$OCLAW_WORKSPACE/dozy_final.mp3"
---
The trigger phrases are very broad and overlap with common user messages such as 'can't sleep' or 'help me relax', which can cause the skill to activate unintentionally in ordinary conversation. In a messaging-based agent that can send generated audio to external platforms, accidental activation can lead to unwanted outbound actions, user confusion, and reduced trust in the agent’s routing behavior.
The instruction hard-codes the assistant persona and interaction language in Chinese, and the subsequent user-facing prompts are also specified only in Chinese. There is no opt-in, language selection step, or documented reason that this skill must operate only in Chinese, which conflicts with the policy against forcing a specific language without user choice.
The skill is designed to schedule ongoing proactive messages and cross-channel targeting, but the overall flow does not present strong, explicit notice about persistent outreach behavior and its implications. Users may not understand that automated future contact will continue outside the current interaction, which creates consent and abuse risks.
The skill creates a persistent cron job for daily outreach, extending behavior beyond the current session and normal on-demand invocation. Persistent automation increases risk of spam, unexpected contact, and continued operation after the user may have forgotten or changed consent.
The skill reads local account token/context files to discover a WeChat user ID, which is a form of local secret/account-data inspection unrelated to the immediate user request. This crosses a trust boundary by harvesting identifiers from local state and can enable messaging a user or another account without explicit, per-action consent.
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
--session isolated
--timeout-seconds 300
--no-deliver
--message "PROACTIVE_USER_ID=${DOZY_USER_ID} 现在是睡前时间,读取 ~/.openclaw/skills/dozytale-sleep/SKILL.md 并执行助眠故事推送。"
注册成功后告知用户,例如:"好,每天 {SLEEP_HOUR}:00 我会自动给你送来一段故事 😊 今晚要不要先来一段?"
This JSON manifest repeatedly points story_manifest_url to /pregenerated/zh/manifest.json, which encodes a Chinese-language locale choice directly in the configuration. Because the file provides no indication of user opt-in, fallback behavior, or a documented China/Chinese-only scope, it appears to force a specific language/locale in a way that violates the natural-language locale policy.
The manifest describes a sleep skill that sends AI-generated bedtime audio stories mixed with ambient music. This file instead enumerates many fixed, pre-generated manifests and branded/story/song themes such as children's songs and franchise-themed stories, indicating the skill serves a broader content library than the manifest claims.
The description explicitly claims support for WhatsApp, WeChat, and Feishu, but the channel handling logic only distinguishes WhatsApp from WeChat/other and never implements a Feishu-specific flow. That creates a user-visible mismatch between the advertised channel coverage and the actual documented behavior.