@shieldwall/express-middleware 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -0
- package/package.json +7 -2
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# @shieldwall/express-middleware
|
|
2
|
+
|
|
3
|
+
> 🛡️ Official ShieldWall security middleware for Express.js
|
|
4
|
+
|
|
5
|
+
Protect your Express application with real-time threat detection powered by ShieldWall — bot detection, SQL injection, XSS, rate limiting, IP blocking, and more.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
npm install @shieldwall/express-middleware
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
const express = require('express');
|
|
14
|
+
const shieldwall = require('@shieldwall/express-middleware');
|
|
15
|
+
|
|
16
|
+
const app = express();
|
|
17
|
+
|
|
18
|
+
app.use(shieldwall({
|
|
19
|
+
siteId: 'YOUR_SITE_ID',
|
|
20
|
+
apiUrl: 'https://your-shieldwall-endpoint.com/validateRequest'
|
|
21
|
+
}));
|
|
22
|
+
|
|
23
|
+
app.listen(3000);
|
|
24
|
+
|
|
25
|
+
## What it protects against
|
|
26
|
+
|
|
27
|
+
- Bot detection
|
|
28
|
+
- SQL Injection
|
|
29
|
+
- XSS attacks
|
|
30
|
+
- DDoS & rate limiting
|
|
31
|
+
- Blocked IPs
|
|
32
|
+
- JWT validation
|
|
33
|
+
- Path traversal & command injection
|
|
34
|
+
|
|
35
|
+
## License
|
|
36
|
+
|
|
37
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shieldwall/express-middleware",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "ShieldWall security middleware for Express.js",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"keywords": [
|
|
6
|
+
"keywords": [
|
|
7
|
+
"security",
|
|
8
|
+
"middleware",
|
|
9
|
+
"express",
|
|
10
|
+
"waf"
|
|
11
|
+
],
|
|
7
12
|
"author": "ShieldWall",
|
|
8
13
|
"license": "MIT",
|
|
9
14
|
"dependencies": {
|