brooks-harness
Fail
Audited by Gen Agent Trust Hub on Sep 6, 2026
Risk Level: HIGHPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The skill documents and enables high-privilege repository operations, specifically allowing direct pushes to the
mainbranch without a pull request. It also supports potentially destructive git operations, such as the use of--forceand--no-verifyflags. While the instructions note that these require explicit maintainer authorization, the inclusion of such capabilities in an automated harness significantly elevates the agent's privilege level within the target environment. - [COMMAND_EXECUTION]: The harness triggers multiple shell commands through npm scripts, including
npm run validate,npm test, andnpm run evals. This capability allows for the execution of arbitrary scripts defined within the repository'spackage.jsonfile, which could be leveraged to run malicious code if the project configuration is altered. - [DYNAMIC_EXECUTION]: The orchestrator manages a complex workflow by dynamically spawning and coordinating multiple subagents (e.g.,
skill-author,eval-curator,release-manager) using theAgenttool. It generates task contracts and manages the flow of information between these independent AI instances to complete multi-stage development tasks. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection as it ingests and processes outputs from subagents and external validation tools.
- Ingestion points: The orchestrator reads summaries produced by subagents in the
_workspace/brooks-harness/directory and logs from npm-based test suites. - Boundary markers: The pipeline uses defined roles and "task contracts" to scope agent behavior, but lacks explicit instruction-filtering or sanitization for the data passed between stages.
- Capability inventory: High-privilege actions including repository file modification, arbitrary npm script execution, and git pushes to the main branch are available in
SKILL.md. - Sanitization: The skill relies on a
consistency-qastage for verification, which creates a loop-back mechanism that could be influenced by malicious content embedded in the tools or subagent summaries it audits.
Recommendations
- AI detected serious security threats
Audit Metadata