nextjs-security

Plan and execute Next.js security testing across App Router, RSC, and Server Actions using httpx, ffuf, nuclei, and curl.

6|1|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/narlyseorg/superhackers --skill nextjs-security-narlyseorg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nextjs-security
Source: https://github.com/narlyseorg/superhackers/tree/main/skills/nextjs-security
Command: npx skills add https://github.com/narlyseorg/superhackers --skill nextjs-security-narlyseorg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Next.js security testing across App Router, RSC, and Server Actions to identify misconfigurations and vulnerable patterns early in the development lifecycle.

Core Features & Use Cases

  • Reconnaissance and endpoint discovery for Next.js apps.
  • Testing Server Actions, middleware, data leakage, and route handlers.
  • Guidance for deployment misconfigurations and best practices in security testing.

Quick Start

Initiate a guided Next.js security assessment against the target app using the defined toolchain and authorization context.

Frequently Asked Questions about nextjs-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform security testing on Next.js App Router and Server Actions?

Next.js security testing involves reconnaissance and endpoint discovery to identify misconfigurations across App Router, RSC, and Server Actions. You can execute a comprehensive assessment using a toolchain of httpx, ffuf, nuclei, and curl to check for data leakage and middleware behavior.

What security misconfigurations should I check for in Next.js deployments?

Next.js deployments often suffer from route handler vulnerabilities, middleware bypasses, and data leakage. A thorough security testing workflow checks for deployment misconfigurations on runtimes like Vercel, validating server action endpoints and ensuring proper data exposure controls.

Can I use nuclei and ffuf for Next.js pentest enumeration?

Yes, nuclei and ffuf are part of the defined toolchain for Next.js pentest enumeration. They are used alongside httpx and curl to perform reconnaissance, discover endpoints, and validate output with deterministic execution protocols including timeout handling and retry logic.

Does this Next.js security workflow require pre-authorization and scope definitions?

Yes, a guided Next.js security assessment requires pre-authorization and scope guidance before testing. Establishing clear boundaries ensures the deterministic execution protocol safely probes server actions and route handlers without exceeding permitted testing limits.

What is the best way to test Next.js Server Actions for vulnerabilities?

The best way to test Next.js Server Actions is using a structured security testing workflow that applies reconnaissance and endpoint discovery. This involves probing the App Router and RSC architecture with curl and httpx to identify vulnerable patterns and data exposure.