Get started with CodeSec by Contrast Security

Install CodeSec by Contrast Security and authenticate before running a scan.

Step 1: Install

via Homebrew

Install from Contrast's tap with Homebrew by running the following commands.

  • brew tap contrastsecurity/tap

  • brew install contrast

via NPM/YARN

Install using npm or yarn @contrast/contrast.

  • npm install -g @contrast/contrast

via Binaries

Step 2: Authenticate

Authenticate by entering contrast auth in the terminal.

In the resulting browser window, log in and authenticate with your GitHub or Google credentials.

Step 3: Run a scan

Use Contrast CodeSec to run a scan or a scan on a Lambda function.

See also