codex
Pass
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
terminaltool to execute shell commands, specifically focusing on thecodex execcommand for autonomous code generation and file system modifications. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data by cloning repositories and checking out pull requests (
gh pr checkout) before running Codex analysis or refactoring on that code, which could contain malicious instructions. - Ingestion points: Data enters the environment via
git clone,gh pr checkout, andgit fetchcommands withinSKILL.md. - Boundary markers: No boundary markers or specific instructions to ignore embedded commands are present in the task prompts.
- Capability inventory: The skill possesses extensive capabilities including file system write access, terminal execution, and network operations through
gitandghtools. - Sanitization: There is no evidence of sanitization or content validation before the external code is processed by the Codex agent.
- [CREDENTIALS_UNSAFE]: The documentation identifies sensitive file paths where authentication tokens are stored, specifically
~/.hermes/auth.jsonand~/.codex/auth.json. - [EXTERNAL_DOWNLOADS]: The skill instructs the installation of the Codex CLI package from OpenAI's official registry, which is a recognized service.
Audit Metadata