adhd-founder-planner
Warn
Audited by Gen Agent Trust Hub on Apr 30, 2026
Risk Level: MEDIUMCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/plan.shis vulnerable to local command injection. The functionscmd_planandcmd_reflectuse unquoted here-documents (cat << EOF) to write user input to markdown files. - [COMMAND_EXECUTION]: Evidence: Shell variables such as
$ONE_THINGand$WINSare interpolated into the here-document block. Because the EOF delimiter is unquoted, the shell performs command substitution on the content. A user or agent providing input like$(id)or`whoami`will trigger execution of those commands. - [COMMAND_EXECUTION]: Indirect Prompt Injection vulnerability surface.
- [COMMAND_EXECUTION]: Ingestion points:
scripts/plan.shvia interactivereadprompts. - [COMMAND_EXECUTION]: Boundary markers: None present in the script or generated files to delimit untrusted input.
- [COMMAND_EXECUTION]: Capability inventory: The script has the capability to create and modify files in the user's home directory (
~/.openclaw/). - [COMMAND_EXECUTION]: Sanitization: The script lacks sanitization for shell metacharacters in here-documents, failing to use quoted delimiters (e.g.,
<< 'EOF') which would prevent command substitution.
Audit Metadata