codex-setup
Pass
Audited by Gen Agent Trust Hub on Oct 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses shell commands and Node.js to perform project setup. It queries git metadata using
git rev-parse, creates directories withmkdir -p, and executes internal tooling such asbuild-codex-artifacts.jsto generate documentation. - [INDIRECT_PROMPT_INJECTION]: The skill generates the
AGENTS.mdfile by ingesting project-specific information from local files. - Ingestion points: Reads the project name and test scripts from
package.jsonandCLAUDE.mdto customize the agent's core behavioral requirements. - Boundary markers: The generated file uses standard Markdown headers for structure but does not implement explicit "ignore instructions" delimiters for the interpolated project data.
- Capability inventory: The skill has authority to modify the filesystem (Write/Edit) and execute shell commands (Bash) within the repository.
- Sanitization: The skill verifies that the generated output contains no unresolved placeholders and stays within a 24 KiB size limit to prevent prompt bloat or unexpected behavior.
- [DYNAMIC_EXECUTION]: The skill installs and executes git hooks (
commit-msgandpre-push). The bash stanzas for these hooks are implemented with specific hardening measures, including the use of privileged mode (bash -p) and the removal of sensitive environment variables (such asBASH_ENVandSHELLOPTS) to prevent environment-based hijacking by a committer.
Audit Metadata