108 points · by pk3 · 3y ago · 20 comments
If that is possible then shouldn't it also be possible to ask the AI to find and code remediation to the vulnerabilities it found?
So AI could be used to find all possible code-vulnerabilities and then how to neutralize those? This would advance software security in general.
In other words AI could be used like a microscope discovering tiny defects in our software which are not visible to the naked eye. Like a microscope that detects viruses and thus allows us to guard against them. Like a COVID-test.
It's not that simple. Mal-AI will probably operate orders of magnitude faster than Bene-AI. Patching affected software/hardware is a bureaucratic or formalized process that can take time.
Time dilates for AI relative to humans because it can accomplish so much work in our time horizons. A month to us might be like years to an AI.
So good AI would always be orders of magnitude behind while cleaning up after bad AI.
This perspective doesn't even account for online devices that are un-patchable that constitute the majority of today's bot armies.
“Bureaucracy” misstates the fundamental issue: errors in patching the software against malware (e.g., breaking the prime function to support security) are more costly than errors in attempts to break in, so the former fundamentally demands more costly (even if it, too, is fully automated) verification.
Bene-ware has to avoid screwing up of any one of thousands (millions) of calls in a system.
'Undocumented but valid' is also a nightmare here. Recently the software I support broke for a bunch of clients in the field because they were using an undocumented method that worked, but that we did not actually test internally. This did come a surprise to our testing and development team as our customer base is adverse to any kind of data collection that shows how customers use the system.
Also will every other major country.
I'd bet china already has RED/BLUE challenges going on internally..
Also, automated vulnerability finding is very much real and already used today. This isn't something that has just become viable via LLMs, but I guess LLMs can enhance it:
It will likely become part of SOC2, and all the major cloud and IDE vendors will offer it as a service. Potentially just bundled in at no additional cost.
As is typical in the AI field, Deepmind was key in the development of the process. Deepmind 's Sparrow came out just before ChatGPT (regarding language modeling with RLHF), and much of the RLHF work was explored in their robotics/agent exploration work just prior to application in language.
OpenAI was integral in PPO, but it's important to know and understand it wasn't ChatGPT or OpenAI that is solely leading these advancements.
I found this sub-title quite interesting