hunt-nextjs

Validates Next.js and React SSR applications for exposed data, server actions, and known CVEs.

10|3|Updated Aug 10, 2026
One-click install
npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill hunt-nextjs-baiqigo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-nextjs
Source: https://github.com/baiqigo/baiqi-redteam-lab/tree/main/.agents/skills/hunt-nextjs
Command: npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill hunt-nextjs-baiqigo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Security testers assessing Next.js/React SSR applications often produce false positives from framework banners or stale version hints, or accidentally cross authorization boundaries. This Skill provides an evidence-gated workflow that confirms the build, routes, data requests, caching, and version before validating public data exposure, server actions, and known advisories. ## Core Features & Use Cases - Framework Fingerprinting: Confirms Next.js build and version signals from real pages and network traffic, recording SSR/ISR/cache behavior, route handlers, server actions, middleware, and identity state. - Evidence-Gated Validation: Enforces a baseline → single-variable probe → post-baseline → oracle → evidence loop, treating WAF blocks, captchas, and scanner hits as INCONCLUSIVE rather than findings. - Safe CVE Checking: Performs version and exposure applicability checks only, explicitly prohibiting cache poisoning, server action exploitation, and RCE payloads. - Use Case: During an authorized bug bounty engagement against a Next.js application, use this Skill to verify whether a suspected server action or cache misconfiguration is a real, reproducible boundary violation before reporting it. ## Quick Start Use the hunt-nextjs skill to plan an evidence-gated, authorized validation of the Next.js target within my declared scope.

Frequently Asked Questions about hunt-nextjs

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

FAQPage Schema
How do I test a Next.js application for security issues?

Start by confirming the Next.js build and version from real pages and network traffic, then record SSR/ISR/cache behavior, route handlers, and server actions. Validate only within authorized scope using single-variable probes compared against a baseline, and treat scanner hits or WAF blocks as inconclusive.

How to verify Next.js server action vulnerabilities safely?

Confirm the server action exists from real network traffic rather than client-side React code, then test only with your own accounts and objects. Never attempt server action writes or exploitation; the skill stops immediately on any write operation or irreversible side effect.

Does this skill exploit Next.js CVEs like cache poisoning?

No. CVE handling is limited to version and exposure applicability checks against official advisory conditions. Cache poisoning, server action exploitation, and RCE payloads are explicit stop conditions, and suspected cache issues are routed to a dedicated cache-testing workflow.

Why are framework banners not valid Next.js findings?

RSC text, framework banners, and historical version hints do not prove a vulnerability because they lack a reproducible server-side boundary violation. A valid finding requires repeatable unexpected behavior against your own identity, or confirmed version match with official affected conditions.

What are the limitations of evidence-gated Next.js testing?

The workflow requires pre-declared authorization, locked scope, and an established baseline before any probing. It cannot proceed on shared caches, third-party content, or shared user data, and inconclusive signals like captchas or timeouts must not be reported as vulnerabilities.