NodejsSecurityChecking provide a basic security checking of Node.js. It is a entry level Security project and PLEASE DO NOT rely on it.
The project creator have no responsibility if the project have any bug or it cannot protect your server.
In Node.js, you can require security.js, here is the example:
var Security = require('./NodejsSecurityChecking/security');
...
var matching_json = {...}; //The input should match the format of matching_json
var output = Security.checking(input_json,checking_json_array,callback);
Checking | State |
---|---|
JSON Matching | ✓ |
Mongodb Injection Checking | ✓ |
XSS Checking | ✓ |
CSRF Checking | ✓ |
Authentication Checking | ✓ |
From a Student of Information Engineering Department, The Chinese University of Hong Kong.