summarize-work
Pass
Audited by Gen Agent Trust Hub on Sep 19, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill retrieves and summarizes past session history from the OpenCode API and local database. This data is untrusted as it contains past user and assistant messages which may contain instructions that could influence the agent's behavior during the summarization process.
- Ingestion points:
references/api.mdspecifies reading messages viaGET /session/{id}/messageand the local SQLite database at~/.local/share/opencode/opencode.db. - Boundary markers: The skill instructs the agent to "Exclude secrets and sensitive transcript data," but lacks explicit delimiters to isolate untrusted session history from the agent's primary instructions.
- Capability inventory: The skill utilizes
curlfor network requests to a local server,sqlite3for database queries, andgitfor repository analysis. - Sanitization: Instructions require the exclusion of secrets but do not provide specific guidance on sanitizing or escaping the content of retrieved messages.
Audit Metadata