logoalt Hacker News

akerl_ • last Wednesday at 9:41 PM • 3 replies • view on HN

Once we’ve figured out how to safely automate review of security fixes, why wouldn’t we apply the same thing to all the PRs


Replies

less_less • yesterday at 9:53 AM

In the near term, it seems (to me) dangerous to completely automate review of security fixes, or of any kind of PR, in a product as security-critical as 1password. Supplementing human review with automated review of course makes sense, as long as the automated review can be trusted not to e.g. leak the vulnerability early.

Security fixes are often urgent, and it may be worth having a shorter manual review of urgent fixes simply because reviewing takes time. On the other hand, security fixes are often short, so it might not be difficult to thoroughly manually review them (in addition to automated review).

➕ show 1 reply
Cthulhu_ • yesterday at 10:48 AM

I mean there's nothing stopping anyone from doing so already (and it is happening at large scales). The actual question to ask is "who takes ownership" of a change.

If an AI accepts and merges a merge request automatically that contains malicious code, who takes responsibility? And are you willing to bet your (hypothetical) company and customers' data, privacy and finances on it?

➕ show 1 reply
LtWorf • last Wednesday at 10:05 PM

Because the typical security fix is like 3 lines long.

➕ show 1 reply