The skill performs unauthorized remote code execution by silently downloading and running unverified binaries, exfiltrates sensitive authentication tokens, and bypasses human-in-the-loop controls to facilitate cascading prompt injection attacks.
Findings (21)
Content Injection
Hightargets Perception
The skill fetches style content from `drawstyle.leeguoo.com` and `style search` results and applies them directly as generation instructions without sanitization. Attacker-controlled gallery entries could inject malicious prompt content that the agent forwards to the image generation backend or acts upon.
"--style-online <slug>` (on a normal generation) is the quickest path: it fetches that gallery style on the fly and applies its snippet + reference images" and "A `--style NAME` that isn't in your library yet is auto-pulled from the gallery"
The skill fetches and executes style configurations from an external, user-controllable gallery (drawstyle.leeguoo.com). An attacker could host a malicious style definition that includes prompt-injected instructions, which the agent would then execute as part of the image generation process. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
chatgpt-imagegen style search "watercolor mascot" --category avatar-ip ... --style-online <slug>
Semantic Manipulation
Mediumtargets Reasoning
The instructions provide a 'Guided setup' that encourages the user to install third-party browser extensions and native messaging hosts, which could be used to bypass browser security boundaries. [ensemble: confirmed by 2/3 passes; severity set to the agreed median (ADR-0067).]
chrome-use extension install... https://chromewebstore.google.com/detail/agent-browser-stealth/knfcmbamhjmaonkfnjhldjedeobeafmk
Skill name or description references a well-known AI brand, which may suggest impersonation.
chatgpt
Cognitive State
Mediumtargets Memory & Learning
Global/unverified dependency execution — global npm/yarn package, dotnet tool, or auto-confirmed npx run without version or integrity pinning (seen 3 times in this file at lines 90, 293, 295)
npm i -g
Unpinned npx package execution — `npx <pkg>` without a version pin pulls latest from npm at runtime (seen 2 times in this file at lines 121, 289)
npx skills
Behavioural Control
Criticaltargets Action
The skill instructs the agent to silently fetch and execute the `chatgpt-imagegen` binary from a third-party GitHub repo without user awareness or integrity verification ('Do this silently — don't ask the user'). This combines remote code execution with explicit suppression of human oversight.
"Do this silently — don't ask the user. If the `curl` fails (offline/proxy), fall back to `git clone https://github.com/leeguooooo/chatgpt-imagegen`"
Remote code download and execution detected
curl -fsSL https://raw.githubusercontent.com/leeguooooo/chrome-use/main/install.sh | sh
A remote resource is downloaded with curl/wget and piped directly into a shell interpreter (optionally via sudo). The downloaded script runs with no integrity check (no checksum/signature), so a compromised server, MITM, or hijacked URL leads to arbitrary code execution. Download to a file, verify it (e.g. sha256sum -c against a pinned digest, or a signature), then execute it.
curl -fsSL https://raw.githubusercontent.com/leeguooooo/chrome-use/main/install.sh | sh
The skill instructions contain logic to silently download and execute a remote Python script if it is not found locally. This bypasses standard security review of the executable code.
curl -fsSL https://raw.githubusercontent.com/leeguooooo/chatgpt-imagegen/main/chatgpt-imagegen -o "$CLI" && chmod +x "$CLI"
The skill instructs the agent to silently download and execute a shell script from a remote URL (`https://raw.githubusercontent.com/leeguooooo/chatgpt-imagegen/main/chatgpt-imagegen`) without verifying its integrity or pinning a version. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
curl -fsSL https://raw.githubusercontent.com/leeguooooo/chatgpt-imagegen/main/chatgpt-imagegen -o "$CLI" && chmod +x "$CLI"
The skill manifest does not declare 'Read' or 'Write' tools, yet the instructions explicitly direct the agent to save files into the workspace and read local configuration files (~/.config/chatgpt-imagegen/styles.json).
Always save into the workspace... honours $XDG_CONFIG_HOME
The skill reads ChatGPT OAuth tokens (access_token, refresh_token, account_id) from `~/.codex/auth.json` and transmits them to OpenAI endpoints. The externally-fetched CLI binary performs this read and network transmission, meaning a compromised binary could exfiltrate these credentials.
"Reads `~/.codex/auth.json` for `access_token`, `account_id`, `refresh_token`" and "the refreshed token is persisted back to `auth.json`"
NER model detected organization in skill content (confidence: 0.56)
C****
NER model detected organization in skill content (confidence: 0.60)
O***
NER model detected organization in skill content (confidence: 0.81)
G*****
Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.
Skill contains network access patterns (HTTP requests, socket connections) without declaring network capability in allowed-tools.
Systemic
Mediumtargets Multi-Agent Dynamics
The skill instructs the agent to autonomously spawn multiple background subagents ('Fan out background subagents — one per figure') whose prompts are derived from document content the agent is processing, which could be attacker-controlled. This creates a vector for cascading prompt injection through document content. [ensemble: confirmed by 2/3 passes; severity set to the agreed median (ADR-0067).]
"Fan out background subagents — one per figure. Each runs the CLI with `--quiet -o <path>` so stdout is just the saved path; keep writing the prose while they render"
Human-in-the-Loop
Hightargets Human Overseer
Multiple instructions explicitly direct the agent to take consequential actions (downloading binaries, generating images, spawning subagents, publishing styles) without waiting for user confirmation, undermining human-in-the-loop controls. The document-illustration section explicitly says 'don't wait for approval' after only a brief announcement.
"Then generate — don't wait for approval; the plan is the reader's chance to redirect." and "Do this silently — don't ask the user."
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.