Skip to content

Back to the catalog

Endor Labs: AI AppSec Agents Cost 12x More Without Pre-Computed Security Context
endorlabs.comarticle

Endor Labs: AI AppSec Agents Cost 12x More Without Pre-Computed Security Context

Endor Labs argues that AI coding/security agents are far more expensive when they must reconstruct security context (SCA, reachability, license data) from raw repo reads instead of using deterministic tools. Their benchmark of 442 security prompts (reachability, exploitability, prioritization, remediation, license compliance) across 12 open-source projects in 6 languages found an LLM-only agent averaged ~14 tool calls per question (mostly grep/file-read/web-search) versus ~2.5 high-level calls when equipped with Endor Labs' precomputed security data, yielding a 91.7% token reduction and 4.5x fewer tool calls. The piece also cites a naive academic LLM vuln-scan baseline that flagged ~14,000 candidate sinks with zero confirmed vulnerabilities, and quotes Anthropic's Michael Moore stating Claude Code Security is meant to augment, not replace, existing AppSec tooling.

TL;DR Endor Labs benchmark shows AI security agents burn 5-30x more tokens without pre-computed reachability/SCA context, with a 91.7% token reduction when using deterministic tooling instead of raw repo grepping.
Document

What it is

An Endor Labs thought-leadership post framing the "build your own AI AppSec vs. buy" decision through token cost. It puts concrete dollar figures on running native AI-powered PR/code security at scale, and quantifies the token gap between an agent with pre-computed security evidence and an LLM-only agent — details the catalog summary states directionally but doesn't number.

The numbers that aren't in the summary

  • Build-it-yourself cost, 150 developers: using public pricing, ~$600K–$1.3M/year (midpoint ~$900K). Re-run at Claude Fable 5 rates it jumps to ~$1M–$2.4M/year (midpoint ~$1.6M).
  • Fable 5 pricing cited: $10/M input, $50/M output — exactly double Opus 4.8's $5/$25. The post's point: frontier pricing is rising, so a budget scoped in January is wrong by June.
  • Agent vs. chat: agentic workloads burn 5–30× the tokens of a single chat turn because the agent re-sends its whole accumulated context every reasoning step.
  • Tool-use payoff: MCP-style deterministic tool architectures show token reductions up to 98% with accuracy preserved or improved.
  • Trace data: the LLM-alone agent averaged ~14 tool calls per question, almost all low-level repo primitives — where the token gap opens.

The anti-pattern worth remembering

A 50-engineer team ran a per-PR security agent and hit an $8,400 bill in the first month. Root cause: a 50,000-token security policy injected into every single prompt. Concrete lesson — audit what static context you're attaching to each agent invocation before scaling per-PR agents.

The naive "hand it the repo, say find the vulnerabilities" approach does three things at scale: burns tokens linearly with repo size, hallucinates, and floods triage. Cited academic baseline: nearly 14,000 candidate "sinks" in one project, zero confirmed real vulnerabilities.

Threat-curve framing (context, not claims to act on)

  • CVE program published ~42,000 new vulnerabilities in 2025; projected +50% in 2026.
  • Mandiant M-Trends 2026 cited at a mean time-to-exploit of negative seven days (weaponized before patch); Endor claims observing exploits in under 10 hours.

Caveats

This is a vendor post whose recommended answer — feed the agent "compact evidence" (findings, reachability, call paths, upgrade impact) — is Endor Labs' own product. The cost figures are Claude-generated estimates from public pricing, not audited spend, and several stats (M-Trends, FinOps Foundation's 98% managing AI spend) are cited second-hand. The 442-prompt benchmark's actual accuracy/false-positive results are not in this excerpt — the text cuts off at the token-gap explanation.

Organisations named here

  • FinOps Foundation
  • Mandiant M-Trends 2026
  • Michael Moore

Technologies named here

  • Claude Fable 5
  • Endor Labs
  • Opus 4.8
  • Claude Code Security
  • Mythos
  • Codex Security
  • Model Context Protocol
  • Claude Code
  • Codex
  • Anthropic
  • Cursor

Techniques named here

  • Reachability analysis
  • Exploitability assessment
  • Prioritization
  • Remediation
  • License compliance
  • Static Analysis
  • Software composition analysis
  • Secrets scanning
  • Container and IaC posture assessment
  • Naive LLM vulnerability finding