News for hackers. Stuff that matters.
Re:We fine-tuned an LLM to triage and fix insecure code by sachahjkl on Tuesday September 17, 2024 @05:29AM (#41565935)
let me introduce you to the much better and reliable world of: static analysis
Re:We fine-tuned an LLM to triage and fix insecure code by hashtag-til on Tuesday September 17, 2024 @06:08AM (#41566108)
I feel we're going to have a hard time over the next months with a stream of these "magic tools" to solve already solved problems and try to milk some money out off managers who got no clue.
Re:We fine-tuned an LLM to triage and fix insecure code by dartos on Tuesday September 17, 2024 @09:09AM (#41567246)
That strategy has been working for the past 6 or so years.
Re:We fine-tuned an LLM to triage and fix insecure code by robszumski on Tuesday September 17, 2024 @09:53AM (#41567618)
Static analysis paired with AI is the middle ground that makes sense to me (working in a similar security space). But the hard part needs to be regular computer science and the AI comes second.
Re:We fine-tuned an LLM to triage and fix insecure code by funcDropShadow on Tuesday September 17, 2024 @10:22AM (#41567874)
> But the hard part needs to be regular computer science and the AI comes second.

Yes, indeed. The AI could be used to prefilter the list of warnings generated by static analysis to reduce the amount of false positives. To achieve that an AI could use the history of the projects static analysis results to find likely false positives. Or an I could propose a patch to avoid a warning. If it is automatically compiled, passed to the test suite and the whole ci pipeline, it could reduce the manual effort to deal with finding of static analysis tools.

But leaving out the static analysis tools would loose so much value.

Re:We fine-tuned an LLM to triage and fix insecure code by asadeddin on Tuesday September 17, 2024 @12:31PM (#41569486)
We completely agree. I would redefine it a bit.

We combine static analysis + LLMs to do better detection, triaging and auto-fixing because static analysis alone is broken in many ways.

We've been able to reduce ~30% of tickets for customers with false positive detection, and now be able to detect classes of vulnerabilities in business and code logic that were previously undetectable.

Re:We fine-tuned an LLM to triage and fix insecure code by asadeddin on Tuesday September 17, 2024 @12:30PM (#41569466)
I would redefine it a bit.

Reliable = deterministic

Accurate? Not at all. Studies show that ~30% of findings are false positive. We've also seen that with the companies we work with because we built a false positive detection feature in Corgea. There's another ~60% of issues that are false negative. https://personal.utdallas.edu/~lxz144130/publications/icst20...

We combine static analysis + LLMs to do better detection, triaging and auto-fixing because static analysis alone is broken in many ways.