Repository navigation
VS Code Extension Ignores Global dangerously-skip-permissions Setting #2933
Description
Activity
- addedbugSomething isn't workingSomething isn't workinghas reproHas detailed reproduction stepsHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOSIssue specifically occurs on macOS
on Jul 3, 2025 Open the claude code extension & hit Command+C and run claude --dangerously-skip-permissions
easier tbh
Reacted by AlexOpen the claude code extension & hit Command+C and run claude --dangerously-skip-permissions
easier tbh
I have that set up as an alias and type ccc to run it in the terminal that's not what the report here is about.
Reacted by nimbahIncrease priority for this ticket, since with the newly updated Claude Code VSCode extension, the workaround with Ctrl+C and running 'claude --dangerously-skip-permissions' it does not work anymore. I've tried setting an alias in zshrc, but it does not work since extensions are not loading up the shell, I've tried adding this flag to ~/.claude/settings.json, it did not work.
Reacted by Joel Birch, Silver, Jeff Oh, Fernand Lime, Hokyung Kim, Greg, Alex, Ivan Aksamentov and mwbidwell+1 -- Claude Code VSCode extension no way to workaround
Absolutely crap this vscode extension update it's made it not even usable now. Typical of anthropic just gimmicks all the time. Locking up the extension like this so we can even exit it. This is very very bad design
Reacted by Fred Lackey, Greg and AlexAbsolutely crap this vscode extension update it's made it not even usable now. Typical of anthropic just gimmicks all the time. Locking up the extension like this so we can even exit it. This is very very bad design
I assume its really a VS Code extension, rather than just running a shell inside the extension as was in a first version
Reacted by Fred Lackey, Greg and Alex+1 ... horrible update
Reacted by Greg and AlexHave to reverse to 1.0.127 since 2.0.1 have no workaround for dangerously-skip-permissions
Reacted by Greg and AlexHave to reverse to 1.0.127 since 2.0.1 have no workaround for dangerously-skip-permissions
Agreed, i did the same and then turned off updates
+1 that's hugely impacted my productivity with CC. Please I provide a work around for adding
dangerously-skip-permissionsfor allowlisted sessions.Reacted by Greg and tonykau14 remaining items
When this will be fixed?
Reacted by Martin DONADIEUThis issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
- addedautocloseIssue will be closed automaticallyIssue will be closed automatically
on Jan 16, 2026 Still not working on v2.1.19 (Cursor). Tried everything:
~/.claude/settings.jsonwith"permissions": { "defaultMode": "bypassPermissions" }- Cursor/VS Code settings:
claudeCode.allowDangerouslySkipPermissions: true+claudeCode.initialPermissionMode: "bypassPermissions" - Enabled both via Settings GUI
- Restarted editor, started new conversations
Still prompts for web search and other non-edit actions. Only file edits can be auto-accepted via the inline "Edit automatically" option.
- removedautocloseIssue will be closed automaticallyIssue will be closed automatically
on Jan 24, 2026 Mine still reverses from time to time back from BypassPermissions to asking for permission...
any update? it's really annoying to use GSD and having to click to accept every single prompt
Reacted by Ryan Altvater and Philipp AbrahamI'm still experiencing this error with VS Code. All bypass permissions are selected and the mode property changed, but still getting prompted for approvals. Any work around without switching to a different terminal or software?
Reacted by KernelBypass and An AnReacted by An AnAny solution here? 👀
@AAChartModel VSCode extension now has auto mode and bypass permissions. Bypass permissions is the same as terminal --dangerously-skip-permissions.
Reacted by An An@cidoliveira Thanks, it works for me now!


Bug Description
Subject: VS Code extension ignores dangerously-skip-permissions global setting
Description:
The Claude Code VS Code extension does not respect the dangerously-skip-permissions setting from the global configuration file, causing constant permission prompts that disrupt workflow.
Environment:
Configuration:
Global settings file at ~/.claude/settings.json:
{
"model": "sonnet",
"dangerously-skip-permissions": true,
"permissions": {
"allow": ["*"],
"deny": [...]
}
}
Project-specific settings also tested at /path/to/project/.claude/settings.local.json with same configuration.
Expected Behavior:
With dangerously-skip-permissions: true, commands should execute immediately without permission prompts in both CLI and VS Code extension.
Actual Behavior:
Steps to Reproduce:
Impact:
This makes the VS Code extension unusable for productive development as every command requires manual approval, defeating the purpose of the dangerous permissions flag.
Additional Notes:
The extension appears to use its own permission handling system that doesn't read or respect the global configuration file settings.
Environment Info
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:892:11)\n at execSync (node:child_process:964:15)\n at FI (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:702:3921)\n at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:9038\n at Q (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:526:13327)\n at _X (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:8184)\n at H_ (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:7265)\n at U9 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:11432)","timestamp":"2025-07-02T04:37:23.360Z"},{"error":"Error: Command failed: security delete-generic-password -a $USER -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:892:11)\n at execSync (node:child_process:964:15)\n at FI (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:702:3921)\n at mpA (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:10150)\n at hpA (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:10024)\n at p9A (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2158:2567)\n at l9A.startOAuthFlow (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2158:3689)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-02T04:37:37.268Z"},{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:892:11)\n at execSync (node:child_process:964:15)\n at FI (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:702:3921)\n at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:9038\n at Q (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:526:13327)\n at _X (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:8184)\n at H_ (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:7265)\n at U9 (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:11432)","timestampNote: Error logs were truncated.