session-resume
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
resume.shscript utilizes standard system utilities includingfind,grep,jq,ls, andsedto locate and parse local session history files. These operations are performed within the local environment and aligned with the skill's stated utility. - [DATA_EXFILTRATION]: The skill accesses and reads session transcripts stored in
~/.claude/projects/and~/.codex/sessions/. This data includes past conversation turns, project metadata, and file paths, which are exposed to the AI agent to facilitate session resumption. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: The skill ingests session data from local
.jsonlfiles via theresume.shscript. - Boundary markers: The
SKILL.mdfile provides explicit instructions for the agent to treat retrieved transcripts as "background context" rather than active instructions to be re-executed. - Capability inventory: The skill is granted
BashandReadtool permissions to execute its helper script and confirm the workspace state. - Sanitization: The script uses
jqfilters to remove specific system-generated tags (such as<system-reminder>and<local-command-caveat>) and truncates message turns exceeding 2,000 characters to mitigate context-related risks.
Audit Metadata