intent-refresh
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFEDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted operator prompts from session logs (ingested from
~/.claude/projects,~/.codex/sessions, etc., as identified in02-attribute.pyand07-collect.py). It implements multiple mitigations: explicit instructions to models to treat input as data rather than instructions, "BEGIN/END DATA" fencing during prompt interpolation in11-summarize.py, and aninert()function in12-render.pythat escapes Markdown comment markers to prevent injected text from disrupting the generated documentation's structure. - [DATA_EXFILTRATION]: Redacted session data is sent to external LLM providers (DeepSeek, GLM via OpenCode). To protect sensitive information, the skill performs thorough redaction using a comprehensive set of regex patterns in
lib/common.pyand07-collect.pycovering API keys, tokens, JWTs, and private keys before any data is written to the corpus or transmitted over the network. - [COMMAND_EXECUTION]: Pipeline scripts use
subprocessto call system tools (git,cass,sqlite3,opencode). The command arguments are strictly controlled, and therefresh-step.pywrapper validates project slugs and filenames against restrictive regex patterns before execution. - [SAFE]: Path traversal is prevented using a
confined()helper inlib/common.pywhich ensures all file writes are restricted to the~/.intent-archaeologyorLIVING_DOCUMENTSproject directories. - [SAFE]: LLM calls are conducted through
free-lane.sh, which enforces strict isolation by configuring theopencoderunner to deny the model's ability to edit files, fetch web content, or access the host shell.
Audit Metadata