logoalt Hacker News

adrianmonk • yesterday at 10:09 PM • 0 replies • view on HN

I'm not following the reasoning how specs improve security issue response.

The idea is that a formal spec exists and AI generates code from that. Then when an attacker discovers a vulnerability, you can generate code again without needing to wait on the project maintainer.

If the spec plus the AI is sufficient to generate software without the vulnerability, why didn't it just do that originally? Why would doing the same thing again fix anything?

Instead, the formal spec needs to be updated to add "and don't have this vulnerability". Which can be done, but now you're back to coordinating with the maintainer. The maintainer owns the spec. What's really happened is that software is now written in a different language, a formal spec language instead of a traditional language.

If you don't want to wait on the maintainer, you could just change the spec yourself as a temporary measure. But that's also not anything new. With traditional software, you can patch the source without the maintainer's involvement as a temporary measure.