News for hackers. Stuff that matters.
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by GeoAtreides on Saturday November 07, 2026 @04:13PM (#50408130)
"git add . " considered harmful
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by cassianoleal on Saturday November 07, 2026 @05:16PM (#50408577)
From TFA:

> Often Claude commits the file itself. In 539 of the 1,105 repos with a real secret that we traced, a commit co-authored by Claude changed the file. Those commits name every recent model, from Sonnet 4.5 to Opus 5.5.

Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by hleszek on Saturday November 07, 2026 @05:39PM (#50408715)
always was
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by polarsanel on Saturday November 07, 2026 @06:27PM (#50409025)
It's the plaintext secrets that are harmful.
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by AgentOrange1234 on Saturday November 07, 2026 @11:56PM (#50410518)
Yeah like... you are writing passwords on the command line? All of these are already leaking into your .bash_history or similar so what are you doing my dude...
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by cobbzilla on Saturday November 07, 2026 @09:52PM (#50410039)
I’ve set a hard rule for my agents to “never add all files, never commit all files, always reference the specific files you are adding or committing”

They violate it so regularly that my “git” command is now a wrapper, when the agent fucks up and tries to add/commit-all anyway, it now gets a nastygram error chiding it for not following instructions.

Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by grepular on Sunday November 08, 2026 @03:31AM (#50411428)
I just mount .git read-only in my sandbox. That way I don't need to worry about it violating my safeguards.