---
title: "Discussion on \"Claude Code settings.local.json: How Approved Commands Leak Secrets\" | Hashnode"
description: "Discussion on \"Claude Code settings.local.json: How Approved Commands Leak Secrets\". The approval rule stores the whole command, and the file that keeps it out of git lives on one laptop"
url: "https://hashnode.com/posts/claude-code-settings-local-json-secrets-leak/6af471b8b7598182981c90fc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Claude Code settings.local.json: How Approved Commands Leak Secrets](https://404-founders.com/blog/claude-code-settings-local-json-secrets-leak?utm_source=hashnode&utm_medium=feed)

The approval rule stores the whole command, and the file that keeps it out of git lives on one laptop

6h ago · 12 min read · 404-founders.com  
Read the article

-   [#ai-security](https://hashnode.com/tag/ai-security)
-   [#claude-code](https://hashnode.com/tag/claude-code)
-   [#cybersecurity](https://hashnode.com/tag/cybersecurity)

## Written by

[404 Founders](https://hashnode.com/@404-founders)

@404-founders · Bosnia and Herzegovina, Estonia

  
[View profile](https://hashnode.com/@404-founders)

Error-proof Cyber Solutions

Securing the digital frontier. Error-proof cyber solutions.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
