AI, Security
New Framework Uses AI Memory to Cut False Alerts in Security Testing Tools
Researchers propose Memoir, a system that learns from past false positives to improve accuracy of static security analysis tools.
Static application security testing (SAST) tools are crucial for catching vulnerabilities during software development, but they frequently trigger false alarms that waste developer time and erode confidence in the systems. A new research framework called Memoir tackles this problem by treating false-positive alerts as learning material that can be stored, verified, and refined over time.
The Problem with False Positives#
Security scanning tools often struggle with accuracy because they work across many different systems and vulnerability types, making it hard to identify recurring patterns in incorrect alerts. Most existing approaches to filtering false positives rely on static knowledge that cannot adapt as new information emerges.
How Memoir Works#
The framework operates in two main stages. Memory construction transforms historical false-positive alerts into structured, reusable patterns through large language model annotation, clustering related cases, and synthesizing general behavioral patterns. These memories capture the characteristics of alerts that commonly turn out to be incorrect.
Memory-driven identification retrieves the most relevant patterns from storage and performs semantic verification against security principles and consistency rules before making a final determination about whether an alert is genuine. Crucially, once new cases are validated, the system feeds them back into its memory repository, allowing the knowledge base to grow and improve automatically.
Performance and Real-World Impact#
Testing on CWE-Bench-Java demonstrated strong results: the system achieved an F1-score of 99.43%, with 98.88% recall and perfect precision. An industrial case study involving production systems at a major IT company revealed that the learned memories generalize well across different SAST tools without requiring retraining—a significant practical advantage.
The research appears on arXiv.

