skills/github/gh-aw/session-recovery/Gen Agent Trust Hub

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 sql tool to query the session_store SQLite database for session metadata, file paths, and conversation turns.
  • It executes shell commands via copilot --resume to reactivate past sessions.
  • It uses the gh CLI 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_message field in the turns table of the session_store database, 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 (sql tool) 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
Risk Level
SAFE
Analyzed
Nov 27, 2026, 08:56 PM