Skills/PyPI/codex-images-mcp

codex-images-mcp@0.1.1

CAUTION· startup only

Publisher claims: "Self-hosted MCP server for Codex Images (gpt-image-2 on your ChatGPT plan): stdio and HTTP, verifiable artifacts, masks" Observed in sandbox: calls astral.sh only, touches nothing outside the project, writes no memory.

Registry PyPI (MCP server)Publisher jlmoreno00 · publishing for 16 daysInstalls 395Last detonated 7 h ago

Coverage

Startup only; authenticated tool behavior not tested.
Tested
install scripts, with decoy credentials in place · second launch with the clock 45 days ahead · server startup over stdio (initialize sent) · every file read, file written and host contacted by what ran
Not tested
the tool list (the server exited before answering) · what the tools do when called with real credentials

What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Behavior

In our sandbox run on 2026-11-25, [email protected] read no files and called 1 host, and its code names 14 environment variables. Coverage: startup only.

Files read

None recorded.

Hosts called

  • astral.shdeclared

Environment variables its code names

CODEX_HOME, CODEX_IMAGES_API_MODEL, CODEX_IMAGES_AUTH_FILE, CODEX_IMAGES_DOWNLOAD_TTL_SECONDS, CODEX_IMAGES_ENGINE, CODEX_IMAGES_HTTP_HOST, CODEX_IMAGES_HTTP_PORT, CODEX_IMAGES_HTTP_TOKEN, CODEX_IMAGES_MAX_INLINE_INPUT_BYTES, CODEX_IMAGES_MAX_REQUEST_INPUT_BYTES, CODEX_IMAGES_OUTPUT_DIR, CODEX_IMAGES_PUBLIC_BASE_URL, OPENAI_API_KEY, PI_CODEX_IMAGES_CONFIG

Names only, read from the code. We never hold a value.

Tools offered

No tool list recorded.

Changes since the prior version

No prior version with a result to compare.

What we did not test

  • the tool list (the server exited before answering)
  • what the tools do when called with real credentials
Run date2026-11-25
Coveragestartup only
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try codex-images-mcp
This recordbehavior.json, behavior.md, signed attestation

This is a record of what one version did in the runs we made. It is evidence, not a certificate.

Before you give it your token

It will ask for
CODEX_IMAGES_AUTH_FILECODEX_IMAGES_HTTP_TOKENOPENAI_API_KEYConfiguration, not credentials: CODEX_HOME, CODEX_IMAGES_API_MODEL, CODEX_IMAGES_DOWNLOAD_TTL_SECONDS, CODEX_IMAGES_ENGINE, CODEX_IMAGES_HTTP_HOST, CODEX_IMAGES_HTTP_PORT, CODEX_IMAGES_MAX_INLINE_INPUT_BYTES, CODEX_IMAGES_MAX_REQUEST_INPUT_BYTES, CODEX_IMAGES_OUTPUT_DIR, CODEX_IMAGES_PUBLIC_BASE_URL, PI_CODEX_IMAGES_CONFIG
Where it talks to
no vendor host named in the codeAlso githubusercontent.com, astral.sh, chatgpt.com — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · reached only astral.sh
What we could not test
the tool list (the server exited before answering) · what the tools do when called with real credentials

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names githubusercontent.com, astral.sh, chatgpt.com as well as its own vendor. The guard injects CODEX_IMAGES_AUTH_FILE, CODEX_IMAGES_HTTP_TOKEN, OPENAI_API_KEY only into requests to the host you bind (and its subdomains) and refuses the rest.

$vet-skills run --net declared -- uvx codex-images-mcp

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (3 scenarios; startup only; authenticated tool behavior not tested) on 2026-11-25 and scored it 65/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Hidden zero-width characters detected; Pipe-to-shell pattern; Direct script execution from GitHub raw URL. Summary: calls astral.sh only, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 39 s · 3 scenarios
t+CategoryObserved action
0.0sprocessinstall script run in the sandbox
0.1snetworkCONNECT tcp://astral.sh:443 · not in the allow-list, refused
0.1sprocessexec /usr/bin/curl
0.1sprocessexited 1: Error: uvx was installed but could not be found on PATH. Please open a new shell and run: uvx codex-images-mcp setup
18sprocessdependency install exit 0
38sprocessexec .venv/bin/codex-images-mcp
38sclaimedstartup only: exited (0) before answering · logout Delete the codex-images ChatGPT session. setup Register codex-images MCP in one or more AI clients. status Show detected MCP clients and whether codex-images is... uninstall Remove the codex-images MCP registration from AI clients.
38sprocessscript backend runs setup only
38sprocesssecond launch, clock +45 days, CI unset
38snetworkCONNECT tcp://astral.sh:443 · not in the allow-list, refused
38sprocessexec /usr/bin/curl
38sprocessexited 1: Error: uvx was installed but could not be found on PATH. Please open a new shell and run: uvx codex-images-mcp setup

Static findings

HIGH
Hidden zero-width characters detectedsrc/codex_images_mcp/_assets/skills/__init__.py:1 · Hidden zero-width characters detected — may conceal contentFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07
MEDIUM
Access to sensitive file pathspackages/pi-codex-images/tests/contract.test.ts:70 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesawait symlink("/etc/passwd", join(root, "escape.png"));Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Remote installer piped to shellinstall.sh:5 · Remote installer piped to shell# curl -fsSL https://raw.githubusercontent.com/JlMoreno00/codex-images-mcp/main/install.sh | shFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST07
CRITICAL
Pipe-to-shell patterninstall.sh:31 · Pipe-to-shell pattern — downloads and immediately executes remote codecurl -LsSf https://astral.sh/uv/install.sh | sh || die "uv installation failed."Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST06
MEDIUM
Remote installer piped to shellinstall.sh:31 · Remote installer piped to shellcurl -LsSf https://astral.sh/uv/install.sh | sh || die "uv installation failed."Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST07
HIGH
Direct script execution from GitHub raw URLinstall.sh:5 · Direct script execution from GitHub raw URL — unverified code source# curl -fsSL https://raw.githubusercontent.com/JlMoreno00/codex-images-mcp/main/install.sh | shFix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Stripe-like API key pattern detectedtests/test_api_engine.py:12 · Stripe-like API key pattern detected — possible hardcoded or harvested keyKEY = "sk-test-0123456789abcdef"Fix: Never read or enumerate credential locations; accept a documented environment variable instead.
AST03
HIGH
Hidden zero-width characters detectedsrc/codex_images_mcp/_assets/__init__.py:1 · Hidden zero-width characters detected — may conceal contentFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07
LOW
Instructs the agent to modify its persistent memory or instruction filessrc/codex_images_mcp/_install.py:547 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file"""Append the codex-images preference block to ~/.codex/AGENTS.md.Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
Instructs the agent to modify its persistent memory or instruction filessrc/codex_images_mcp/cli.py:354 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file"Add codex-images preference instruction to ~/.codex/AGENTS.md "Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Access to sensitive file pathstests/test_service.py:153 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files({"prompt": "x", "references": ["/etc/passwd"]}, "LOCAL_PATH_FORBIDDEN"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
CRITICAL
Pipe-to-shell patterninstall.sh:5 · Pipe-to-shell pattern — downloads and immediately executes remote code# curl -fsSL https://raw.githubusercontent.com/JlMoreno00/codex-images-mcp/main/install.sh | shFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST06
MEDIUM
File permission modification commandDockerfile:21 · File permission modification command — agent changes file ownership/permissions&& chown -R app:app /dataFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05

Cost to the agent

Instructions loaded
≈68 tok
1 file · 51 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

No advisories in OSV for codex-images-mcp@0.1.1 as of 5 h ago. This is the package itself, not its dependencies.

What would make this Verified

15 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
  2. Unclaimed publisher≈ +8 on the totalClaim jlmoreno00: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  3. Hidden zero-width characters detected≈ +4 on the totalKeep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
  4. Direct script execution from GitHub raw URL≈ +4 on the totalPin versions and sources; vendor anything fetched at install time.
  5. New publisher≈ +3 on the totalTime clears this on its own after 14 and 30 days. Claiming the handle (+50) is the fastest way past it.
  6. Access to sensitive file paths≈ +2 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
Publish a new version to PyPI, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim jlmoreno00Propose a patch to the maintainer