180
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 11 May 2026
180 points (100.0% liked)
Technology
84569 readers
3460 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 2 years ago
MODERATORS
Also the updates to their existing software getting increasingly buggy and sloppy.
On that note, I had latest Claude Opus xhigh write me some code.
If a user passed an empty string to the
user_idfield it would give them access to everyone’s data. How that worked was a check like “if user_id: # add user id to query”. Empty strings are falsy in Python, so empty user id retrieves all data.A function later on was filtering these results out coincidentally, but not specifically. So if this shipped, in a month when someone updated the code, we’d be allowing an empty login form to access all user data.
This is the slop getting shipped by AI code assistants. This is why I am rewriting the whole project manually.
It could also suggests your codebase doesn’t have solid patterns
This was pretty close to a green field project.
This was one of the very first functions written after the db models were created.