Replying to @⁨dominos_project_3@lemmy.world⁩

I can only speak anecdotally, but from what I’ve seen firsthand the user does need to approve. In fact, the user needs to approve almost everything, unless they choose to put the CLI into “auto-mode” which should just be assumed is at one’s own risk.

In regard to settings.local.json I’ve only ever seen it automatically created gitignored. I’m not saying it’s not possible for the user to prompt in some way to intentionally or accidentally bypass that, but still.

At some point this honestly isn’t Anthropic’s problem. And a developer that takes the stance of “privacy and security is the responsibility of my toolkit” is one that is either very green, or reckless.

Replying to @⁨faerbit@sh.itjust.works⁩

The bad application design here is allowing an unreliable LLM write access to your repo and to the internet.

And absolutely the LLM is the problem.

You know the LLM gets stuff wrong, yet you put it in charge. Sooner or later, it’s inevitably going to go very, very wrong.

People were wrong to trust it, people read all the stories of it going wrong, and I don’t understand why anybody still does trust LLMs.

It always was a decision to outsource your most valuable thinking to a subscription controlled by companies who were so obviously on the initial stages of an enshittification journey. Why else were they pushing it so very hard?!

“Yeah, sure, some of its towers fall down, but look how fast it builds them, and look at how heavily below cost the initial subscription is! Let’s replace all our institutional knowledge and experience with a random sentence generator that ate stackoverflow! Yay!”

I don’t understand why people vote for narcissistic, fraudulent, criminal, child-raping bullies, either. It was so clearly and obviously going to go wrong.

Replying to @⁨davidagain@lemmy.world⁩

I genuinely don’t understand how is everyone having such a bad experience. Granted, I hardly chat or use it for research, but every task I’ve given to codex has been successfully fulfilled. Two last ones were optimizing a web page that drew entire world map with lots of details (actually blew my mind, it was like 95% faster) and fixing a mod in a videogame. I’ve created custom app for a radio station I loved but didn’t have basic features like previous songs, I’ve created an entire web game in 3 hours, I’ve created mods for games, etc., all without a fail.

This thing has saved me lots of headache, yes everyone here claims it’s so bad and useless and a complete bubble, meanwhile in the last year it has basically only started working and only now can businesses start adapting it (I’m sure early adaptors were not happy)

EDIT: you just know this comment will receive silent grunts and hardly any real counter-arguments because I’m right.

Replying to @⁨davidagain@lemmy.world⁩

I’ve heard people doing that way more often.

I can’t understand how you’ve not heard those stories and I can’t understand how you would give one executive power if you had.

I don’t quite understand why would you even assume this. Codex has no access to repo, network access needs manual approval, it is sandboxed to project directory (backup’ed after every step) and commands (which is mostly PowerShell since I’m on windows) needs reviews and approvals.

I can only assume the people who got burnt didn’t practice basic sanity as you obviously can’t trust LLMs

Replying to @⁨not_IO@lemmy.blahaj.zone⁩

The “nothing new, devs always commit secrets” take misses the bit that makes this one nasty: the file isn’t a .env someone chose to commit, it’s an agent settings file that silently accumulates the exact commands you approved, secrets included, and then gets accidently committed with the project because it lives in the repo, so it ends up publically exposed. YSK that’s a different failure mode to a one-off .env leak.

If you use Claude Code (or any coding agent, tbh), the practical fix is boring but it works: rotate anything that was in that file — deleting the file from the repo doesn’t un-expose it, it’s already scraped — then check git history, because the secret is still in there unless you rewrite it. Add settings.local.json to .gitignore, run a secret scanner like gitleaks in pre-commit, and stop using ‘don’t ask again’ for commands that echo tokens or passwords. Also audit the approved-commands list now and then, and keep tokens scoped as tightly as you can so a leak like this is annoying rather than catastrophic. FYI, GitHub’s secret scanning will catch some of this after the fact, but it’s no substitute for not committing the file in the first place.