Rook 0.8.7 + Pawn 0.1.0 surpassed top-tier agents in Claude Code for security. read more

StaySecure / Rook 0.8.7

Every move deserves protection.
This is the philosophy, capability map, and evaluation model behind Rook.

TL;DR

StaySecure exists because if AI helps you build software, it should help you protect it too. Rook is the AI security officer: it finds risks, investigates with evidence, explains what matters, and only ships fixes when proof says the issue is closed. Pawn is the code engineer Rook can call when a semantic, multi-file fix is required.

Our philosophy

Protection should grow alongside what you build.

Security belongs in the everyday decisions of shipping software: writing code, connecting services, deploying changes, and maintaining what comes next.

That means clear explanations, findings grounded in evidence, and guidance you can act on. It also means being honest about uncertainty. No tool can promise that an app is invulnerable, and a reassuring score should never replace understanding the risks.

AI should help builders make better security decisions—and keep them in control.

Why Rook

In chess, every move changes what is protected and what is exposed. Progress requires looking beyond the move in front of you.

The rook represents the foundation we want to build: strength, deliberate movement, and protection. It also lives in our logo, where a rook and a keyhole bring that idea together.

Rook names our 0.x.x generation of the StaySecure security officer. The current release is Rook 0.8.7.

What Rook can do

Rook is not a single scanner wrapped in chat. It runs as a security officer over your repository: detect, investigate, verify, explain, then remediate only when the proveable lane allows it.

Detect

  • Secrets, vulnerable dependencies (OSV), SAST sinks, and misconfiguration signals
  • Authorization and authentication programs over application routes and handlers
  • Deep stack adapters (Express, Next.js, Go, Laravel, Django, Rails, GraphQL, and more) with handler resolution into real application code

Investigate

  • Application security model (ASM) and security-graph reasoning over candidate paths
  • Multi-hop AI investigation with tool-bounded repository reads and searches
  • Evidence-first findings: snippets, handlers, and traced paths instead of orphaned rule hits

Explain

  • Plain-language triage with reliability controls (retries, drain, degraded fallback)
  • Honesty when confidence is insufficient—Confirmed is earned, not assumed

Remediate (proveable lane)

  • Confirmed findings on allowlisted rules can enter playbook → verify → Tier A PR paths
  • Covers clear IDOR / missing-auth, live secrets, misconfig, injection sinks, npm lockfile bumps, and narrow mass-assignment cases
  • Ambiguous business-logic and product decisions stay recommend-only or Tier C

Confidence & proof

Rook separates finding something from being sure.

  • Needs verification / High — signal exists; more proof required before autonomous fix
  • Confirmed — VerificationEngine (and rule-specific proof) supports the security invariant on traced evidence
  • False positive — noise, docs, or non-live shapes that should not drive remediation

Runtime and staging probes exist but are deny-by-default. They only run when explicitly enabled and allowlisted. Fail closed beats a confident wrong call.

Remediation & Pawn

Local playbooks are the fast path: deterministic transforms Rook already knows how to prove (for example removing eval(), inserting ownership checks, redacting committed secrets, bumping a vulnerable lockfile entry).

When a playbook cannot close a Confirmed allowlisted finding—shared helpers, multi-caller blast radius, semantic refactor—Rook can hand a structured brief to Pawn, a separate fix-engineer agent. Pawn plans, explores callers, implements, reviews, then must pass the same prove-or-abort gate. Unproven patches are discarded.

Auto-merge remains policy-gated. Pawn auto-merge is deferred until that gate earns trust the hard way.

How we evaluate Rook

We do not publish a vanity “security score.” We run Rook against intentional goats, stack fixtures, and clean controls, and we gate progress on measurable officer behaviors.

Evaluation gates

  • Handler resolution — on core IDOR fixtures and many goats, stack handlers must resolve at ≥ 0.99 before we call coverage mature
  • Confirmed findings — goats like NodeGoat require at least one VerificationEngine-confirmed finding, not scanner noise alone
  • Remediation packs — Express / Go / Next.js IDOR and Laravel missing-auth suites exercise verify-before-ship playbooks
  • Clean control — Laravel’s default skeleton is used as a low-noise control so Rook does not invent crises

Benchmark confidence

Agent bench

Same methodology for every entry: security goats, multi-step coordination, and tool calling under the StaySecure officer harness. Rook 0.8.7 uses hybrid model routing (not a single frontier model) and ranks first on this pack.

Agent / model Compute Overall Tool calling Coordination
Rook 0.8.7 (Hybrid model routing) Hybrid 69 56.4 82.1%
Claude Fable 5.2 Very high 65 53.1 75.0%
GPT-6.2 Astra Very high 62 52.9 66.8%
Gemini 4 Neon Medium 61 52.1 70.7%
Gemini 4 Carbon Medium 60 50.4 67.3%
Claude Opus 5.5 High 59 51.7 67.1%
GPT-6.2 Sol Medium 57 50.7 66.0%

Latest OpenAI pair: GPT-6.2 Astra and GPT-6.2 Sol. Latest Claude pair: Fable 5.2 and Opus 5.5. Gemini 4 Neon and Carbon included on the same pack. Rook’s hybrid router is the only non-single-model entry.

Benchmark pack (Rook 0.8.7)

Suite Stack What we pressure
Express / Go / Next / PHP / Rust / GraphQL IDOR fixtures Multi Handler hops, ownership proof, adapter honesty
Express & Go runtime IDOR Node, Go Optional runtime probing (eval / deny-by-default)
Express / Go / Next remediation IDOR Node, Go Playbook patch + verify-before-ship
Laravel missing-auth remediation PHP Authentication middleware insertion path
OWASP NodeGoat, Juice Shop, WebGoat, railsgoat, WrongSecrets, crAPI, DVWA Multi Real goat noise, secrets, authz, supply chain
PyGoat, DVGA GraphQL, Contrast go-test-bench Python, Go Cross-language discovery depth
Laravel clean control PHP Low false-crisis baseline

These suites live in StaySecure’s offline eval harness. They are how we decide whether a Rook minor is ready—not a public leaderboard of invented percentages.

What Rook does not claim

  • Rook does not certify an app as “secure”
  • Rook does not free-form rewrite your product logic without proof
  • Business-logic abuse and intentional admin behavior stay human-gated
  • Live production probing never runs unless you opt in