express-security-hardening

Community

Turn Express apps into production-grade security.

AuthorMomoDaviluke
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Express applications often ship with weak production security baselines, leading to JWT exposure, CSRF vulnerabilities, and inconsistent request validation.

Core Features & Use Cases

  • Migrate JWT storage from localStorage to httpOnly cookies with proper SameSite and CSRF considerations.
  • Enforce server-side input validation using Zod middleware to prevent malformed requests.
  • Harden HTTP security with Helmet production settings, rate limiting layers, and unified error handling.
  • Audit and monitor security-sensitive operations with structured logs and non-blocking writes.

Quick Start

Apply production-grade security hardening to your Express app by migrating JWT storage to httpOnly cookies, enabling CSRF protection, and configuring Zod validation, Helmet, and rate limiting.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: express-security-hardening
Download link: https://github.com/MomoDaviluke/star-citizen-promotion/archive/main.zip#express-security-hardening

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 510,000+ vetted skills library on demand.