Installation
You can installed pre-built binaries of VulnAPI on Linux, Windows, and MacOS.
Below are the instructions to install VulnAPI on Linux, Windows, MacOS, and Docker. You can choose the installation method that best suits your needs and environment.
You can install VulnAPI on Linux using Snap.
sudo snap install vulnapiVerify:
vulnapi --versionDownload the latest VulnAPI release and install it using dpkg.
sudo dpkg -i vulnapi.debVerify:
vulnapi --versionDownload the latest VulnAPI release and install it using rpm -i.
sudo rpm -i vulnapi.rpmVerify:
vulnapi --versionYou can install VulnAPI on Linux by downloading the latest VulnAPI release and extracting the contents of the ZIP file. After extracting the contents, run the vulnapi binary from the command line.
Verify:
vulnapi --versionWindows
Section titled “Windows”Chocolatey
Section titled “Chocolatey”You can install VulnAPI on Windows using Chocolatey.
choco install vulnapiYou can also install VulnAPI on Windows by downloading the latest VulnAPI release and extracting the contents of the ZIP file. After extracting the contents, you can run the vulnapi.exe binary from the command line.
Verify:
vulnapi --versionMacOS (Homebrew)
Section titled “MacOS (Homebrew)”You can install VulnAPI on MacOS using Homebrew. To do so, run the following command:
brew tap cerberauth/vulnapi https://github.com/cerberauth/vulnapibrew install $(brew --repository cerberauth/vulnapi)/vulnapi.rbVerify:
vulnapi --versionDocker
Section titled “Docker”You can also use VulnAPI as a Docker container with VulnaAPI Docker Image. To do so, run the following command:
docker run --rm cerberauth/vulnapi scan curl [API_URL] [CURL_OPTIONS]GitHub Action
Section titled “GitHub Action”VulnAPI can be integrated into your CI/CD pipeline using GitHub Actions. Integrating VulnAPI with GitHub Actions enables you to scan your APIs for vulnerabilities and security risks as part of your CI/CD pipeline. This allows you to automate security testing and vulnerability scanning of your APIs as part of your development workflow, ensuring that your APIs are secure and free from vulnerabilities before they are deployed to production.
Upgrading
Section titled “Upgrading”Keep VulnAPI up to date to get the latest vulnerability checks and bug fixes.
| Platform | Command |
|---|---|
| Snap | sudo snap refresh vulnapi |
| Chocolatey | choco upgrade vulnapi |
| Homebrew | brew upgrade vulnapi |
| Docker | docker pull cerberauth/vulnapi |
For APT/RPM installations, download the latest release package and reinstall using the same commands as above.