• Dave@lemmy.nz
    link
    fedilink
    arrow-up
    7
    ·
    13 hours ago

    See this is a decent use of LLMs! OK so the article said the team admitted other approaches would do at least as good of a job.

    But can we try to use AI for scanning open source code to find vulnerabilities before they are released, rather than for watching your every move as you use your computer?

    • Em Adespoton@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      11 hours ago

      I agree. We can use ML models for identifying possible malware; there should be more than enough examples of bad coding to train an LLM on to identify injection risks, lack of input sanitation, assignment and inheritance issues, and use after free problems. And cleaning THOSE things up in a code base will fix the majority of security issues.

      LLMs could also review algorithms looking for logic issues in larger code bases where a human might not be able to hold the entire system in their mind at the same time.