Thousands of database passwords and API tokens are appearing in public repositories due to a Claude Code settings flaw. The tool stores approved shell commands in a local JSON file that users accidentally commit to GitHub. Apiiro researchers found these leaks stem from how the agent handles command persistence. Practitioners must ignore the .claude directory.