Scaling security reviews at 1Password: Building an AI-powered pipeline

Scaling security reviews at 1Password: Building an AI-powered pipeline 图片 1

The engineers here at 1Password are always working to improve our products. With all the active development to introduce features, fix bugs, and enhance the overall user experience, numerous code changes go into every release. We strive to ensure each iteration is better than the last and that new code doesn’t introduce vulnerabilities. A key part of this process is our Product Security (ProdSec) team’s review of all code changes that may have security implications. In the past, security engineers gathered on calls several times per week to go through all the PRs in the queue that required ProdSec eyes. While incredibly important, this review process was arduous and consumed countless people hours every month, especially when the engineers were flagging the same patterns over and over. And our team did this for years . These manual security reviews worked when 1Password was a smaller company with one product. But as 1Password grew in size and expanded its product line, the number of PRs increased—and that began to grow by orders of magnitude as engineers adopted AI-coding assistants. One thing remained constant, though: There are still only 24 hours in a day. It was a process that just couldn’t scale. Over the past year, it became clear we needed a solution. We tested a few popular third-party tools that use artificial intelligence (AI) to enhance the traditional static analysis process (SAST) used throughout the industry. They functioned okay from a general security perspective but we knew we could do better. We believed we could use AI models, along with a 1Password-specific knowledge base, to significantly reduce the time and effort our team dedicated to security reviews. A few days later, we had an idea and a great moniker: SAGE (Security Analysis Guidance Engine). 🌿 Analyzing our history to guide our engine SAGE was an ambitious hypothesis but we had all the information we needed, we just had to compile it. It started with a script. We gathered nearly 9,000…

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论