180
you are viewing a single comment's thread
view the rest of the comments
[-] Rothe@piefed.social 29 points 1 day ago

Also the updates to their existing software getting increasingly buggy and sloppy.

[-] panda_abyss@lemmy.ca 22 points 1 day ago* (last edited 1 day ago)

On that note, I had latest Claude Opus xhigh write me some code.

If a user passed an empty string to the user_id field 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.

[-] lIlIlIlIlIlIl@lemmy.world 3 points 8 hours ago

It could also suggests your codebase doesn’t have solid patterns

[-] panda_abyss@lemmy.ca 2 points 7 hours ago

This was pretty close to a green field project.

This was one of the very first functions written after the db models were created.

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


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. 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.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS