codex
Warn
Audited by Gen Agent Trust Hub on Oct 26, 2026
Risk Level: MEDIUMMETADATA_POISONINGINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [METADATA_POISONING]: The instructions reference fictional models such as 'gpt-6-astra' and 'gpt-5.6-sol', claiming a release date of September 2026. This deceptive information could lead the agent to attempt to use non-existent features or misinterpret its environment.
- [INDIRECT_PROMPT_INJECTION]: The skill provides patterns for executing user input via shell piping (e.g.,
echo "prompt" | codex exec ...). This construction is vulnerable to shell command injection if the input contains shell metacharacters like $(), ``, or semicolons. - Ingestion points: User prompts processed in the 'Assembling The Command' and 'Resuming A Session' sections of SKILL.md.
- Boundary markers: No specific boundary markers or 'ignore' instructions are provided for the interpolated prompt.
- Capability inventory: Subprocess execution of the
codexCLI with permissions including file system and network access. - Sanitization: The skill lacks instructions for escaping or sanitizing user-provided strings before they are passed to the shell.
- [COMMAND_EXECUTION]: The skill promotes the use of dangerous flags like
--sandbox danger-full-accessand--full-auto. While it suggests seeking user consent, these flags provide the CLI tool with excessive privileges that could be abused by malicious input. Additionally, the skill instructs the agent to suppress error output (2>/dev/null) by default, which reduces operational transparency.
Audit Metadata