analyze-copilot-sessions

Pass

Audited by Gen Agent Trust Hub on Nov 11, 2026

Risk Level: SAFE
Full Analysis
  • [DATA_EXPOSURE]: The skill accesses local VS Code workspace storage and debug logs (.jsonl files) to extract usage metrics and metadata. It includes robust privacy-preserving measures, specifically ensuring that prompt text, assistant responses, tool arguments, and absolute local paths are stripped during the extraction process. Findings are limited to session IDs, model configurations, and aggregate numeric data.
  • [REMOTE_CODE_EXECUTION]: All scripts rely exclusively on the Python Standard Library (e.g., sqlite3, hashlib, argparse). There are no external package dependencies, and the skill does not perform any network requests or remote script downloads.
  • [COMMAND_EXECUTION]: The skill executes local Python scripts to perform analysis. These scripts are self-contained and perform structured data processing. The prune_chat_sessions.py script performs destructive operations (deleting local session files and database entries), but it requires an explicit --apply flag and defaults to a dry-run mode, minimizing the risk of accidental data loss.
  • [PROMPT_INJECTION]: The SKILL.md instructions include explicit safety directives, informing the AI agent to treat log strings strictly as data and never as instructions or commands. This prevents the agent from following instructions potentially embedded in the historical chat logs it analyzes.
  • [PRIVILEGE_ESCALATION]: The skill operates within the user's standard environment and does not attempt to gain administrative privileges or modify system-level configurations.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 11, 2026, 04:17 AM