OpenRASP
A CLI tool for OpenRASP JavaScript plugins development.
Installation
Prerequisites: Node.js (>=4.x) with npm version 3+
$ npm install -g openrasp
Usage
Check the ability and syntax of the plugin:
$ Usage: rasp-check Options: -d, --
Example:
$ rasp check -d ~/openrasp/agent/java/engine/src/test/resources/pluginUnitTest/unitCases/ -p ~/openrasp/plugins/official/plugin.js[offical] OpenRASP official plugin: Initialized, version 2018-1010-1600 ✓ sql.json Simple userinput match test: 9ms ✓ sql.json SQL injection with hex values: 1ms ✓ sql.json SQL injection with datetime methods: 2ms ✓ ssrf.json SSRF userinput match test: 2ms ✓ ssrf.json SSRF false positive test: 1ms 5 passing