Site icon API Security Blog

Faraday – Open Source Vulnerability Management Platform

[![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA55xh0Xiu6p6gyjoxB2a9gTFO_xeqX60bFMfdoCi-rPQ-8jxUKp1hC9qjuK2NAXF9ucUAgy2_y1uRJktfO6SR3CC2CGGI8jWNScqH9rApLKrAtiuPFCOH_nTA4iuQyhfGPaC2wZEQCpOTRUXgJHYbgqtWxBmXU657UuyzUEOI4QO4KTxFzj_s1nDleA/w640-h306/faraday_4_manage.png)]()

Security has two difficult tasks: designing smart ways of getting new information, and keeping track of findings to improve remediation efforts. With Faraday, you may focus on discovering [vulnerabilities]( “vulnerabilities” ) while we help you with the rest. Just use it in your terminal and get your work organized on the run. Faraday was made to let you take advantage of the available tools in the community in a truly multiuser way.

Faraday aggregates and normalizes the data you load, allowing exploring it into different visualizations that are useful to managers and analysts alike.

[![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6v2ndCsphtfIrWgixkdX9xcoxAiIFYTIZ0VG-lX1oMwaBVaYMgQS654OLC9WIrKreZW1s69NMYSsaf8nddiajmYg6Kwg5zgu_d4bUGxk9sqn45fy7VMvFgvgpt2u75HeyC455XE1OzyL6cHh4H771_yaaJBYpDi4bi0Osvc4GZ64_dxfbHSPPenCSBA/w640-h304/faraday_5_dashboard.png)]()

To read about the latest features check out the [release notes]( “release notes” )!

## Install

### Docker-compose

The easiest way to get faraday up and running is using our docker-compose

$ wget https://raw.githubusercontent.com/infobyte/faraday/master/docker-compose.yaml
$ docker-compose up

If you want to customize, you can find an example config over here [Link]( “Link” )

### Docker

You need to have a [Postgres]( “Postgres” ) running first.

$ docker run
-v $HOME/.faraday:/home/faraday/.faraday
-p 5985:5985
-e PGSQL_USER=’postgres_user’
-e PGSQL_HOST=’postgres_ip’
-e PGSQL_PASSWD=’postgres_password’
-e PGSQL_DBNAME=’postgres_db_name’
faradaysec/faraday:latest

### PyPi

$ pip3 install faradaysec
$ faraday-manage initdb
$ faraday-server

### Binary Packages (Debian/RPM)

You can find the installers on our [releases page]( “releases page” )

$ sudo apt install faraday-server_amd64.deb
# Add your user to the faraday group
$ faraday-manage initdb
$ sudo systemctl start faraday-server

Add your user to the `faraday` group and then run

### Source

If you want to run directly from this repo, this is the recommended way:

$ pip3 install virtualenv
$ virtualenv faraday_venv
$ source faraday_venv/bin/activate
$ git clone some-email@example.com:infobyte/faraday.git
$ pip3 install .
$ faraday-manage initdb
$ faraday-server

Check out our documentation for detailed information on how to install Faraday in all of our supported platforms

For more information about the installation, check out our [Installation Wiki]( “Installation Wiki” ).

In your browser now you can go to and login with “faraday” as username, and the password given by the installation process

## Getting Started

Learn about Faraday holistic approach and rethink vulnerability management.

* [Centralize your vulnerability data]( “Centralize your vulnerability data” )
* [Automate the scanners you need]( “Automate the scanners you need” )

### Integrating faraday in your CI/CD

**Setup Bandit and [OWASP ZAP]( “OWASP ZAP” ) in your pipeline**

* [GitHub]( “GitHub” ) [PDF]
* [Jenkins]( “Jenkins” ) [PDF]
* [TravisCI ]( “TravisCI” ) [PDF]

**Setup Bandit, OWASP ZAP and [SonarQube]( “SonarQube” ) in your pipeline**

* [Gitlab]( “Gitlab” ) [PDF]

## Faraday Cli

Faraday-cli is our [command line]( “command line” ) client, providing easy access to the console tools, work in faraday directly from the terminal!

This is a great way to [automate scans]( “automate scans” ), integrate it to [CI/CD pipeline]( “CI/CD pipeline” ) or just get [metrics]( “metrics” ) from a workspace

$ pip3 install faraday-cli

Check our [faraday-cli]( “faraday-cli” ) repo

Check out the documentation [here]( “here” ).

[![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd2Tk9Oa7EKNNxFY-XnrAqPD-nVrEf2HJU3j1iO0XYa1MXu8vwDtxTxMLYFOVfOmL24-C7evE-X5Tc67l0ZoV_zGg56j9QEarIfSoGzI1wRJDIMQaTWqpELnzhz1jCdHwtaH54BV9nLOikxeVLbZtZqfk4nMpcktX5P6WZ5oveq6uTbZTAn-zrb5uAlA/w640-h404/faraday_6_general.gif)]()

## Faraday Agents

[Faraday Agents Dispatcher]( “Faraday Agents Dispatcher” ) is a tool that gives [Faraday]( “Faraday” ) the ability to run scanners or tools remotely from the platform and get the results.

## Plugins

Connect you favorite tools through our [plugins]( “plugins” ). Right now there are more than [80+ supported tools]( “80+ supported tools” ), among which you will find:

[![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfJJycRYQDE_8hmIYnicvWgSnm434YqjMwThB700YE5FM1V0AzXDO9uAGGU-xWypqSHNY0v_suReRAkGQ3XcdhL57vBTARmvI1aOMBOSXhn-QJv1tXFu7wkuNpYN8gDPSU5kmT1yAkocTennX6TpOgChN2wG2T1vBN61kjerKISHLZxkl8YzwUQ4Hp7g/w640-h300/faraday_7_plugins.jpeg)]()

Missing your favorite one? [Create a Pull Request]( “Create a Pull Request” )!

There are two Plugin types:

**Console** plugins which interpret the output of the tools you execute.

$ faraday-cli tool run “nmap www.exampledomain.com”
💻 Processing Nmap command
Starting Nmap 7.80 ( https://nmap.org ) at 2021-02-22 14:13 -03
Nmap scan report for www.exampledomain.com (10.196.205.130)
Host is up (0.17s latency).
rDNS record for 10.196.205.130: 10.196.205.130.bc.example.com
Not shown: 996 filtered ports
PORT STATE SERVICE
80/tcp open http
443/tcp open https
2222/tcp open EtherNetIP-1
3306/tcp closed mysql
Nmap done: 1 IP address (1 host up) scanned in 11.12 seconds
⬆ Sending data to workspace: test
✔ Done

**Report** plugins which allows you to import previously generated artifacts like XMLs, JSONs.

faraday-cli tool report burp.xml

Creating custom plugins is super easy, [Read more about Plugins]( “Read more about Plugins” ).

## API

You can access directly to our API, check out the documentation [here]( “here” ).

## Links

* Homepage: [faradaysec.com]( “faradaysec.com” )
* Documentation: [Faraday Docs]( “Faraday Docs” )
* Download: [Download .deb/.rpm from releases page]( “Download .deb/.rpm from releases page” )
* Issue tracker and feedback: [Github issue tracker]( “Github issue tracker” )
* Frequently Asked Questions: [FaradaySEC FAQ]( “FaradaySEC FAQ” )
* Twitter: [@faradaysec]( “@faradaysec” )
* Try one of our [Demos]( “Demos” )

**[Download Faraday]( “Download Faraday” )**Read More

Exit mobile version