ut-hooks
Pass
Audited by Gen Agent Trust Hub on Mar 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The shell script in
SKILL.mdinterpolates a user-provided argument ($1) directly into a shell command (tail -n "$COUNT"). If the execution environment does not sanitize this input, it could lead to command injection via shell metacharacters. - [DATA_EXFILTRATION]: The skill accesses specific file paths on the local system, including a path within the user's home directory (
$HOME/Documents/GitHub/InuVerse/ai-agents/ultrathink/reports/hook-events.jsonl). This exposes the user's directory structure and potentially sensitive application logs to the agent. - [PROMPT_INJECTION]: The skill processes and displays untrusted data from an external log file, which could be used as a vector for indirect prompt injection.
- Ingestion points: Reads log data from
./reports/hook-events.jsonland related paths inSKILL.md. - Boundary markers: There are no delimiters or instructions telling the agent to ignore or isolate instructions found within the log data.
- Capability inventory: The skill has access to
BashandReadtools as defined in the frontmatter. - Sanitization: No sanitization or escaping is performed on the log content; while
jqis used for formatting, the script falls back to rawtailoutput if parsing fails.
Audit Metadata