By NHI Mgmt Group Editorial TeamBased on Semgrep: “How we built an AppSec AI that security researchers agree with 96% of the time” (June 12, 2026)

TL;DR: After benchmarking more than 2,000 findings, AI Assistant now matches internal security researchers on true positives in 96% of cases while still remaining conservative on false positives, according to Semgrep. That level of performance makes AI triage a governance issue, not just a workflow improvement, because teams must decide where machine judgment ends and human review begins.


At a glance

What this is: Semgrep says its AI triage now agrees with security researchers on true positives in 96% of cases, showing that AppSec automation is becoming a governance decision as much as a workflow one.

Why it matters: IAM, AppSec, and platform teams need to decide where human review remains mandatory, because automated verdicts can shape what developers see, what gets prioritised, and what quietly stays in backlog.

By the numbers:

  • Our security researchers triaged a dataset of over 2,000 findings for benchmarking.

Context

AppSec triage is the control point where raw findings become action, and that control fails when teams cannot separate exploitable issues from noise. In this article, Semgrep frames AI as a triage layer that evaluates findings, but the governance question is whether machine verdicts can be trusted to shape developer workflow without weakening human oversight. The same issue appears in other security automation programmes: once a system decides what is worth review, it starts governing attention as well as detection.

The identity angle is indirect but real. AI-assisted security operations increasingly behave like decision systems inside the control plane, and teams need to know who owns their thresholds, review boundaries, and override paths. In practice, this is less about replacing analysts than about defining when automated judgement is authoritative and when it must remain advisory.


Key questions

Q: When should security teams trust AI triage for AppSec findings?

A: Teams should trust AI triage only when the system has been benchmarked against a well-curated reviewer set, shows high agreement on real issues, and operates with clear override paths. The threshold is not whether it reduces noise alone, but whether it preserves coverage of exploitable findings while keeping human review available for drift, edge cases, and policy exceptions.

Q: Why can AI triage improve AppSec governance without replacing analysts?

A: AI triage improves governance when it decides which findings deserve immediate developer attention, while analysts retain authority over policy, exceptions, and backlog review. That division lets teams scale decision-making without surrendering accountability. The model handles repetitive classification; humans still own the risk standard, the edge cases, and the final judgment on ambiguous findings.

Q: What are the signs that AI finding triage is too conservative or too noisy?

A: Too much conservatism shows up as borderline findings flooding review queues, developers ignoring alerts, and AppSec teams spending time on issues that rarely prove exploitable. Too much noise shows up as false-positive fatigue and declining remediation rates. The right balance is a system that keeps real issues visible while reducing enough low-value output to maintain trust.

Q: How should AppSec teams govern automated verdicts from AI triage systems?

A: Teams should govern automated verdicts with explicit policy, reviewer audit rights, and a retained backlog of all suppressed findings. That structure lets AI accelerate the first pass without becoming the final authority. Governance should also include periodic benchmarking, drift checks, and a clear rule for when the model must defer to human review.


Technical breakdown

How AI triage evaluates AppSec findings

AI triage in this context combines an LLM with retrieval augmented generation to classify a finding as likely true positive or likely false positive. The model is given the finding, relevant code context, rule metadata, prior triage history, examples of intended detections, and nearby dataflow lines so it can estimate exploitability rather than just pattern match. That matters because AppSec findings are often ambiguous: the same code pattern can be either harmless or exploitable depending on surrounding logic. The architecture is therefore a judgment system, not just a classifier.

Practical implication: Treat triage outputs as decision support unless you can validate the model’s inputs, confidence, and override process.

Why true-positive accuracy matters more than noise reduction

The article shows that the system initially agreed with researchers on true positives far more often than on false positives, and that is the key asymmetry. A triage system that rarely misses real issues protects security coverage, but a system that overstates risk can still impose unnecessary remediation work and erode trust. In AppSec governance, false negatives are the harder failure because they let exploitable findings disappear from the workflow. The design choice here was to optimise for catching real issues even if some safe findings are still surfaced for review.

Practical implication: Set acceptance criteria around missed real issues, not just how much alert noise the system removes.

How context changes model confidence in AppSec triage

The article shows that rule confidence and prior examples materially improved performance, which is a reminder that triage quality depends on the quality of the surrounding policy signals. LLMs are strongest when they can reason over structured context, but they still inherit the limits of the material they are given. If the rule metadata is weak, the dataflow is incomplete, or the example set is biased, the verdict will be correspondingly shaky. The control problem is therefore not only model selection, but also context governance across the detection pipeline.

Practical implication: Curate rule metadata and example libraries as control inputs, not as optional documentation.


NHI Mgmt Group analysis

AI triage is becoming a governance layer, not a convenience feature. Once a model decides which findings interrupt developers and which remain in backlog, it shapes risk prioritisation and remediation behaviour. That means the operating question is no longer whether the AI can score findings, but who is accountable for the threshold at which the AI is allowed to suppress noise. Practitioners should treat triage policy as a governed control, not a workflow preference.

High true-positive agreement is the right benchmark for security operations, but it is not enough on its own. A model that rarely misses real issues can still distort programme behaviour if it pushes too many borderline findings back into review. The article’s conservative design choice reflects an important control reality: AppSec teams usually need to avoid blind spots first, then tune efficiency second. Practitioners should evaluate whether the model preserves coverage before they ask whether it saves time.

Context quality is the hidden control plane behind AI-assisted triage. The article makes clear that rule confidence, historical decisions, and code context materially affect outcomes. That creates a governance requirement around the inputs that feed the model, because poor metadata produces poor verdicts even when the model is strong. The practical implication is that AI triage programmes need control over the evidence they present to the model, not just the model itself.

AppSec automation now touches the same trust questions that identity programmes face. In identity governance, teams already distinguish between authoritative policy decisions and advisory signals. AI triage is moving into that same space, where an automated system influences access to developer attention, remediation queues, and review capacity. Practitioners should align AI triage oversight with the same seriousness they apply to privileged decision systems.

Signal-to-noise is the real operational metric, but only when it is tied to remediation behaviour. The article’s argument is that developers stop trusting noisy systems, which means output volume alone is not a success measure. The stronger measure is whether a triage layer increases the rate at which actionable findings are fixed without creating review debt. Practitioners should judge AI triage by downstream remediation quality, not by how many findings it filters.

From our research library:

What this signals

Triage automation now behaves like a control system, not a productivity shortcut. Once AI decides whether a finding interrupts a developer, the programme has moved from alert handling to governance over attention. The practical test is whether the system still preserves human review for issues that fall outside its confidence boundary.

Developer trust is the limiting factor in AI-assisted AppSec. If reviewers believe the tool is filtering too aggressively or surfacing too much noise, they will disengage from the process and the programme loses remediation momentum. Teams should watch for that trust erosion as carefully as they watch model accuracy.

AI triage only scales when the surrounding policy stack is explicit. Rule confidence, historical examples, and code context are no longer background metadata, they are part of the decision fabric. Teams that govern those inputs tightly will get more consistent outcomes than teams that treat them as optional context.


For practitioners

  • Define triage authority boundaries Specify which finding classes AI may suppress, which require human review, and which must always reach developers. Keep the policy explicit so automation does not silently change the review standard.
  • Benchmark on true positives first Measure agreement against a reviewer set that includes enough real issues to test whether the model misses exploitable findings. Use the true-positive result as the primary safety gate before tuning for noise reduction.
  • Treat rule metadata as a control input Review rule confidence values, example findings, and prior triage decisions because those inputs materially affect verdict quality. Poor context will produce inconsistent results even when the model itself is capable.
  • Preserve human review of suppressed findings Keep every AI-triaged finding accessible to AppSec engineers in the backlog so they can audit the model’s decisions and spot drift. That review path is the control that keeps automation accountable.

Key takeaways

  • AI triage in AppSec is now a governance control because it decides which findings developers see first and which issues remain in backlog.
  • Semgrep’s benchmark of more than 2,000 findings shows that high true-positive agreement can coexist with conservative false-positive handling.
  • The main operational challenge is not whether AI can triage at scale, but whether teams can keep human accountability around automated verdicts.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0, NIST AI RMF and OWASP ASVS set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsAI triage governs which findings receive attention and remediation priority.
GV.RM-01 — Risk Management StrategyThe article is fundamentally about choosing an acceptable AI risk trade-off for AppSec.
Recommendation — Apply PR.AA-05-style governance to control who can suppress, escalate, or override triage decisions. Define the acceptable false-negative and false-positive balance before delegating triage decisions to AI.
NIST AI RMFGOVERN — AI Governance and AccountabilityAutomated triage is an AI decision system that needs clear ownership and oversight.
MEASURE — AI Measurement and MonitoringThe article centres on benchmarking model agreement and tracking accuracy over time.
Recommendation — Assign accountable owners for AI triage policy, thresholds, and review escalation. Measure AI triage against a representative reviewer set and monitor drift continuously.
OWASP ASVSV16 — Security Logging and Error HandlingThe system’s explanations and retained backlog support auditability and reviewability.
Recommendation — Log AI verdicts and supporting context so human reviewers can audit decisions and investigate anomalies.

Key terms

  • AI SOC triage: AI SOC triage is the use of automated systems to investigate, classify, and route security alerts before a human analyst gets involved. In practice, it reduces repetitive work, preserves responder focus, and can enforce a consistent first-pass workflow across time zones and shifts.
  • True Positive: A true positive is a finding that correctly identifies a real security issue. In triage systems, true-positive recall matters because missing a genuine issue can leave exploitable code in production. Security teams usually care about both recall and precision, but the acceptable trade-off depends on risk and workflow design.
  • False Positive: A false positive is a scanner result that looks like a secret but is not actually sensitive. In secret governance, false positives matter because they consume analyst time, weaken trust in alerts, and can delay response to the findings that truly change exposure and access risk.
  • Retrieval-augmented Generation: Retrieval-augmented generation is a pattern where an AI model pulls external information before generating output. The security challenge is that access rules can weaken when data is chunked, embedded, cached, or reused, so source permissions may not automatically follow the content into the model's context.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and identity lifecycle basics. It is designed for practitioners who need to connect identity controls to wider security operating models.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 2, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org