EinloggenDemo anfordern

chatgpt-imagegen

Critical · Risk 100

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

High

targets Perception

2 findings
#1Indirect prompt injection via external style gallery contenthighindirect prompt injection88% confidence

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"
#2Indirect prompt injection via gallery styleshighindirect prompt injection80% confidence

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

Medium

targets Reasoning

2 findings
#1Social engineering for privilege escalationmediumsocial engineering70% confidence

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
#2Potential brand impersonationmedium70% confidence

Skill name or description references a well-known AI brand, which may suggest impersonation.

chatgpt

Cognitive State

Medium

targets Memory & Learning

2 findings
#1Global/unverified dependency execution — global npm/yarn package, dotnet tool, or auto-confirmed npx run without version or integrity pinningmediumsupply chain95% confidenceline 90

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
#2Unpinned npx package execution — `npx <pkg>` without a version pin pulls latest from npm at runtimemediumsupply chain95% confidenceline 121

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

Critical

targets Action

12 findings
#1Silent auto-download of unverified external binarycriticalcommand execution97% confidence

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`"
#2Remote code download and execution detectedcriticalremote exec95% confidenceline 75

Remote code download and execution detected

curl -fsSL https://raw.githubusercontent.com/leeguooooo/chrome-use/main/install.sh | sh
#3A 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.criticalvuln95% confidenceline 2

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
#4Hidden/unreferenced executable downloadhighunauthorized tool use90% confidence

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"
#5Implicit trust in external script executionhighcommand execution90% confidence

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"
#6Undeclared capability: arbitrary file read/writehighdescription mismatch90% confidence

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
#7Third-party credential custody via ~/.codex/auth.jsonmediumcredential theft85% confidence

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`"
#8Organization name detectedmediumpii exposure56% confidence

NER model detected organization in skill content (confidence: 0.56)

C****
#9Organization name detectedmediumpii exposure60% confidence

NER model detected organization in skill content (confidence: 0.60)

O***
#10Organization name detectedmediumpii exposure81% confidence

NER model detected organization in skill content (confidence: 0.81)

G*****
#11Missing allowed-tools declarationlow90% confidence

Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.

#12Undeclared network usagelow60% confidence

Skill contains network access patterns (HTTP requests, socket connections) without declaring network capability in allowed-tools.

Systemic

Medium

targets Multi-Agent Dynamics

1 finding
#1Sub-agent spawning with attacker-influenced promptsmediumsub agent spawning82% confidence

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

High

targets Human Overseer

1 finding
#1Oversight suppression: agent told to act without approvalhighapproval fatigue93% confidence

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

Info

targets Packaging & Manifest

1 finding
#1Missing licenseinfo100% confidence

Skill does not specify a license field. Specifying a license helps users understand usage terms.