session-done
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill instructs the agent to gather evidence from the current task and session to populate summaries, decisions, and follow-ups. If the data being summarized contains malicious instructions (e.g., from a file the agent previously analyzed), those instructions could be included in the generated handoff document.
- Ingestion points:
SKILL.mdworkflow step 1 requires using "current task's evidence" to record completed work. - Boundary markers: There are no instructions for the agent to use delimiters or to disregard instructions found within the session evidence.
- Capability inventory: The
scripts/session-donescript can write to the local filesystem via the--outputargument. - Sanitization: The Python script
scripts/session-doneperforms no sanitization or validation of the text content before rendering it into the Markdown output. - [COMMAND_EXECUTION]: The skill uses a local Python script
scripts/session-doneto format and optionally persist session data. The script uses standard libraries and implements safety checks to avoid overwriting existing files.
Audit Metadata