T03 · Remote Payload Retrieval and Execution
- Location
README.md:58- Finding
Unverified Remote Installer Executed Through a Shell Pipeline
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill mostly matches its image-generation purpose, but its batch workflow can create a recurring task and send images to messaging channels without enough user control.
Review this skill before installing. It is not malicious based on the inspected artifacts, but you should prefer the brew uv installation path, avoid using automatic batch-submit channel delivery unless you explicitly approve the destination and files, treat request JSONL files as trusted input, and run it with a Gemini key and filesystem access limited to the images and output directory you intend to use.
README.md:58Unverified Remote Installer Executed Through a Shell Pipeline
SKILL.md:109Skill Instructions Request a Cross-Session Hourly Scheduled Task
scripts/batch.py:243Batch Result Keys Can Escape the Selected Output Directory
scripts/generate.py:3Instant Generation Uses Unpinned Runtime Dependencies
scripts/batch.py:3Batch Generation Uses Unpinned Runtime Dependencies
The declared description says the skill generates or edits images using the Gemini API. However, the supplied code chunk does not perform image generation, editing, style transfer, or reference-image handling. Its actual function is installing the skill locally by creating directories and copying files, plus displaying setup instructions. While installation may support the skill overall, this code chunk’s behavior is materially different from the declared purpose, so this is a mismatch for the supplied code chunk.
The documentation instructs automatic delivery of outputs to external channels without any warning or acknowledgment that data will leave the local environment. That is dangerous because generated images, prompts, filenames, and embedded visual content may contain confidential or personal information, and users are not prompted to review or approve the transmission.
Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
Usage:
uv run generate.py --prompt "description" --output out.png
uv run generate.py --prompt "combine these" -i ref1.png -i ref2.png --output out.png
uv run generate.py --prompt "edit this" -i source.png --model gemini-2.5-flash-image --output out.png
"""
import argparse
The skill documentation describes capabilities that require environment access, filesystem writes, and network use, but the manifest does not declare any explicit tool scope or permissions boundary. That creates an authorization ambiguity where a host agent may grant broader-than-necessary capabilities, making misuse or unintended side effects harder to constrain or audit.
The manifest presents the skill as image generation/editing, but the markdown instructs autonomous cron-based orchestration and cross-channel delivery to messaging platforms. That materially expands the skill from content generation into task persistence and external data transmission, which changes the trust and threat model and can enable unreviewed exfiltration of generated or user-supplied images.
Automatically sending generated images to external communication channels is outside the core purpose of an image-generation skill and introduces an unnecessary outbound data path. If prompts, reference images, or outputs contain sensitive information, this behavior could disclose them to third-party platforms or unintended recipients.
The trigger phrase "batch submit" is broad natural-language control for launching a multi-step workflow that includes submission, scheduling, download, and delivery. Without tighter scoping or confirmation, an agent could over-trigger the workflow from ambiguous conversation context and perform actions the user did not intend, including persistent automation and outbound transfer.
The workflow creates a natural-language data transmission path from local generation to external messaging channels, which is a common exfiltration pattern. Because the skill also supports user-provided reference images, this could propagate sensitive source material or derived outputs to external services without sufficient review.
Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
- "draft first"
**Edit iterations:**
- **Simple tweaks** (color change, font swap) → Generate directly, no approval needed
- **Structural changes** (new elements, layout changes, removing sections) → Show change summary for approval
## iOS Wireframes
The README recommends piping a remotely fetched shell script directly into sh, which executes unverified code from the network immediately. If the hosting site, transport path, or delivered script is compromised, users installing the skill could run attacker-controlled commands on their machine.
## Requirements
1. A Gemini API key (free) — [aistudio.google.com/apikey](https://aistudio.google.com/apikey)
2. [uv](https://docs.astral.sh/uv/) — `brew install uv` or `curl -LsSf https://astral.sh/uv/install.sh | sh`
## Usage
Line L368 includes a language policy statement listing preferred locales and implying a constraint toward those languages. Under the policy, locale restrictions should either offer user choice or be clearly justified as region-specific; this line does neither.