node-soc-lite
- A security middleware for node.js. app to Detect and generate report in your dashboard
How do I get set up?
with npm
npm install node-soc-lite --save
or with Yarn
yarn add node-soc-lite
After doing those things "The node-soc-lite is successfully install" the message will be show in your terminal.
app.js
or server.js
file.
Add those lines in your -
Open
server.js
orapp.js
file. Calling our plugin function immediate after express call. Ex:var app = ;var nodeSoc = ; -
Configure the middleware function:
app;
threat.ini
in our project directory
Create file -
add following lines
PRODUCT_KEY=<your_product_ky>API_KEY=<your_api_key>
restart the app.
Features
Monitoring request data and generate reports on following areas -
1.SQL injection
2.XSS (Cross Site Scripting)