Skip to content

threatequation/node-soc-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-soc-lite

npm version license

  • 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.

Add those lines in your app.js or server.js file.

  1. Open server.js or app.js file. Calling our plugin function immediate after express call. Ex:

    var app = express();
    var nodeSoc = require("node-soc-lite");
  2. Configure the middleware function:

    app.use(function(req, res, next){
        nodeSoc.ThreatEquationMiddleware(req, res);
        next();
    });

Create file threat.ini in our project directory

  1. 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)

Who do I talk to?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •