T07 · Tool Hijacking and Spoofing
- Location
SKILL.md:394- Finding
Execution of an Unverified Script from a Predictable Temporary Path
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is broadly coherent as a dream interpreter, but it stores sensitive dream text and includes unsafe image-generation commands with an exposed API key, so it needs review before installation.
Install only if you are comfortable with dream descriptions being saved locally and potentially sent to external TTS or image services. The publisher should remove and rotate the exposed API key, stop executing scripts from /tmp, pin dependencies, require explicit consent before storing or transmitting dream content, and add clear delete/export and retention controls.
SKILL.md:394Execution of an Unverified Script from a Predictable Temporary Path
SKILL.md:394Hardcoded Google API Key Exposed in Skill Instructions
SKILL.md:403Runtime Installation of Mutable Unpinned Dependencies
SKILL.md:394Potential Shell Command Injection Through Dream-Derived Image Prompts
SKILL.md:456Sensitive Dream Narratives Stored in Plaintext Without Explicit Access or Retention Controls
The trigger phrases are extremely broad and include common conversational terms, making accidental activation likely. Over-broad triggers are dangerous in this skill because activation can lead to persistent storage, retrieval workflows, and external service use based on ordinary user speech.
The rule that any message containing the character '梦' plus some dream description should trigger is ambiguous and subjective, leaving activation boundaries undefined. In context, ambiguous activation is especially risky because the skill can log sensitive personal narratives and initiate downstream processing without deliberate user intent.
The skill persists users' dream records, including raw descriptions, without a clear user-facing privacy notice or consent flow. Dreams can contain intimate mental-health, relationship, and trauma-related information, so silent retention materially increases privacy and misuse risk.
The image-generation flow sends dream-derived prompts to an external service and saves resulting files locally, but the user is not clearly warned that their sensitive content may leave the system and be written to disk. This creates both third-party disclosure risk and local persistence risk for highly personal material.
The skill includes a shell-based image generation workflow that sends user-derived dream content to an external model and embeds a hard-coded API key directly in the command. Hard-coded secrets can be extracted and abused, and the script reconstruction instructions expand the skill into arbitrary code/script creation and execution beyond a simple dream-interpretation feature.
The description defines activation entirely through Chinese trigger phrases, indicating a language-specific interaction model. Because the file does not state that the skill is intentionally Chinese-only or offer user choice of language, this appears to be an implicit locale restriction.
Several query and utility triggers such as common words for voice, images, or fortune are generic enough to collide with unrelated requests. This can unintentionally expose stored records or invoke external/media-generation behavior when the user did not mean to use this skill.
The skill instructs persistent logging of raw dream descriptions and reuse of those records for later analysis. Storing intimate free-form narratives increases the blast radius of any unauthorized access because raw text often contains sensitive personal details not captured by summaries alone.
The skill is presented as dream interpretation but also performs fortune-telling, lot drawing, and calendrical divination. This scope expansion increases the chance of unexpected activation paths, additional data processing, and user deception about what the skill actually does.
The TTS section instructs use of third-party provider credentials from environment variables for voice playback. While TTS itself is related to the feature, this still expands data handling to external services and can expose sensitive dream content without clear minimization, consent, or provider restrictions.
The workflow requires saving each user's original dream narrative into a persistent JSON file for future use. Persisting raw user text in a flat file raises confidentiality and integrity concerns, especially if the workspace is accessible to other skills, users, or processes.
The skill exposes and summarizes previously stored dream records through history, calendar, and monthly report features. Retrieval features increase the chance of inadvertent disclosure of sensitive personal content, especially if activation is broad or user identity/session boundaries are weak.
The manifest text is entirely in Chinese in the description and several keywords, which presents the skill as language-specific without indicating any user opt-in, multilingual support, or region-specific justification. Under the stated policy, forcing a specific language or locale in natural-language metadata can be a policy violation when no choice is offered.
No suspicious patterns detected.