r/ProgrammerHumor • • Oct 05 '26

Meme [ Removed by moderator ]

/r/ProgrammerHumor/comments/1wydy0f/removed_by_moderator/

[removed] — view removed post

9.4k Upvotes

558 comments sorted by

View all comments

Show parent comment

10

u/theFirstHaruspex Oct 05 '26

Trying to imagine the architecture there. Surely that isn't a problem solved just by infosec, is it?

18

u/FartPiano Oct 05 '26

without getting all opsec about specific implementation, its set up like this:

dev users don't have write permissions, but they do have the ability to grant themselves a "write permissions" role. Then some cron job not accessible to devs deletes the role after some amount of time.

Its not any more "secure" than just letting devs have write access in principle, but it allows much easier logging and figuring out what happened, prevents "random" stuff from happening at "random" times, and is nominally supposed to help protect LLM mishaps by requiring this step first. In a vacuum I don't think the idea is stupid but I don't think its effective at preventing LLM missteps, it probably reduces the likelihood a little but doesn't eliminate it.

1

u/OrderChaos Oct 06 '26

We have something similar on our Mac laptops where we don't have admin or sudo permissions (still a bit limited in scope though), but we can get them for a bit by clicking a button. Unfortunately they still don't trust us with db write access....

10

u/KaleidoscopeLegal348 Oct 05 '26

They asked nicely in the md file, what else could you possibly expect them to do?

7

u/CarcajouIS Oct 05 '26

Exactly. Put in the md file the name of the command to not run, this way it gets in the context. Oh, and don't put it in the deny list, let the agent ask for permission instead of being told no automatically