codex-background
Warn
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONPERSISTENCEPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill performs runtime compilation of system-level source files.
scripts/supervisor.mjscompiles thescripts/linux-owner.chelper using the system C compiler (/usr/bin/cc) when running on Linux.scripts/windows-job.ps1utilizes the PowerShellAdd-Typecommand to compile C# code defined inscripts/windows-job.csinto the execution environment on Windows.- [COMMAND_EXECUTION]: The skill makes extensive use of system commands and process spawning to manage tasks.
scripts/bootstrap.mjsandscripts/server.mjsusenode:child_processto execute configuration updates and delegate implementation tasks.- The supervisor script on Windows invokes PowerShell using the
-EncodedCommandflag to orchestrate process trees. - [PERSISTENCE]: The skill modifies host-level configuration to ensure its services are always available.
scripts/bootstrap.mjsupdates the user'sconfig.toml(typically located in~/.codex/config.toml) to register thecodex-backgroundMCP server, causing it to be loaded automatically by the agent host.- [PRIVILEGE_ESCALATION]: The skill performs actions that require access outside the standard sandbox environment.
- The installation process involves writing to configuration files and registries located in the user's home directory, outside of the immediate project workspace.
- [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for processing untrusted instructions embedded in external files.
- Ingestion points: The skill reads task "briefs" from the
briefs/directory and approved workspace roots. - Capability inventory: The system can spawn registered relay scripts, manage process groups, and perform file system operations.
- Boundary markers: The server implements strict path validation (via
withinchecks) to ensure briefs and workspaces remain within configured artifact and project roots. - Sanitization: Input paths are canonicalized and verified against an explicit registry of approved delegate skills and workspace roots.
Audit Metadata