counsel
Fail
Audited by Gen Agent Trust Hub on Jul 30, 2026
Risk Level: HIGHCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The file
references/codex-chair.mdprovides an example commandcodex executilizing the--dangerously-bypass-approvals-and-sandboxflag. This flag is designed to explicitly circumvent built-in security controls and execution sandboxes, posing a high risk of unauthorized system access if the input files are compromised.- [REMOTE_CODE_EXECUTION]: The adapter logic inreferences/codex-chair.mdfacilitates the execution of reviewer logic from external files using thecodex exectool. When paired with the safety bypass flag, this allows for the execution of arbitrary logic outside the agent's standard security boundaries.- [PROMPT_INJECTION]: The skill's primary function is to ingest and process a 'proposal' file and associated 'source paths' from the environment. This ingestion point, documented inSKILL.md, creates a surface for indirect prompt injection where a malicious proposal could contain instructions designed to manipulate the 'chair' agent or the 'reviewer' seats during the synthesis and disposition phases. Every Category 8 finding MUST document all four elements: (1) Ingestion points: Proposal file and source paths inSKILL.md. (2) Boundary markers: The protocol requires specific structured headers (## Plan verdict,## Findings) to delimit analysis. (3) Capability inventory: Subprocess calls (mkdir,ls,wc) andcodex execinSKILL.mdandreferences/codex-chair.md. (4) Sanitization: The instructions mandate 'existence checks only' for secrets, though no formal string escaping is implemented for the proposal content. - [DATA_EXFILTRATION]: Although the skill includes instructions to avoid passing credential values ('existence checks only'), the combination of shell-based scratchpad directories (
<session-scratchpad>/counsel/) and external command execution with bypassed sandboxes provides a technical pathway for data exfiltration if the agent is successfully subverted.
Recommendations
- AI detected serious security threats
Audit Metadata