codex-images-mcp@0.1.1
CAUTION· startup onlyPublisher 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.
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 date | 2026-11-25 |
| Coverage | startup only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try codex-images-mcp |
| This record | behavior.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.
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 scenariosStatic findings
await 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.# 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.curl -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.curl -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.# curl -fsSL https://raw.githubusercontent.com/JlMoreno00/codex-images-mcp/main/install.sh | shFix: Pin versions and sources; vendor anything fetched at install time.KEY = "sk-test-0123456789abcdef"Fix: Never read or enumerate credential locations; accept a documented environment variable instead."""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."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.({"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.# 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.&& chown -R app:app /dataFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.Cost to the agent
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 4 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%- Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- 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.
- Hidden zero-width characters detected≈ +4 on the totalKeep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
- Direct script execution from GitHub raw URL≈ +4 on the totalPin versions and sources; vendor anything fetched at install time.
- 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.
- 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.