Lp3
Medium
- Category
- MCP Least Privilege
- Confidence
- 92% confidence
- Finding
- The skill invokes PowerShell scripts with `-ExecutionPolicy Bypass` and operates on user-local files and environment-derived paths, but it declares only `allowed-tools` and no explicit permissions model for the underlying file read/write and environment access it requires. This creates a real least-privilege and transparency problem: the agent can read from `~\.copilot\session-store.db` and write indexed data under `~\SessionRecall`, which may expose sensitive prior-session content if users are not clearly informed or if the skill is triggered proactively.
