Oh that's almost certainly happened already
www.theregister.com/2024/03/28/ai_bots_hallucinate_software_packages/
1
0
45
Lovely...and here I assumed that was more a database fluke where it pulled "do not use" code as usable rather than outright malicious injection.

And now I've just realized blackhats could do this to revert zero-day patches on any system with kernel level access (say Co-pilot).
0
0
9