skill-idea-miner
Pass
Audited by Gen Agent Trust Hub on Jun 13, 2026
Risk Level: SAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The skill accesses and reads session logs from
~/.claude/projects/. These files contain a history of user interactions with the Claude agent, which may include sensitive code, business logic, or personal information. Although the data is primarily processed locally via the Claude CLI, reading these sensitive file paths constitutes a data exposure risk. - [COMMAND_EXECUTION]: The scripts
scripts/mine_session_logs.pyandscripts/score_ideas.pyutilizesubprocess.run()to invoke theclaudeCLI. While the execution uses argument lists (minimizing shell injection risks), it remains a dependency on an external binary to perform its core functions. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it incorporates untrusted data from session logs into LLM prompts. A malicious instruction previously recorded in a session log could influence the behavior of the idea extraction and scoring process.
- Ingestion points:
scripts/mine_session_logs.pyreads external user messages from.jsonllogs in the~/.claude/projects/directory. - Boundary markers: The prompt template in
_build_llm_promptlacks robust boundary markers (e.g., XML tags or unique delimiters) to isolate user-provided samples from the system instructions. - Capability inventory: The skill uses
subprocess.runto call theclaudeCLI in both mining and scoring scripts. - Sanitization: Content is truncated to 200 characters, but no escaping or structural validation is performed on the ingested text.
Audit Metadata