darkness-security
v3.0.1
Published
🔥 Ultimate All-in-One WAF for Node.js/Express. Bot Detection, Honeypot Redirect, XSS/SQLi Sanitization, Rate Limiting, CSRF & Hardened Headers.
Maintainers
Readme
🔥 darkness-security
The Ultimate, Enterprise-Grade Web Application Firewall (WAF) for Node.js / Express.
Effortlessly secure your Web Applications against hackers, bad bots, and OWASP Top 10 security risks with just a single line of code.
⚡ Highlights
- 🚨 Honeypot Trap & Redirect: Instantly detects attackers attempting SQLi, NoSQLi, RCE, or XSS and quietly redirects them to a safe landing zone.
- 🤖 Smart Bot Mitigation: Blocks automated web crawlers, scrapers, and malicious scripts before they consume your server resources.
- 🛡️ Deep Input Sanitization: Automatically cleans
req.bodyandreq.queryto prevent Cross-Site Scripting (XSS) payload executions. - ⏱️ Integrated Rate Limiting: Prevents Brute-Force and Denial of Service (DoS) attacks with customizable request throttling.
- 🔒 CSRF Shield: Protects your app's state-changing endpoints with robust CSRF token verification.
- ⚙️ Hardened HTTP Headers: Pre-configured with secure default headers powered by
helmet. - 🧩 Modular IPS Engine: Automatically loads optional security drivers (
wolf-runtime,k9shield, etc.) if available in your dependencies.
📦 Installation
Install darkness-security via npm:
npm install darkness-security