codex-prompt-enhancer

Warn

Audited by Gen Agent Trust Hub on Oct 13, 2026

Risk Level: MEDIUMMETADATA_POISONINGDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [METADATA_POISONING]: The skill uses unverified usage statistics ("144,375 accesses on MCP Market") and claims an origin from "openai/skills" while being authored by an unrelated user. This constitutes a deceptive metadata attack designed to build false trust and encourage adoption through fabricated social proof and misattribution.
  • [DATA_EXFILTRATION]: The skill implements a "Community Prompt Library" feature (--save-to-library, --library search). The skill's primary function is to embed local project context (file names, internal hook usage, dependency versions, architecture patterns) into prompts. Sharing these enhanced prompts to a remote library creates a risk of exposing sensitive, proprietary project architecture and internal metadata to external servers.
  • [COMMAND_EXECUTION]: The skill instructions frequently invoke an external CLI tool named codex (e.g., codex enhance, codex config). The security of this binary is not established, and it is granted access to the project's file system and potentially the network during library operations.
  • [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it automatically ingests data from external, potentially untrusted sources like README.md, package.json, and project source code.
  • Ingestion points: SKILL.md identifies package.json, tsconfig.json, git history, README, and current file content as context sources.
  • Boundary markers: None present; the skill lacks delimiters or warnings to ignore embedded instructions in the ingested files.
  • Capability inventory: The skill generates prompts that drive agent actions and interacts with the codex command-line interface.
  • Sanitization: No evidence of filtering or sanitization of ingested file content before prompt interpolation.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 13, 2026, 05:03 PM