Hacker News new | ask | show | jobs
by halflife 21 days ago
I just used Claude opus 5 high to refactor our permissions model to an hierarchical one. In the validation function, if a part of a permission grant was missing in the hierarchy, claude happily granted them approval instead of rejecting, fail open for permissions.

Always review the code an LLM creates.

(When I told Claude that this is very bad, its reply was “Good catch!”)

2 comments

That's the problem: it's a possible code, not the best or even the right one.
You forgot to add “make no mistakes”, obviously
This is my system prompt