session-recovery
Pass
Audited by Gen Agent Trust Hub on Nov 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill interacts with the local environment using specific tools and commands to perform recovery tasks.
- It uses the
sqltool to query thesession_storeSQLite database for session metadata, file paths, and conversation turns. - It executes shell commands via
copilot --resumeto reactivate past sessions. - It uses the
ghCLI to retrieve issue statuses for cross-referencing with local session state. - [INDIRECT_PROMPT_INJECTION]: The skill retrieves and processes historical session data, creating a potential surface for past instructions to influence the agent's current state.
- Ingestion points: The
user_messagefield in theturnstable of thesession_storedatabase, as shown in Pattern 5. - Boundary markers: There are no specific boundary markers or instructions to the agent to disregard potential commands found within historical messages.
- Capability inventory: The agent possesses the capability to query databases (
sqltool) and execute shell commands (bash), which could be leveraged if it follows historical instructions. - Sanitization: The skill does not implement filtering or validation of the content retrieved from previous session logs before presenting it to the agent.
Audit Metadata