verify-security

Verify production security configurations for Helmet CSP, Next.js headers, and PermissionsGuard.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/junnv93/equipment_management_system --skill verify-security-junnv93
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: verify-security
Source: https://github.com/junnv93/equipment_management_system/tree/main/.claude/skills/verify-security
Command: npx skills add https://github.com/junnv93/equipment_management_system --skill verify-security-junnv93

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Production security configurations are often misconfigured or drift over time, exposing the system to common weaknesses. This skill helps teams verify that critical security controls are correctly implemented and consistently enforced across frontend and backend layers.

Core Features & Use Cases

  • Validate Helmet CSP in production to prevent unsafe-inline and unsafe-eval usage.
  • Verify Next.js Security Headers across the app to ensure six essential headers are present.
  • Enforce PermissionsGuard in production (DENY mode) and audit mode alignment.
  • Detect improper usage of @Public() on state-changing endpoints to minimize attack surface.
  • Confirm site-scoped data isolation with 4-parameter enforceSiteAccess and SiteScopeInterceptor patterns.
  • Use for pre-deploy checks, security audits, and post-change validations to maintain compliance.

Quick Start

Run the security verification against your production codebase to obtain a remediation plan.

Frequently Asked Questions about verify-security

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

FAQPage Schema
How do I verify Helmet CSP settings in production?

To verify Helmet CSP settings, validate that production configurations prevent unsafe-inline and unsafe-eval usage. This ensures frontend security controls are correctly enforced across the application to minimize attack surface exposure.

How do I check Next.js security headers before deployment?

Checking Next.js security headers involves verifying the presence of six essential security headers across your application. Use this validation as a pre-deploy check to ensure configurations are correct and maintain compliance before releasing to production.

What is site-scoped data isolation and how does enforceSiteAccess work?

Site-scoped data isolation restricts data access using a 4-parameter enforceSiteAccess signature and SiteScopeInterceptor patterns. This mechanism ensures proper isolation in production environments by enforcing strict access boundaries between different sites.

Why should PermissionsGuard run in DENY mode in production?

PermissionsGuard should run in DENY mode in production to enforce strict access controls and align with audit modes. Enforcing this mode prevents unauthorized state-changing endpoints and minimizes the system's overall attack surface.

How do I audit @Public() usage on state-changing endpoints?

Auditing @Public() usage detects improper application on state-changing endpoints to minimize attack surface. This process identifies exposed routes in your production codebase and generates a remediation plan to secure vulnerable configurations.

Can I use this security verification for post-change validations?

Yes, you can use security verification for post-change validations to maintain compliance. It validates production security configurations across frontend and backend layers, detecting configuration drift and providing remediation steps after code changes.