CodeBrowser / npm / nuxt-security
nuxt-security@2.6.0
// 🛡️ Security Module for Nuxt based on HTTP Headers and Middleware
$ npm install nuxt-security
downloads/wk
148,467
license
MIT
version
2.6.0
published
May 12, 2026
What is nuxt-security?
Nuxt-security is a module that adds security features to Nuxt applications through HTTP headers and middleware, protecting against common web vulnerabilities like XSS, CSRF, and other OWASP threats. It provides built-in protections including content security policies, CORS configuration, rate limiting, request size limits, and basic authentication. Developers use it to quickly implement security best practices without manually configuring each protection mechanism.
Keywords
#nuxt #vue #security #owasp #helmet #basic-auth #rate-limit #xss #cors #request-size-limit #allowed-http-methods #csrf #content-security-policy
Maintainers
baroshem, vejja