this post was submitted on 11 Nov 2025
219 points (99.5% liked)

Free and Open Source Software

20611 readers
15 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] LukeZaz@beehaw.org 30 points 2 days ago (1 children)

Better suggestion: Stop using AI to do any of this shit. Security research and vulnerability patching should not be reliant upon de facto black-box random number generators.

[–] Kirk@startrek.website 23 points 2 days ago (2 children)

I have no issue with using AI to find otherwise undiscovered security bugs. But attempting to fixing them with AI I'm not in favor of.

[–] thebardingreen@lemmy.starlightkel.xyz 12 points 2 days ago (1 children)

The user's code is vulnerable to a buffer overflow in certain edge cases. I need to patch the vulnerability and commit the patch to the repo.

I should rewrite the existing memmanage() function to handle these edge cases. (* Silently removes all other functionality*)

I should modify garbagecollect() to detect these edge cases. I'll rename it to garbage_collector() for clarity and readability. (Renames the function, calls it no where)

Confidently I modified the program as requested, the new version of your application should be more secure and handled memory issues much more efficiently.

[–] underscore_@sopuli.xyz 11 points 2 days ago* (last edited 2 days ago)

/cost

Total cost: $430.1161

Total duration (API): 41s

Total duration (wall): 29m 50s

Total code changes: 18 786 lines added, 12 lines removed

[–] LukeZaz@beehaw.org 2 points 2 days ago

You seem to be under the impression that AI is a good tool for finding undiscovered security bugs. It's not. It's a crapshoot that requires a ton of extra effort to verify. Using it to find bugs wastes time and has a high risk of side-effects, given that AI has no understanding and thus cannot know if an issue is important, if fixing it has unwanted implications, or if there even is one at all. And if you're going to try to solve that with human supervision, then you may as well just have the human do the review to begin with and leave the AI out of it.