brain
Warn
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill defines command templates that interpolate user-provided strings, such as and , into shell commands. Specifically, the 'record' subcommand uses a template that could allow an attacker to inject shell metacharacters (e.g., ';', '&', '|') to execute arbitrary commands if the user input is not properly sanitized by the agent before execution.
- [DYNAMIC_EXECUTION]: The skill relies on 'uv run python3' to execute a local script located at a path constructed from an environment variable ($CLAUDE_PROJECT_DIR). The dynamic assembly of these execution strings based on runtime arguments increases the risk of exploitation.
- [INDIRECT_PROMPT_INJECTION]: The skill provides a mechanism to record data from external targets into a persistent memory store (MEMORY.md). 1. Ingestion points: The , , and evidence fields in the 'record' command, which are likely derived from observations of external systems. 2. Boundary markers: Absent; there are no instructions to delimit or sanitize recorded evidence. 3. Capability inventory: File system access to update MEMORY.md and shell command execution via the 'brain.py' tool. 4. Sanitization: Absent; no sanitization logic is defined for the content being recorded.
Audit Metadata