Antra
Security linter that catches data leaking across trust boundaries in Next.js
Project Overview
About This Project
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, using a schema snapshot of your data layer so it knows which fields are sensitive. Published on npm as @ferhattahar/antra-next.
The Challenge
In Next.js, data moves from the server to the browser in many places, and one unchecked value is enough to leak something private.
The Result
Finds where server data reaches the client without a check in Next.js code. Runs locally, in CI or on staged files, and reports as SARIF.
What it took
- What broke
- Early versions missed files, so values that crossed between modules were never traced.
- Known limit
- Cross-file tracing follows up to three imports to the boundary a value crosses.
Key Features
- Trust Boundary Detection
- Schema Aware Scanning
- Findings with Severity Levels
- Baselines and Suppressions
- Watch Mode and Auto Fix
- Full CLI with Docs Site
Technologies
TypeScript
Node.js
CLI
Static Analysis
Next.js
React Server Components
npm
Details
Live
Web Application
Creator
Sep 2026 - Oct 2026
Walkthrough






More work
All projects
Full Stack Engineer · Jan 2025 - May 2025
Akkadli
A finished platform, ready to deploy. I took part in building both the backend and the frontend, together with the team.

Full Stack Engineer · May 2025 - July 2025
Inlumya
Teachers upload recorded lessons and playlists. Students study from them online or on site. I built it from the Figma designs.
