codex-delegate
Pass
Audited by Gen Agent Trust Hub on Jul 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The helper script
scripts/relay.mjsexecutes system commands includingcodex,git, andtaskkill. On Windows systems, it uses theshell: trueoption to properly resolve npm command shims. The script includes regex validation for critical arguments like session IDs and reasoning effort levels. - [EXTERNAL_DOWNLOADS]: The skill's documentation and prerequisites require the installation of the
@openai/codexCLI from the npm registry. This is a standard dependency from a well-known service and is necessary for the skill's core functionality. - [PROMPT_INJECTION]: The skill processes repository data to provide context for the delegated task, creating a surface for indirect prompt injection.
- Ingestion points:
SKILL.mdandreferences/writing-the-brief.mdinstruct the agent to read repository configuration files (e.g.,Makefile,package.json) to define task boundaries and gate commands. - Boundary markers: The documentation recommends using XML-style delimiters such as
<task>and<verification_loop>to structure information for the implementer. - Capability inventory:
scripts/relay.mjsexecutes thecodexCLI, which can modify the local filesystem. The skill mitigates risk by requiring orchestrator review and manual commits. - Sanitization: No explicit sanitization of ingested repository content is performed by the script; responsibility for brief construction lies with the orchestrator.
Audit Metadata