← Lab /AI/ML

SSA extracts secrets and their access context with higher recall and comparable precision

The authors claim their multi-agent LLM system improves secret-door extraction precision and recall over single-agent and regex baselines.

AI/ML arXiv 10 Jul 2026 Method Prototype evidence

Published as “Secret Scanner Agent: Extracting Secrets and Access Context from Unstructured Documents”

Why it matters

SSA enables incident-response teams to automatically obtain actionable secret-door pairs from messy documents, reducing manual triage time from minutes per document to seconds while improving coverage.

Summary

Secret Scanner Agent (SSA) uses a multi-agent LLM workflow to extract both credentials and the resources they unlock (the "door") from unstructured documents, achieving up to a 16-point precision gain on door extraction and matching regex-based scanners' precision while more than tripling recall. Across six LLMs, SSA outperforms a single-agent baseline, traditional secret scanners, and thirteen human analysts, delivering >95% extraction precision and recall in seconds per document. The gains come with higher latency (1.2-2.3× slower) due to the extra verification step, and the improvements are most pronounced on weaker models and diverse secret types.

What they found 2

  1. Door-extraction precision improves by up to 16.3 points on weaker models

    “precision improves by 16.3 points on gpt-4.1mini, from 69.67% to 86.00%”

  2. SSA matches regex-scanner precision while more than tripling recall

    “SSA matches a regular-expression scanner’s precision while more than tripling its recall”

Caveats 5

  • on gpt-5.4-mini-medium, secret-detection recall falls from 100% to 97.33%
  • on gpt-4.1-mini, door-extraction recall falls from 95.76% to 91.67%
  • These accuracy gains come at a cost. Because the multi-agent workflow issues an additional model call per document, it consumes more tokens and incurs higher latency and higher inference cost than the single-agent variant.
  • The trade-off is speed: glm-5.2 is the slowest configuration we evaluate and shows the steepest multi-agent slowdown (Table 3), so on this model the move to perfect precision is also the most expensive.
  • The additional agent helps most when the single-agent baseline leaves more unsupported or incomplete extractions, where the review step can correct candidate errors and recover missing context. For stronger models, the single-agent variant already performs comparably, and the added latency and cost are less easily justified.

What’s new here 4

  • Extracts the associated "door" (resource) for each secret, not just the secret string.
  • Employs a multi-agent LLM architecture that separates detection and review to improve precision.
  • Provides a synthetic benchmark pipeline for realistic secret-door data across 23 secret types.
  • Offers an evaluation framework that measures both detection and exact extraction of secrets and doors.