Claude Code's "Don't Ask Again" File Exposes Passwords and Keys in 1,122 Public Copies on GitHub

Cybersecurity · November 8, 2026

Cybersecurity·thehackernews.com

Security firm Apiiro found that Claude Code's "don't ask again" feature for approved commands can save those commands verbatim into a project's settings file, secrets included. Researchers located the resulting file, often committed by mistake, in 1,122 public GitHub repositories, exposing passwords and API keys to anyone who looks. The findings are a reminder to review what gets written into local tool-permission files before pushing a repo public.

// source: thehackernews.com ↗

← Back to Blog