Remix.run Logo
▲ CodeWriter23 4 hours ago

Seems to me an LLM with adequate context and a database of known security risks and best practices can automate review cycles, perform them more thoroughly than human reviewers and call out areas requiring secondary review and/or summarizing the net change of any given PR.

▲loeg 2 hours ago | parent | next [-]

Quite possibly too expensive or slow to exhaustively audit for all known risk patterns. I don't know.

▲Syntaf 3 hours ago | parent | prev [-]

And to make sure the review agent stays aligned with security best practices, we introduce a second agent to review the review of the first agent.

But how do we review the review of the review agent?

▲dns_snek 3 hours ago | parent [-]

Monte Carlo & Prayer.

Thoroughly exhaust the space of all available LLMs and their infinite configurations, harnesses. Test every conceivable prompt and approach, such that any remaining gaps are unlikely to be discovered by any publicly available LLM. That would certainly cost more than expert human review so just prayer should do it.