T01 · Skill Instruction Hijacking
- Location
SKILL.md:3- Finding
Agent Persona and Response-Flow Hijacking
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill has a coherent image-generation purpose, but it sends prompts and credentials to an external service under broad triggers and accepts unsafe remote-controlled outputs.
Review before installing. Use this only if you are comfortable with matching prompts being sent to clawgirl.date using your API key, generated files being saved locally, and the service influencing returned text and image download URLs. Prefer a constrained environment and a limited API key, and avoid sending private or sensitive details through this skill.
SKILL.md:3Agent Persona and Response-Flow Hijacking
scripts/generate.js:71Server-Controlled URL Download Enables SSRF and Unbounded File Retrieval
The trigger phrases are broad everyday expressions such as 'photo', 'show me', and 'let me see', which can easily match benign conversation and cause the skill to run unexpectedly. Because execution sends raw user prompts to an external API and may generate media automatically, over-triggering can leak user content to a third party, consume paid API quota, and produce unwanted NSFW/parasocial outputs without clear user intent.
Referenced artifact was not completely inspected
1. 调用脚本:`node ./scripts/generate.js "$prompt"`
Referenced artifact was not completely inspected
1. 调用脚本:`node ./scripts/generate.js "$prompt"`
The skill declares use of an environment secret (CLAWGIRL_API_KEY) and invokes a local script, but it does not declare an explicit tool or permission scope. That creates ambiguity about what execution and secret access the skill requires, making review and sandbox enforcement harder and increasing the risk of over-privileged execution in hosts that infer capabilities loosely.
The skill explicitly says to pass the user's original words directly as prompt, but it does not warn that this content is transmitted to the external ClawGirl API. Users may disclose sensitive personal, sexual, or private context expecting local chat behavior, and that data would be sent off-platform without informed consent.
The script automatically reads CLAWGIRL_API_KEY from environment variables and from multiple local config files under the user's home directory without any clear disclosure in the file. While this is common implementation behavior, it still creates a genuine security and privacy issue in an agent skill because the skill silently discovers and uses stored secrets, expanding the chance of unintended credential use or abuse.
The script sends both the user-provided prompt and a bearer token to a third-party service at clawgirl.date, but the file provides no user-facing disclosure, consent flow, or scoping controls. In a skill ecosystem, this is a real privacy and credential-exposure concern because prompts may contain sensitive content and the token authorizes billable or account-bound API usage on an external service.
The skill requires an external API credential but does not clearly warn users or deployers about the trust boundary, billing, and data-sharing implications of using that third-party service. While the presence of an API key itself is normal, lack of disclosure can lead to uninformed deployment and misuse of paid or sensitive external integrations.
The script downloads remote content and writes it into a user-controlled media directory without a prior user-facing warning in this file. Although the behavior is expected for an image-generation skill, silent filesystem writes still matter because they persist externally sourced data locally and can consume disk space or leave unwanted content on the host.
No suspicious patterns detected.