brainstorm
Pass
Audited by Gen Agent Trust Hub on Nov 2, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes shell commands (
cat >> <log> <<'EOF') to maintain session logs in~/brainstorms/. It correctly uses quoted heredocs ('EOF') to prevent the shell from evaluating any content within the log entry, which is a key security measure. - [INDIRECT_PROMPT_INJECTION]: The skill has an ingestion surface for potentially untrusted data by reading the content of existing logs and other files provided by the user to provide context for the brainstorming session.
- Ingestion points: Log files in
~/brainstorms/(viaglob) and any files the user directs the agent to read (referenced inSKILL.md). - Boundary markers: The skill relies on markdown structure and frontmatter but lacks explicit instructions to the agent to ignore any embedded prompts within the retrieved content.
- Capability inventory: File reading and writing via shell commands (
cat). - Sanitization: The skill mitigates shell expansion in the written content using quoted heredocs. However, the construction of the log filename using a
<topic-slug>derived from user input presents a potential path traversal surface if the agent does not properly sanitize the slug.
Audit Metadata