security-nextjs

Community

Secure your Next.js applications.

AuthorIgorWarzocha
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps identify and mitigate common security vulnerabilities in Next.js applications, protecting against data leaks, unauthorized access, and other risks.

Core Features & Use Cases

  • Environment Variable Auditing: Detects exposed secrets via NEXT_PUBLIC_ prefixes and next.config.js env settings.
  • Server Action & API Route Security: Checks for missing authentication and authorization.
  • Middleware Configuration: Reviews middleware.ts for proper route matching and auth enforcement.
  • Use Case: Before deploying a new Next.js feature, run this Skill to automatically scan for common security misconfigurations like accidentally exposing API keys to the client.

Quick Start

Run the security-nextjs skill to scan the current directory for Next.js security vulnerabilities.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: security-nextjs
Download link: https://github.com/IgorWarzocha/Opencode-Workflows/archive/main.zip#security-nextjs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.