How Figma Uses AI Agents for Security #AI


The engineering team at software company Figma recently documented how they built AI agents to help their security team investigate alerts, search past incidents, check company systems, and even prepare code fixes. The agents learn from previous investigations, reducing repetitive work and helping engineers resolve complex alerts about 70% faster, while human review and strict controls remain in place.

Source: Figma blog

The team describes a security system built on Panther SIEM that investigates alerts and checks audit logs across AWS, Okta, GitHub, GCP, and osquery, an open-source tool that lets you query computers for security and system information using SQL. It queries more than 100 other sources and can open PRs.

The authors report that this reduced resolution time by about 70% for complex alerts and reduced on-call pages by 20% by lowering the severity of some alerts. Matthew Sullivan, formerly a security engineer at Figma and now at Nition, and Brad Girardeau, security engineering manager at Figma, write:

The alert triage agent (using a model like Claude Opus) is where most of the investigation happens. It receives the full Slack thread history as context, its own steering memory (more on this later), and a set of tools scoped to what a security on-call engineer typically needs during triage.

According to the article, the agentic system uses AWS Bedrock Knowledge Bases, Amazon Kendra, Tines, and a Snowflake-based tool to search historical alerts and investigate Panther data. Sullivan and Girardeau add:

Memory ended up being the thing that had the most impact on how useful the system became over time. We have several kinds, and keeping them separate turned out to be important.

Three types of memory help the system improve investigations over time: past alerts, behavioral guidance, and learned database structures. Safety controls are built into the tools themselves, with agent-created PRs set to draft by default and prompts designed to prevent sensitive data from being shared in public Slack channels.

In the separate article “How Figma stays ahead of vulnerabilities with agents,” the engineering team reported that its agents found more than 100 previously unknown vulnerabilities, including two critical flaws missed by traditional tools, and that its code reviewer reached 80% precision within a month. The system also improved detection of known bugs by about 30% through a second review step and the team reported about a 50% reduction in some coding errors after adding automated guidance. While the authors describe the steps they performed to achieve those improvements, they warn:

We can’t tell you exactly what to do: The specifics depend on your company size, the risks you face, and the feedback loops you already run. But one main lesson is to improve precision before recall. The order is counterintuitive, because the historical bugs you already have can only measure recall; they barely help with the precision you must fix first.

As security teams give AI agents more responsibility, the role of human approval remains an open question. Cloud security company Wiz recently reporte in “GhostApproval: A Trust Boundary Gap in AI Coding Assistants” that six AI coding assistants could be tricked by malicious repositories while showing users a harmless-looking approval prompt. InfoQ recently covered OpenAI’s disclosure regarding sandbox escapes.

Figma acknowledges that the existing AI agents are not perfect, but neither are humans, and concludes that the choice is not between the two, with the right balance between automation and human oversight still evolving.

 





Click Here For The Original Source.

——————————————————–

..........

.

.