codex-companion
Pass
Audited by Gen Agent Trust Hub on Apr 2, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local commands such as
gitand thecodexCLI tool using Node.js subprocess methods. It also manages its own background worker processes usingprocess.execPath. These operations are essential for the skill's documented functionality of repository analysis and task delegation.\n- [DATA_EXFILTRATION]: To provide context for its features, the skill reads repository metadata includinggit diffoutput, branch logs, and the content of untracked files (up to a 24KB limit). This data is passed to the OpenAI Codex CLI for analysis and processing. No unauthorized external network communication was detected.\n- [PROMPT_INJECTION]: The skill processes untrusted repository data which could contain malicious instructions designed to influence the model. It implements structured prompts with XML delimiters to mitigate this risk.\n - Ingestion points: Repository data collection in
scripts/lib/git.mjs(diffs, status, untracked files).\n - Boundary markers: Uses XML tags such as
<repository_context>and<task>inprompts/adversarial-review.mdto delimit untrusted data.\n - Capability inventory: Supports file system writes via
task --writeand code execution through thecodexCLI.\n - Sanitization: Implements file size limits for untracked files but relies on the underlying LLM's guardrails for content safety.\n- [EXTERNAL_DOWNLOADS]: The documentation directs users to install the
@openai/codexCLI tool from npm. This is an expected dependency for an OpenAI-focused developer tool.
Audit Metadata