# Next.js Vulnerability Scanner with AI Agents

Scan your Next.js app with AI agents for exposed keys, public source maps, weak headers and known CVEs, then fix them in your code.

## Scan your Next.js app for security holes with AI agents.

AgentProof's Attack Agent tests your live Next.js app the way an attacker would, and its Defense Agent fixes what it finds in your code. **Start with a look-only scan**: enter your website below, with nothing to install.

## Your Next.js version decides which known flaws affect your app.

Next.js has shipped many security fixes, including the middleware bypass [CVE-2025-29927](https://nvd.nist.gov/vuln/detail/CVE-2025-29927) and React2Shell, [CVE-2025-55182](https://nvd.nist.gov/vuln/detail/CVE-2025-55182). In November 2026 the safe minimum is **15.5.28 on the 15 line or 16.4.1 on the 16 line**. Check yours in your project:

```
npm ls next
```

- [Read the Next.js security checklist](/blog/nextjs-security-checklist-cve-2025-29927/)

## What the agents check in a Next.js app.

- **Keys in the browser:** secrets put in `NEXT_PUBLIC_` variables end up in the JavaScript every visitor downloads.
- **Public files:** source maps, `/.env` and other files that should not be public.
- **Headers and cookies:** security headers, cookie settings and CORS.
- **Known flaws:** software versions your app shows, checked against published CVEs.
- **Access between users:** Route Handlers, API routes and pages that return another user's data. The full Attack Agent tests this on a verified website, signed in with test accounts you create.
- **Server Actions:** actions that trust input they should refuse, tested by the full Attack Agent.

## The Defense Agent fixes the problems in your Next.js code.

With access to your GitHub repository, or a copy of your code you upload, the Defense Agent writes each fix, such as a missing access check in a Route Handler or an upgrade to a patched Next.js version. **Each fix is a pull request your team reviews and merges**, or files you download. After a merged fix is live, the Attack Agent tries the same attack again.

## Questions teams ask about scanning a Next.js app.

### Does it scan my code or my live app?

Both. The Attack Agent tests your live app from the outside. With access to your code, the Defense Agent also reviews it and writes fixes.

### Do I need to install anything?

No. The look-only scan needs only your website's address. The full Attack Agent needs a website whose domain you verify with a DNS record or a small file.

### What does it cost?

The look-only scan is free and shows each problem's risk and a short title. Plans with both agents start at $20 a month for 10 agent hours.

## Plans start at $20 a month.

Both agents, as many websites as you want, and your whole team **at no extra cost**.

- [See plans](/pricing/)
