Claude Code Saves Passwords to a File: Check Yours
Long-form1:24Science & TechnologyPublished Nov 29, 2026, 3:49 PM · 2d ago
Views
1,307
+1 views/hour
Views / hour now
1
measured 4h ago
Peak views / hour
166
2d ago
First 24 hours
1.2K
views at 24 h
Engagement
1.3%
likes + comments / views
Likes
16
1.2% of views
Comments
1
0.08% of views
Est. ad revenue
$5–$10
lifetime, $3.5–8 RPM
Checked every 3 h while the video is this age · last check 4h ago · next in 0 min. YouTube itself updates public counts with a short delay.
Avg views / day
567
since upload
vs channel median
1.3×
this video's views ÷ the channel's usual
Rank in channel
#113
of 157 tracked
Views over time
51 readings
Total views Views gained per hour
Description
Claude Code can save a password into settings.local.json when you pick "Yes, and don't ask again". Apiiro counted 104,185 public copies of that file on GitHub, and 1,122 held a real secret. What Anthropic's docs and the Claude Code team say, and what to check in your repo.
----
❤️ SUPPORT THE CHANNEL
Patreon: https://www.patreon.com/cw/DIYSmartCode
Higgsfield AI — Create AI Videos & Visuals
Get 10% OFF here: https://higgsfield.ai?fpr=thomas-dccf7e
🚀 DYNAMOUS AI COMMUNITY
Want to learn agentic coding with live daily events and workshops?
Check out Dynamous AI: https://dynamous.ai/?code=646a60
Get 10% off here 👉 https://shorturl.smartcode.diy/dynamous_ai_10_percent_discount
⚡ HOSTINGER — RELIABLE HOSTING FOR YOUR PROJECTS (10% OFF)
Whether you're shipping a portfolio, a side project, n8n flows, or AI agents — I use Hostinger for fast, affordable VPS + web hosting.
Get 10% off here 👉 https://hostinger.com/DIYSMARTCODE
n8n: https://n8n.partnerlinks.io/diysmartcode
(Affiliate links — costs you nothing, supports the channel.)
----
What you will see in this 80-second breakdown:
→ How an approved command becomes a saved allow rule, password included
→ Apiiro's count of public settings files, and what it does not prove
→ Boris Cherny's answer on Hacker News about who checked the files in
→ The second copy: plain-text transcripts, kept 30 days by default
→ Two checks for every repo you work in
I ran no test for this Short. The numbers are the sources' numbers.
Full video with the attack, the key costs and two free audits: https://youtu.be/gjOl20e2ZZ4
Claude Code docs, settings: https://code.claude.com/docs/en/settings
Claude Code docs, the .claude directory: https://code.claude.com/docs/en/claude-directory
Apiiro report: https://apiiro.com/blog/coding-agents-leaking-secrets-github-dont-ask-again
Boris Cherny on Hacker News: https://news.ycombinator.com/item?id=50408126
Should Claude Code strip secrets from saved rules itself, yes or no?
Get vidIQ to grow your channel faster! 🚀
https://vidiq.com/DIYSmartCode
#ClaudeCode #AISecurity #AICoding
Tags
ai coding securityclaud codeclaude codeclaude code permissionsclaude code securitycloud codesettings.local.json
Details
- Published
- Nov 29, 2026, 3:49 PM
- Length
- 1:24 (84 s)
- Format
- Long-form
- Category
- Science & Technology
- Audio language
- EN
- Quality
- HD
- Captions
- No
- Made for kids
- No
- Licensed content
- Yes
- Video ID
- mxWi7QW_UEg
More from DIY Smart Code
Claude Code Code Mode: Does It Save Tokens?747 views · 11h ago · +80/h
Claude Code Code Mode: Does It Actually Save Tokens?660 views · 18h ago
Harvard AI Study: Everyone Quoted the Old Draft1K views · 1d ago · +2/h
The Real Bottleneck in AI Coding (It’s Not the AI)792 views · 1d ago
Claude Code Security: Is Your Settings File the Way In?648 views · 2d ago
Gemini in Apple CarPlay: Why You Can't Say "Hey Google"1.6K views · 2d ago
Samsung's 0.1-Bit LLM: What Did It Lose?804 views · 3d ago · +7/h
How to Make Your First AI Video Ad (No Experience Needed)485 views · 4d ago · +1/h
Statistics from the YouTube Data API, tracked by FameX. Views per hour, revenue and comparisons are FameX estimates.