Deploying Invicti Node.js IAST sensor
Invicti IAST makes use of the IAST Bridge. The IAST sensor must be able to communicate with iast.invicti.com to transmit data to the DAST scanning engine.
Before deploying Invicti IAST, note the list of supported servers and frameworks.
| Environment | 🔍 Supported Servers and Frameworks |
|---|---|
| NodeJS Runtime |
|
| Database Clients |
|
| Routers |
|
| Templating |
|
| Others |
|
To deploy Invicti IAST, you should remember that you need to invoke the sensor when launching the Node application.
Deploying Invicti IAST requires the following steps.
Step 1: Download Invicti IAST for your Target
The instructions to download the Invicti IAST file can be found in the Introduction to Invicti IAST document.
Step 2: Copy the Invicti IAST to the Target
For the purposes of this document, we create a dedicated folder inside your operating system's ROOT folder to hold the Invicti IAST file.
- Windows
- Linux
- Create a folder
C:\iastsensor\ - Copy the
node-iastsensor.tarfile intoC:\iastsensor\
- Create a folder "/iastsensor" with the following command:
mkdir /iastsensor/ - Use
cdto navigate to the folder which contains your downloaded Invicti IAST file and run the following command:cp node-iastsensor.tar /iastsensor/
Step 3: Launch your Node.js web application invoking the Invicti IAST
- Windows
- Linux
Use cd to navigate to the folder that contains your web application (where the "app.js" file resides) and run the following commands:
npm install \iastsensor\node-iastsensor.tar --no-savenpx node-iastsensor app.js
Use cd to navigate to the folder that contains your web application (where the "app.js" file resides) and run the following commands:
npm install /iastsensor/node-iastsensor.tar --no-savenpx node-iastsensor app.js
Uninstall Invicti IAST
- Windows
- Linux
- Navigate to the folder where the Invicti IAST sensor is installed and run this command:
npm remove node-iastsensor - Remove the
C:\iastsensor\node-iastsensor.tarfile and then remove theC:\iastsensorfolder
- Navigate to the folder where the Invicti IAST sensor is installed and run these commands:
npm remove node-iastsensorrm -rf /iastsensor
Although Invicti IAST sensor files are secured with a unique strong built-in password, it's recommended that the Invicti IAST sensor files are uninstalled and removed from the web application if they're no longer in use.
Need help?
Invicti Support team is ready to provide you with technical help. Go to Help Center