evals
Warn
Audited by Gen Agent Trust Hub on Jul 1, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The orchestration scripts
scripts/run_eval.pyandscripts/run_judge.pyutilize thesubprocessmodule to execute external binaries includingclaude,codex, andgit. Inscripts/run_eval.py, therun_orchestratorfunction executes the orchestrator agent with elevated privileges using flags such as--dangerously-skip-permissions(for Claude CLI) or--dangerously-bypass-approvals-and-sandbox(for Codex), which allow the agent to perform actions without user confirmation. - [DATA_EXFILTRATION]: The script
scripts/run_judge.pywhitelists sensitive environment variables to be shared with sub-agent sessions. TheJUDGE_ENV_WHITELISTincludesANTHROPIC_API_KEY,ANTHROPIC_AUTH_TOKEN, andSSH_AUTH_SOCK. These credentials and sockets are passed into the environment of the LLM judge sub-process. - [PROMPT_INJECTION]: The evaluation workflow creates an indirect prompt injection surface where LLM judges process artifact data (transcripts and notes) that may contain untrusted content.
- Ingestion points:
scripts/run_judge.pyreadsnotes.md,agenda.md, andtranscript.jsonlfiles generated during previous runs. - Boundary markers: Content is delimited by Markdown headers but lacks robust sanitization or specific instructions to ignore embedded commands.
- Capability inventory: Judge agents run via
claude -porcodex execand have access to the whitelisted sensitive credentials. - Sanitization: There is no validation or escaping of the artifact content before it is interpolated into the judge's prompt template.
- [COMMAND_EXECUTION]:
stubs/_stub.pyexecutes binaries defined by environment variables (e.g.,EVALS_REAL_CLAUDE) with arguments captured during recording. While intended for replay-mode testing, this allows execution of commands from configurable system paths. - [EXTERNAL_DOWNLOADS]:
SKILL.mdinstructs the user to install thesenateskill from the same vendor usingnpx skills add SebastianElvis/senateto enable the evaluation functionality.
Audit Metadata