save-session-resume
Pass
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The helper script
scripts/save_session_resume.pyusessubprocess.runto interact with the macOSpbcopyandpbpasteutilities. These calls are implemented securely using argument lists (e.g.,["pbcopy"]) instead of shell strings, which prevents shell injection vulnerabilities. - [INDIRECT_PROMPT_INJECTION]: The skill processes session transcripts and transcript metadata, which are potentially untrusted data sources.
- Ingestion points: Data is ingested via the
session-discoveryskill and transcript metadata as described inSKILL.md. - Boundary markers: The agent is instructed to shell-quote directory paths and wrap the generated resume command in Markdown code fences.
- Capability inventory: The skill possesses capabilities for local file writing (
index.write_text) and system clipboard modification (pbcopy). It lacks network access or direct execution capabilities. - Sanitization: The Python script
save_session_resume.pyenforces that input fields are single lines and explicitly forbids thecommandargument from containing Markdown code fences (""" in command`), preventing schema confusion in the resulting Markdown file.
Audit Metadata