├── .eslintrc.yaml ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── benchmark └── index.js ├── example └── app.js ├── index.js ├── lib ├── express │ ├── index.js │ └── index.spec.js ├── index.js ├── index.spec.js └── rules │ ├── index.js │ ├── sqlInjection.js │ └── xss.js ├── package.json └── test └── setup.js /.eslintrc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/.eslintrc.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/README.md -------------------------------------------------------------------------------- /benchmark/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/benchmark/index.js -------------------------------------------------------------------------------- /example/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/example/app.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib') -------------------------------------------------------------------------------- /lib/express/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/lib/express/index.js -------------------------------------------------------------------------------- /lib/express/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/lib/express/index.spec.js -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/lib/index.spec.js -------------------------------------------------------------------------------- /lib/rules/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/lib/rules/index.js -------------------------------------------------------------------------------- /lib/rules/sqlInjection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/lib/rules/sqlInjection.js -------------------------------------------------------------------------------- /lib/rules/xss.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/lib/rules/xss.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/package.json -------------------------------------------------------------------------------- /test/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RisingStack/protect/HEAD/test/setup.js --------------------------------------------------------------------------------