copilot-history-ingest
Pass
Audited by Gen Agent Trust Hub on Nov 6, 2026
Risk Level: SAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The skill accesses sensitive local directories containing GitHub Copilot session history, including
~/.copilot/session-state/,~/.copilot/session-store.db, and platform-specific VS Code workspace storage. These files contain private conversation logs, assistant reasoning, and file access patterns. No evidence of network exfiltration was found. - [COMMAND_EXECUTION]: The skill utilizes several local command-line tools to inventory and process history data. This includes
lsfor directory scanning,sqlite3for querying the global Copilot database, and the utilitiesobsidian-wikiandqmdfor vault synchronization and search index updates. - [INDIRECT_PROMPT_INJECTION]: The skill is subject to indirect prompt injection risks because it processes untrusted data from historical Copilot conversation logs. Malicious instructions embedded in past sessions could attempt to influence the agent's behavior during the distillation and writing process.
- Ingestion points: Historical conversation events in
events.jsonl, transcripts in VS Code storage, and structured turn data in thesession-store.dbSQLite database. - Boundary markers: The skill relies on natural language instructions for the agent to "distill" and "synthesize" content, which serves as an informal boundary against direct instruction following from logs.
- Capability inventory: The agent can write markdown files to the Obsidian vault and execute local CLI tools for database and search management.
- Sanitization: The instructions explicitly direct the agent to skip secrets, API keys, passwords, tokens, and internal assistant reasoning fields during the distillation process.
Audit Metadata