Antra
How it worksStar2Get Started
Star2
Antra
How it worksStar2Get Started
Star2
Antra
How it worksStar2Get Started
Star2
Developer security scanner

Catch security issues before they cross the boundary.

Antra is a static analysis security linter for React Server Components and the Next.js App Router. It finds the exact point where a value crosses a trust boundary without validation.

Start ScanningRead the Docs
Local scan
cli
~/projects/checkout-appbash
$ antra scan
antra scan
✓ Detect framework nextjs-app-router 0.12s
✓ Load config and snapshot antra.config.json 0.03s
✓ Parse project 989 files 17.30s
✓ Classify boundaries 12 client 0.41s
✓ Link render graph 412 edges 0.05s
✓ Run rules BG-001, BG-002, BG-003, BG-004 1.20s
✓ Record findings 0.01s
project ~/projects/checkout-app
framework nextjs-app-router
rules BG-001, BG-002, BG-003, BG-004
duration 19.1s
taint sources 5 sensitive of 558 schema field(s)
files scanned 989
client boundaries 12
✖ 2 finding(s) [BG-001 ×2]
Before you push

What if you caught it before you pushed?

A value that crosses a trust boundary costs minutes to fix while the file is still open in your editor. The same crossing after release means an incident review and a deploy under pressure. Antra runs where the code is written, so the cheapest fix is also the first one available.

01
Write Code
02
Find Issues
03
Fix
04
Ship Safely
How it works

Security checks, from code to production.

01
Scan

Parse the project into syntax trees and classify every file's boundary role.

02
Detect

Trace concrete values across React Flight, Server Actions, and route handlers.

03
Understand

Antra Studio shows the path a value took, from origin to the crossing that fired.

04
Fix

Insert a reasoned suppression, or change the code and let `antra scan` confirm the fix.

Checks

What Antra actually looks for.

Antra is a static analysis security linter. Every check below runs on your source, locally: a scan makes no network calls and no code leaves the machine.

01
RSC / Server-Client boundary crossings

Detects values passed from Server Components into Client Components through the React Flight payload.

02
Schema-aware sensitive-field detection

Reads your schema to know which fields are sensitive, with providers for Prisma, Zod, Supabase, OpenAPI, and Drizzle.

03
Taint tracking

Follows a value from its source through assignments, function returns, component props and up to three imports to the boundary it crosses.

04
Sanitizer-aware suppression

Recognizes the sanitizers you already use and stays quiet when a value has been validated.

Scope

What it does, and what it does not.

A security tool is only useful if you know where it stops. Antra is deliberately narrow: it looks at how values move across boundaries in your own code.

Does
  • +Flag values that cross a trust boundary without validation
  • +Read sensitive-field names from your own schema providers
  • +Trace taint from a source to the crossing it reaches
  • +Respect sanitizers and suppressions you have already written
  • +Scan your source with no network access
Does not
  • −Scan your dependencies for published advisories
  • −Audit infrastructure, Docker, or Kubernetes manifests
  • −Detect leaked credentials or committed secrets
  • −Replace a runtime application firewall or a penetration test
Two severities, not five

Findings are error or warning. Nothing in between, because a level nobody agrees on is a level nobody acts on.

Workflow

Fits the pipeline you already have.

Antra runs as a CLI step. There is nothing to host and nothing to install on a server, so a GitHub Action, a generic CI job, or a pre-commit hook all work the same way.

01
Install

Add Antra as a dev dependency and run `antra init` to write a config for your project.

02
Run

`antra scan` reports findings in the terminal, as JSON, or as SARIF for your code host.

03
Gate

`--fail-on-violation` turns a scan into a non-zero exit code your pipeline can block on.

04
Review

`antra studio` opens the graph view for triage when a finding needs human judgement.

Run one scan. See what crosses.

Antra is local, static, and fast. Point it at your App Router project and read the first report in a few minutes.

Get StartedView on GitHub
Antra

Catch security issues before they cross the boundary.

How it worksChecksDocumentationGitHub
© 2026 AntraMIT LicenseBack to top