Next.js Security Scan

Scan Next.js and TypeScript/JavaScript projects for security vulnerabilities.

131|36|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/sugarforever/01coder-agent-skills --skill next-js-security-scan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Next.js Security Scan
Source: https://github.com/sugarforever/01coder-agent-skills/tree/main/skills/nextjs-security-scan
Command: npx skills add https://github.com/sugarforever/01coder-agent-skills --skill next-js-security-scan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dompurify, zod, express-mongo-sanitize, validator, sqlstring, jose, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automatically scans Next.js and TypeScript/JavaScript projects for a wide range of security vulnerabilities, helping developers identify and fix critical issues before they can be exploited.

Core Features & Use Cases

  • Comprehensive Scanning: Detects OWASP Top 10 vulnerabilities, XSS, injection flaws, authentication issues, hardcoded secrets, and Next.js-specific problems.
  • Dependency Auditing: Checks for known vulnerabilities in project dependencies.
  • Actionable Reports: Provides clear descriptions, file locations, code snippets, risk assessments, and remediation recommendations for each finding.
  • Use Case: Before deploying a new Next.js application, run this Skill to ensure it adheres to security best practices and is free from common vulnerabilities.

Quick Start

Run a full security scan on the current project directory.

Frequently Asked Questions about Next.js Security Scan

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

FAQPage Schema
How do I scan my Next.js app for OWASP Top 10 vulnerabilities?

Scanning Next.js apps for OWASP Top 10 vulnerabilities requires analyzing your TypeScript or JavaScript project directory. This process detects XSS, injection flaws, and authentication issues, generating a security report with risk assessments and code locations.

Can I audit Next.js dependencies for known CVEs?

Yes, you can audit Next.js dependencies for known CVEs. The security scan checks project dependencies against known vulnerability databases, identifies compromised packages, and includes them in the actionable security report with remediation guidance.

What is the best way to find hardcoded secrets in a TypeScript project?

The best way to find hardcoded secrets in a TypeScript project is using an automated security scanner. It analyzes the codebase to detect exposed authentication credentials, API keys, and sensitive data embedded in the source code, providing specific file locations.

Does this security scanner detect Next.js-specific vulnerabilities?

Yes, the security scanner detects Next.js-specific vulnerabilities. It performs a comprehensive analysis tailored to the framework, identifying unique configuration issues and rendering risks alongside standard web vulnerabilities, providing targeted remediation steps.

How do I check my JavaScript project for XSS and injection flaws before deployment?

To check a JavaScript project for XSS and injection flaws before deployment, run a full security scan on the project directory. This identifies code-level risks and dependency vulnerabilities, ensuring the application adheres to security best practices.