• CorrectAlias@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    14 days ago

    Be careful not to introduce security vulnerabilities such as command injection, XSS, SQL injection, and other OWASP top 10 vulnerabilities. If you notice that you wrote insecure code, immediately fix it.

    Lmao. I’m sure that will solve the problem of it writing insecure slop code.

    • filcuk@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      14 days ago

      It doesn’t fix it, but as stupid as it looks, it should actually improve the chances.
      If you’ve seen how the reasoning works, they basically spit out some garbage, then read it again and think whether it’s garbage enough or not.
      They do try to ‘correct their errors’, so to say.