• rumba@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    Tip, when you’re done having it do your project, restart the chat, tell it that it’s a security engineer and ask it to check for any vulnerabilities or anything that should be done to protect the site against malicious activities. Ask it if there’s anything with your hosting or site that should be addressed.

    Most of the training data out there is on how to get a task done and the best way to do the task, there’s a lot less training on completing a project with security in mind. There is however a lot of data on specifically how to secure already written code so it can do it, but it generally will not unless you ask it to.

    • MangoCats@feddit.it
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      That’s a great tip: having it review the security of code that an earlier context generated.

      I plan on having it write unit tests, or at least try to…