Skip to content
News

AI insights

Intuit & OpenAI Open-Source NightFalcon: 9-Phase Agentic Security Review

Co-built by Intuit and OpenAI under Apache 2.0, NightFalcon runs a 9-phase security audit with Devil's Advocate debate and PoC checks in Claude Code, Codex, and Cursor.

Intuit & OpenAI Open-Source NightFalcon: 9-Phase Agentic Security Review

Q. How is NightFalcon different from traditional SAST scanners or standard AI code review? Open-sourced under Apache 2.0 on December 3, 2026 by Intuit and OpenAI's cybersecurity teams, NightFalcon is an agentic security-review harness that traces cross-service business-workflow flaws and authorization gaps across multiple repositories in nine enforced phases (Phase 0–8). It runs inside Claude Code, OpenAI Codex, or Cursor, and uses blind Devil's Advocate debate and PoC validation to output Markdown, JSON, and SARIF reports.

⚠️ Accuracy guardrail: This post reflects only facts verified directly from Intuit's official announcement (December 3, 2026) and the intuit/NightFalcon GitHub repository as of December 4, 2026. Actual detection quality, refusal rates, and token costs depend on the underlying model configured in your client and any organization context supplied. Sub-guide options inside docs/ and exact runtime or token benchmarks on large monorepos were not published in the primary sources and remain unverified.

30-second summary

  • Release & license: Co-developed by Intuit and OpenAI cybersecurity teams, open-sourced under Apache 2.0 on December 3, 2026 (intuit/NightFalcon)
  • Supported clients: Claude Code (/nightfalcon:nightfalcon), Codex ($nightfalcon), Cursor (/nightfalcon)
  • Core 9 phases: Checkout repos → map attack surface & org policy → trace cross-repo data flows → score P0–P4 → blind Devil's Advocate debate → check advisories → generate & blind-review PoCs → per-repo & executive SARIF/HTML reports
  • Intuit internal results: Among closed NightFalcon findings, 87% were confirmed as real vulnerabilities and fixed, led by authorization gaps (~30%), excessive permissions (~20%), and missing authentication (~14%).

Why cross-service business logic flaws slip past normal tools

Traditional SAST tools work well inside a single function or file, yet lose context the moment a request crosses service boundaries. Intuit's blog illustrates this with a reimbursement workflow: Service A records requests, Service B approves them, and Service C issues payments. If an authenticated user modifies someone else's request from $50 to $500 without resetting its approved status, Service C trusts the stale flag and sends $500.

In isolation, each service appears to check permissions properly. Catching the flaw requires following the request across repositories and verifying that approval stays bound to the original amount. NightFalcon builds a cross-repository data-flow topology and optionally ingests internal security policies and exceptions (_graph.json and Markdown notes under NIGHTFALCON_CONTEXT_ROOT) to evaluate whether business invariants hold end to end.

intuit/NightFalcon GitHub repository overview

Advertisement

Inside the 9-phase (Phase 0–8) security review pipeline

The NightFalcon orchestrator enforces phase ordering through state.json and runs gate checks before and after every stage.

Phase Name What it does
Phase 0 Initialize & Clone Checks out target repos under sourcecode/ and pins commit SHAs (aborts on clone failure)
Phase 1 Scope & Inventory Maps attack surfaces, trust boundaries, dependencies, and optional organization context
Phase 2 Trace Data Flows Tracks untrusted inputs to security-sensitive sinks across repositories
Phase 3 Identify & Score Applies org rules, creates candidate findings, and assigns P0–P4 tiers with CVSS v4.0
Phase 4 Challenge Findings Sends eligible P0, P1, and P2 candidates to a blind Devil's Advocate group to DISMISS or confirm
Phase 5 Validate Risk Checks eligible dependencies against public advisories and versioned static pattern references
Phase 6 Generate PoC Attempts executable PoCs (.sh, .py, .browser.json) for P0–P2 and records two blind-reviewer verdicts
Phase 7 Per-Repo Reports Writes findings-<DATE>.{md,json,sarif} and receipt-<DATE>.json per repository
Phase 8 Executive Report Produces cross-repo summary, interactive HTML (executive-report-<DATE>.html), and aggregate SARIF

NightFalcon 9-phase security review and client entry points diagram

Enforcing Phase 4 (adversarial debate) and Phase 6 (PoC generation with two blind reviewers) keeps noise down before engineers spend time triaging. According to Intuit, 87% of closed NightFalcon findings were confirmed as real vulnerabilities and fixed.

Installing and running in Claude Code, Codex, and Cursor

Clone the repository first (git clone https://github.com/intuit/nightfalcon.git ~/NightFalcon), then wire the integration for your preferred coding agent client.

# 1) Create a clean workspace directory (artifacts and sourcecode/ live here)
mkdir ~/nightfalcon-review && cd ~/nightfalcon-review

# 2) (Optional) Point to your organization's policy & exception context
export NIGHTFALCON_CONTEXT_ROOT=/path/to/your/organization_context

Here is how the three clients differ in setup and invocation:

Client Install path Required configuration Entry point
Claude Code /plugin marketplace add ~/NightFalcon/claude → /plugin install nightfalcon@nightfalcon-local Run /reload-plugins if prompted /nightfalcon:nightfalcon
OpenAI Codex codex plugin marketplace add ~/NightFalcon/codex → codex plugin add nightfalcon@nightfalcon-open Set max_depth >= 5 and max_threads = 8 in config.toml (values under 3 blocked); trust /hooks $nightfalcon
Cursor Copy .cursor/, phases/, scripts/, references/ per workspace Run chmod +x .cursor/hooks/*.sh scripts/*.sh and trust project hooks /nightfalcon

NightFalcon Orchestrator workflow and context setup

Once invoked, provide repository URLs (HTTPS, SSH, or owner/repo). When the run completes, open output/executive-report-<DATE>.html in a browser to inspect the cross-repository map and individual findings.

Three operational limits to weigh before adoption

Q. Can a single NightFalcon run replace a security audit or penetration test? No. Both Intuit and OpenAI explicitly state that LLM-driven analysis is probabilistic and that a single run does not constitute a complete security assessment or penetration test.

  1. Not reachable in practice: NightFalcon inspects only the repositories you supply. If an API gateway, WAF, or upstream auth service in an excluded repository blocks a path in production, NightFalcon may still flag it.
  2. False positives and misses: Rejected candidates appear as DISMISSED alongside NEEDS-REVIEW items. The README recommends running NightFalcon three to four times for higher confidence and validating against source code and PoCs.
  3. Model refusals: NightFalcon uses whatever model is active in your client and never switches models automatically; models that frequently refuse security-analysis prompts can stall the workflow.

Whereas Grafana agento11y focuses on guarding local coding agent execution and Claude Security plugin targets GitHub Actions PR checks, NightFalcon fills a distinct niche: deep, multi-repository auditing of business-logic and authorization boundaries.

Toris's take

  • Best fit: Teams running two or more interconnected services (such as ordering, approval, and payout) that already use Claude Code or Codex and want SARIF-compatible pre-release audits for authorization bypasses and maker-checker gaps.
  • When to skip: Single-repo static sites or small prototypes where spawning multi-phase subagent debates and PoC checks costs more in tokens and time than standard SAST or lightweight PR review.
  • Rollout tip: Start with two or three core repositories tied to payments, approvals, or role changes, and supply a minimal Markdown policy tree in NIGHTFALCON_CONTEXT_ROOT before scaling across an entire organization.

Sources

Advertisement