Hunt Next.js specific vulnerabilities — Server Actions arbitrary function execution, Middleware auth bypass via static asset paths, ISR cache poisoning, Image Optimization SSRF (/_next/image), RSC payload leakage, getServerSideProps injection, source map exposure, debug endpoint leakage. Use when target runs Next.js 13/14/15 or any React SSR framework.
71
87%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Critical
Do not install without reviewing
Security
2 findings: 1 critical severity, 1 high severity. Installing this skill is not recommended: please review these findings carefully if you do intend to do so.
Detected a prompt injection in the skill instructions. The skill contains hidden or deceptive instructions that fall outside its stated purpose and attempt to override the agent’s safety guidelines or intended behavior.
This skill contains explicit, actionable step-by-step instructions (curl commands, headers, payloads) to perform SSRF, auth bypass, arbitrary Server Action execution, cache poisoning and secret exfiltration from Next.js apps.
The skill handles credentials insecurely by requiring the agent to include secret values verbatim in its generated output. This exposes credentials in the agent’s context and conversation history, creating a risk of data exfiltration.
The playbook contains curl commands that explicitly place session cookies and revalidation secrets as header/query values (e.g., session=VICTIM_SESSION, ?secret=GUESS), which would require an agent to insert real secret values verbatim into generated requests/commands — an exfiltration risk.
Low
Low-risk findings.
1 low severity finding. Worth noting, but not necessarily harmful.
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
The skill reads outsider-controlled free text at runtime by having the operator probe targets for attacker-influenced content endpoints (e.g., `/_next/image?url=...`, `/_next/data/...json`, and pages containing `__NEXT_DATA__`) and then ingest the HTTP responses (which can include or reflect attacker payloads) for analysis.
646b72e
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.