copilot-history-ingest
Pass
Audited by Gen Agent Trust Hub on Nov 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local shell commands to navigate the file system and process data, which is a privileged capability for accessing host resources.
- Uses
lsto survey session directories in~/.copilot/session-state/and VS Code workspace storage. - Uses
sqlite3(or the Pythonsqlite3module) to query the global session database at~/.copilot/session-store.db. - Invokes
obsidian-wiki memory syncto update the vault's metadata, log, and journal files. - Invokes
qmd updateandqmd embedto refresh the vault's search index and vector embeddings. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted conversation data from GitHub Copilot logs, creating an attack surface where embedded instructions could influence the agent's behavior.
- Ingestion points: Processes
events.jsonl,transcript JSONL, and checkpoint files (checkpoints/*.json) from local Copilot history paths, as well as memory artifacts (plan.md). - Boundary markers: No explicit injection delimiters or "ignore embedded instructions" warnings are used when interpolating this data into the agent's context.
- Capability inventory: The skill possesses file read/write access to the Obsidian vault and the ability to execute local CLI tools for database querying and wiki management.
- Sanitization: The instructions include high-level guidance to "distill and synthesize" content rather than copying verbatim and to skip sensitive content like API keys or tokens.
Audit Metadata