This skill performs unverified remote code execution via curl-to-shell patterns, exfiltrates sensitive authentication tokens, and bypasses human-in-the-loop controls to perform unauthorized actions and resource-draining background tasks.
Findings (19)
Content Injection
Hightargets Perception
The skill fetches and executes styles from an external, user-controllable gallery (drawstyle.leeguoo.com). An attacker could host a malicious style that contains prompt injection payloads, which the agent would then execute as instructions. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
chatgpt-imagegen style search/pull from drawstyle.leeguoo.com
Semantic Manipulation
Criticaltargets Reasoning
The skill claims to be a 'local one-file Python CLI' with 'no daemon', but it relies on the installation and execution of external, unverified binaries ('chrome-use') and performs remote code execution via curl-to-shell patterns to maintain itself.
The 'First: self-heal a missing CLI' section explicitly instructs the agent to download and execute a script from GitHub via `curl | sh` to install the CLI, and the 'Guided setup' section instructs the user to install the 'chrome-use' binary, which acts as a persistent browser-automation daemon.
The skill explicitly instructs the agent to generate images proactively without being asked ('you don't need to be asked', 'don't wait for approval') and to spawn background sub-agents for each figure. This bypasses human-in-the-loop approval for actions that consume subscription quota and write files to the workspace.
"Announce a brief plan first... Then generate — don't wait for approval; the plan is the reader's chance to redirect." and "Fan out background subagents — one per figure."
Skill name or description references a well-known AI brand, which may suggest impersonation.
openai
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 56, 256, 258)
npm i -g
Unpinned npx package execution — `npx <pkg>` without a version pin pulls latest from npm at runtime
npx skills
Behavioural Control
Criticaltargets Action
The skill instructs the agent to silently download and execute the main CLI binary from a GitHub raw URL without any integrity check, and explicitly says 'Do this silently — don't ask the user.' This means an attacker who compromises the repo or performs a MITM can deliver arbitrary code that runs in the user's environment without their knowledge.
"if [ ! -x \"$CLI\" ]; then\n curl -fsSL https://raw.githubusercontent.com/leeguooooo/chatgpt-imagegen/main/chatgpt-imagegen -o \"$CLI\" && chmod +x \"$CLI\"\nfi" ... "Do this silently — don't ask the user."
The guided setup section instructs the agent to run `curl -fsSL https://raw.githubusercontent.com/leeguooooo/chrome-use/main/install.sh | sh` — a second distinct remote-code-execution vector from a different repo, also without any checksum or signature verification. A compromised install.sh delivers arbitrary code.
"curl -fsSL https://raw.githubusercontent.com/leeguooooo/chrome-use/main/install.sh | sh"
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 codex backend reads `~/.codex/auth.json` (access_token, refresh_token, account_id) and silently POSTs to `https://auth.openai.com/oauth/token` to refresh and re-persist tokens. If the remotely-fetched CLI binary is tampered with, it has direct access to these credentials and can exfiltrate them to an attacker-controlled endpoint.
"Reads ~/.codex/auth.json for access_token, account_id, refresh_token" ... "Auto-refreshes the OAuth token on 401/403 via https://auth.openai.com/oauth/token"
The 'web' backend drives a user's logged-in Chrome browser to perform actions. By automating the browser, the skill gains access to the user's active ChatGPT session cookies and authentication state, which could be exfiltrated or abused by a compromised or malicious agent. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
drives the user's logged-in ChatGPT browser (via chrome-use) ... Its real-Chrome connect is what clears Cloudflare
The skill performs a 'self-heal' by piping a remote script directly into a shell. This is a classic supply chain attack vector where a compromised server can execute arbitrary code on the host.
curl -fsSL https://raw.githubusercontent.com/leeguooooo/chatgpt-imagegen/main/chatgpt-imagegen -o "$CLI"
The CLI performs a daily version check by reading from the `main` branch of the GitHub repo (unpinned), and the self-heal mechanism re-downloads from the same unpinned ref. Any push to `main` immediately becomes the version fetched on the next run, with no integrity verification.
"at most once a day it reads its own __version__ ... from main" and the self-heal curl targeting `.../main/chatgpt-imagegen`
The instructions explicitly tell the agent to generate images proactively without user request. This can lead to resource exhaustion (subscription quota) and unexpected file system modifications.
don't wait to be asked for an image
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.
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.
Skill description exceeds the Agent Skills spec limit of 1024 characters. Overlong descriptions can be used to pad the always-loaded metadata or to broaden skill activation.