chatgpt-imagegen
Fail
Audited by Gen Agent Trust Hub on Sep 11, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
SKILL.mdfile contains instructions for the agent to "silently" download a Python script fromhttps://raw.githubusercontent.com/leeguooooo/chatgpt-imagegen/main/chatgpt-imagegenand execute it usingchmod +x. This allows for unverified code execution without user intervention.\n- [REMOTE_CODE_EXECUTION]: The documentation provides an installation workflow forchrome-usethat involves piping a remote shell script fromhttps://raw.githubusercontent.com/leeguooooo/chrome-use/main/install.shdirectly intosh, a high-risk pattern for executing untrusted remote code.\n- [DATA_EXFILTRATION]: The skill is designed to read the sensitive local file~/.codex/auth.json, which stores ChatGPT OAuth access and refresh tokens. While used for legitimate authentication, this access exposes user credentials to the agent environment.\n- [COMMAND_EXECUTION]: The skill's primary functionality relies on executing shell commands viasubprocess.run(), as seen indrafts/gemini_probe.pyand theSKILL.mdworkflow, to drive browser automation tools and image processing utilities likemagickandimg2webp.\n- [PRIVILEGE_ESCALATION]: TheREADME.mdfile suggests usingsudo installto move the CLI tool into/usr/local/bin, requiring the user to grant administrative privileges to the installation process.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied prompt data and interpolates it into instructions for external models and browser automation commands, creating an attack surface for indirect prompt injection.\n - Ingestion points: The
promptargument provided to thechatgpt-imagegencommand inSKILL.md.\n - Boundary markers: The skill does not implement explicit boundary markers or "ignore embedded instructions" warnings for the user-supplied prompts.\n
- Capability inventory: The skill can perform network operations via
urllib, write files using the-oflag, and execute shell commands throughsubprocess.\n - Sanitization: No sanitization or escaping of the user-provided prompt is performed before it is used in the model instruction wrappers.
Recommendations
- HIGH: Downloads and executes remote code from: https://raw.githubusercontent.com/leeguooooo/chrome-use/main/install.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata