Missing trust/permission prompt in VSCode/Positron extension vs CLI
Resolved 💬 2 comments Opened Mar 16, 2026 by oas-94 Closed Apr 14, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Description
When running Claude Code via the CLI, it explicitly asks the user to
confirm trust before accessing files in the working directory. This
prompt is absent when running Claude Code through the VSCode/Positron
extension.
Actual behavior
Claude Code reads files in arbitrary directories without any trust
prompt or user confirmation.
Impact
Any user with access to the machine can use the extension to read
(and potentially modify) files — including personal and sensitive
files — without any security checkpoint.
Environment
- Claude Code extension in Positron (VSCode-based)
- Windows 11
What Should Happen?
Same trust/permission prompt as in the CLI, asking the user to
explicitly confirm access to the directory.
Error Messages/Logs
Steps to Reproduce
- Open Positron (VSCode-based IDE) with the Claude Code extension
- Start Claude Code without opening a workspace folder
- Ask Claude to list files in any directory
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.63
Platform
Other
Operating System
Windows
Terminal/Shell
Other
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗