Comment by verdverm

1 day ago

I suspect you would disregard or find fault in any benchmark I or others provide you.

Alternatively, if you want to see a benchmark so badly, you can create such a benchmark for your guess. I would imagine you would have more faith in the results of your own work.

If someone were to genuinely tell me that with the two SOTA models with the review step, severe security issues were left in the code, I would believe it.

That's not what anyone tells me though. I only hear theorizing and vague references to how AI failed people.

You're spot on that the thing I trust most is my own experience. I'm mostly working on mobile apps, my project does not have user accounts, so I couldn't tell you about authentication.

However, it is my experience that these models got very good at catching high-priority issues if you use the review step as I described.

Thus I theorize that SOTA models are likely to produce secure implementations.

  • "secure implementation" is vague, for example, here is an OpenCode issue (links to related PRs/follow ups) that I worked with their team through to improve security.

    Our hunch is that the Ai told them this was ok to do, but it broke invariants users relied on. Perhaps it was not "hackable" in the sense I think you are getting at, but it did open a very big security hole through choices and design. The critical thinking was lacking (imo).

    https://news.ycombinator.com/item?id=50133401

    • A poor design decision in OpenCode configuration handling is interesting, but not directly relevant to the question.

      Assuming the question is whether not reviewing generated code is likely to create vulnerabilities despite SOTA models having audited the implementation.

      Here it seems to have been a design choice, rather than an implementation mistake. I do not know what models were used and whether a review or audit has been done.

      We are basically back at a vague the AI failed.

      And sure, this happens, but there are some strong claims I'm reading here that are imo not evident:

      - not reviewing implementation is foolish

      - doing so will result in a flood of insecure software

      - more AI cannot fix this

      --

      My arguments on each point:

      - depends on risk tolerance, attack surface, error rate

      - depends on actual performance of the proper setup I described on typical tasks, compared to the average engineer

      - more AI can fix this, provided the audits become accurate enough to identify vulnerabilities with eg. 99.9% reliability

      --

      Are you sure that such accuracy for auditing is impossible, and will remain impossible in the future?

      3 replies →