by palata · 2w ago · 0 comments
I'd like to address this specifically. Introducing a very subtle bug can be an adversarial move, right? Say I want to introduce an exploit into a project, I can try to do that. And it is a risk in any open source project where contributions come from "random people on the Internet".
Now my question: as a maintainer, is it better for me to try to convince myself that all those contributions I receive from random people are well intentioned (and maybe miss subtle bugs that were introduced on purpose), or is it better to have an AI replace those contributors?
I don't have an answer, but I think it is an interesting question. As a maintainer, my bottleneck has generally been more around reproducing, understanding the bug and testing. Less around producing the code. And an AI can produce the code I ask it to produce, copying my style, and I can ask it to start over as often as I want.
If you're not OK with random code, you gotta rewrite everything yourself. So treat their contributions just as inspiration and work from there.
And if you're OK with random code, maybe it's safer to just use LLM and ask it to rewrite the contributed code? At least you know that LLM is not ill-intentioned.
> At least you know that LLM is not ill-intentioned.
It's more complicated than that, but yeah... I see what you mean here and I agree :-). Probably the LLM is not trained to insert bugs into my repositories, I guess? But anyway, in the future I could totally imagine that some open weight models are "mainstream" and "audited", at which point it sounds harder to target my repo from the LLM than from a PR by a random account.
ofc you dont need to beleive that, but the assumption will prompt different behaviors so id say its better to do the cautious one that makes you more likely to really look deeply into things.
that being said, subtle things are hard to find, im no maintainer and do not release my own code because i dont beleive i have the skills for such a thing. I work in cyber so i dont want to contribute to the problem i try to solve.
i work on a single project, maybe someday it will be released with all the cautions and warnings applicable. it will then be up to a potential user to determine if its buggy, malicious or fine.
i dont beleive its a maintainers sole responsibility. a user of your package needs to take their own responsibility too.