Trustwave SpiderLabs tested how well ChatGPT performs basic static analysis on snippets of vulnerable code. The finding: OK on basic stuff, but not so impressive on slightly more challenging stuff. Specifically, ChatGPT struggled with:
-- Code execution in certain languages. ChatGPT made quick work of simple buffer overflow and JavaScript examples but did not initially identify issues in more complex code or for more novel vulnerabilities.
-- Line-by-line breakdown with context of the methods used in vulnerabilities and their parameters.
-- Interpreting the human thought processes behind code, the biggest flaw when it comes to using ChatGPT to analyze security risks.
My initial take as a reoirter is . . . meh, but I'm curious to know what others think.
https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/chatgpt-the-right-tool-for-the-job/
@john_philip_bell @dangoodin @jacob
I'd love to see a tool that is trained to spot known vulnerabilities.