Local-first security remediation

PreFlight: Real-time AI security remediation right in your CLI.

Catch unsafe AI-generated auth, billing, RLS, webhook, SSRF, and secret-handling changes before they hit production. Free gives you the offline AST safety layer. PreFlight Pro unlocks the premium Deep Reasoning Pipeline when the fix needs deeper architectural context.

Offline first
Solo $19/month
Invite-only beta
Zero-Retention Architecture: Your source code is processed in-memory and never stored on our servers or databases.
preflight terminal
$ preflight scan --fix
🔍 [PHASE 1] Running Offline Local AST Optimization Pass...
[LOCAL] AST scaffold applied for app/Dashboard.tsx
🚀 [PHASE 2] Handing Off Remaining Architectural Flaws to PreFlight Pro Deep Reasoning Engine...
[PRO] SQL fix generated via Pro Engine for lib/db.ts
- "SELECT * FROM users WHERE id = " + userId
+ ({ text: "SELECT * FROM users WHERE id = $1", values: [userId] })
Deep multi-file patch prepared for tenant-sync boundary
Phase 1

Local AST Layer

Instant, private, offline structural checks for credential leaks, server-only imports, and fast AST-safe updates.

  • Runs fully offline
  • Immediate structural fixes
  • No source upload during the local pass
Phase 2

PreFlight Pro Deep Reasoning Engine

Secure proxy-brokered architectural overhauls for the flaws the local AST pass cannot safely resolve on its own.

  • Multi-file vulnerability patching
  • Parametric SQL injection fixes
  • Auth, billing, tenant, webhook reasoning
Free vs Pro

Pay for deeper reasoning, not basic safety

The free engine handles offline AST scanning and standard structural remediations. Pro unlocks the premium Deep Reasoning Pipeline.

  • Free CLI remains useful by itself
  • Pro extends, not replaces, the local engine
  • Invite-only beta onboarding today
Pricing

Choose the path that matches your remediation depth: free local AST, solo Pro, or team rollout.

The free CLI stays useful on its own. Paid plans unlock the Deep Reasoning layer, secure proxy-backed fixes, and higher-touch onboarding. During beta, Solo and Teams access both start through the waitlist.

Free Tier

$0
Forever free

For developers who want a private local gate before AI-generated code lands in production.

  • Core AST scanning
  • Offline credential leak detection
  • Standard single-file syntax fixes
  • Open-source CLI workflow
View free version

Solo Founders

$19/month
Per founder / developer

For solo builders who want the premium Pro Engine path for SQL, auth, billing, and multi-file remediation.

Beta
  • Full PreFlight Pro reasoning integration
  • Secure proxy token management
  • Multi-file dependency patching
  • Invite-only beta access
Apply for Solo Beta

Teams

$49/seat/month
Per seat, per month

For engineering teams that need shared rollout, policy alignment, and premium support on top of the Pro engine.

  • Pro Engine reasoning for every seat
  • Shared onboarding and rollout
  • Prioritized support
  • Team beta waitlist
Join Teams Waitlist
Quick Start

Install once, authenticate once, then run deep remediation from any terminal.

Phase 1 stays local and private. Phase 2 only kicks in for the remaining SQL and architectural flaws that need the Pro Engine.

Install

1. Global Installation

npm install -g preflight-cli
PowerShell

2. Authenticate Pro Engine

$env:PREFLIGHT_PRO_KEY="PREFLIGHT-BETA-XXXXX"
Bash / macOS

2. Authenticate Pro Engine

export PREFLIGHT_PRO_KEY="PREFLIGHT-BETA-XXXXX"
Run

3. Run Deep Remediation

preflight scan ./your-project-dir --fix
⚡ Frictionless Workflow: PreFlight registers as a core system utility. You don't have to navigate to a specific installation folder or invoke complex script commands every time. Simply open any terminal, jump into a project, and run preflight scan . to optimize your codebase on the fly.