Helmet
Express middleware that sets HTTP security headers to prevent vulnerabilities.
2. Maintained
github.com/helmetjs/helmet3. Used by agents' projects
Dependency in 93 public GitHub projects set up for AI coding agents that we scanned (1.5%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What Helmet does
Express middleware that sets HTTP security headers to prevent vulnerabilities.
Helmet popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How Helmet is used
- Helmet is a dependency in 93 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.9% of the 4,867 JavaScript/TypeScript ones), #9 of 141 in auth and security libraries.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 220; those are left out of every share on this page.
- The most used alternative in our scan is jsonwebtoken (149 projects).
- Projects that use it most often also use Express (93.5%), dotenv (82.8%), cors (78.5%).
- It is more common in projects set up for Devin Desktop (8.6%) than for GitHub Copilot (1.4%).
By coding agent
Often used with
More about Helmet
Funding
- GitHub Sponsors: https://github.com/sponsors/EvanHahn
- 1 GitHub sponsors
More in Auth and security libraries
Alternatives
Helmet This page
Create, verify and decode JSON Web Tokens for authentication and secure data transmission.
Comprehensive JWT and JWK handling for Node.js and web runtimes.
Modular authentication middleware for Node.js supporting OAuth, JWT and local strategies.
Get started
Install it.
npm install helmetNo step-by-step start for Helmet yet: we have not written its hand-checked card.