Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
contrast — SAST CLI for scanning Java, JavaScript, and .NET applications plus AWS Lambda functions, detecting code vulnerabilities and over-permissive IAM policies. | Kitploit
Tools/GitHubGitHub/contrastsecurity/contrast
Cloud Infrastructure SecurityVulnerability ScannersStatic Code Analysis (SAST)Code AnalysisServerless SecurityConfiguration AuditingCloud SecurityDevSecOpsIdentity & Access Management (IAM)Top in Serverless Security #18
20255Oct 27, 2022Reviewed by Kitploit
GitHubcontrastsecurity/contrast

contrast

SAST CLI for scanning Java, JavaScript, and .NET applications plus AWS Lambda functions, detecting code vulnerabilities and over-permissive IAM policies.

View Repository
Share

CodeSec by Contrast Security

CodeSec delivers:

  • The fastest and most accurate SAST scanner.
  • Immediate and actionable results — scan code and serverless environments.
  • A frictionless and seamless sign-in process with GitHub or Google Account. From start to finish in minutes.
  • By running a scan on your lambda functions, you can find: Least privilege identity and access management (IAM) vulnerabilities (over permissive policies) and remediation.

Install

NPM:

npm install --location=global @contrast/contrast

Homebrew:

brew tap contrastsecurity/tap

brew install contrast

Binaries:

  1. Go to https://pkg.contrastsecurity.com/ui/repos/tree/General/cli

  2. Select your operating system under the cli folder and download the package.

  3. You must allow execute permissions on the file depending on your OS.

Authenticate

Authenticate by entering contrast auth in the terminal.

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

Run a scan

SAST scan

Requirements

Make sure you have the correct file types to scan.

  • Upload a .jar or .war file to scan a Java project for analysis
  • Upload a .js or .zip file to scan a JavaScript project for analysis
  • Upload a .exe. or .zip file to scan a .NET c# web forms project

Start scanning

Use the Contrast scan command contrast scan

Lambda function scan

Requirements

  • Currently supports Java and Python functions on AWS. Configure AWS credentials on your local environment by running the commands with your credentials:
export AWS_DEFAULT_REGION=<YOUR_AWS_REGION>
export AWS_ACCESS_KEY_ID=<YOUR_ACCESS_KEY_ID>
export AWS_SECRET_ACCESS_KEY=<YOUR_SECRET_ACCESS_KEY>
  • AWS credentials should be available on your local configure (usually ~/.aws/credentials). You have an option to run a lambda scan with your aws-profile to pass --profile. You also can export different credentials.

  • These permissions are required to gather all required information on an AWS Lambda to use the contrast lambda command:

    • Lambda: GetFunction | GetLayerVersion
    • IAM: GetRolePolicy | GetPolicy | GetPolicyVersion | ListRolePolicies | ListAttachedRolePolicies

Start scanning

Use contrast lambda to scan your AWS Lambda functions. contrast lambda --function-name MyFunctionName --region my-aws-region

Contrast commands

auth

Authenticate Contrast using your GitHub or Google account. A new browser window will open for login.

Usage: contrast auth

config

Displays stored credentials.

Usage: contrast config

Options:

  • -c, --clear - Removes stored credentials.

scan

Performs a security SAST scan.

Usage: contrast scan [option]

Options:

  • contrast scan --file

    • Path of the file you want to scan. Contrast searches for a .jar, .war, .js. or .zip file in the working directory if a file is not specified.
    • Alias: --f
  • contrast scan --name

    • Contrast project name. If not specified, Contrast uses contrast.settings to identify the project or creates a project.
    • Alias: –n
  • contrast scan --save

    • Download the results to a Static Analysis Results Interchange Format (SARIF) file. The file is downloaded to the current working directory with a default name of results.sarif. You can view the file with any text editor.
    • Alias: -s
  • contrast scan --timeout

    • Time in seconds to wait for the scan to complete. Default value is 300 seconds.
    • Alias: -t

lambda

Name of AWS lambda function to scan.

Usage: contrast lambda --function-name

Options:

  • contrast lambda --function-name --endpoint-url AWS Endpoint override. Similar to AWS CLI. Alias: -e

  • contrast lambda --function-name --region Region override. Defaults to AWS_DEFAULT_REGION. Similar to AWS CLI. Alias: -r

  • contrast lambda --function-name --profile AWS configuration profile override. Similar to AWS CLI. Alias: -p

  • contrast lambda --function-name --json Return response in JSON (versus default human-readable format). Alias: -j

  • contrast lambda -–function-name -–verbose Returns extended information to the terminal. Alias: -v

  • contrast lambda -–function-name --list-functions Lists all available lambda functions to scan.

  • contrast lambda --function-name -–help Displays usage guide. Alias: -h

help

Displays usage guide. To list detailed help for any CLI command, add the -h or --help flag to the command. Usage: contrast scan --help Alias: -h

version

Displays version of Contrast CLI. Usage: contrast version Alias: -v, --version

Related Tools

  • prowler

    Prowler is the world’s most widely used open-source cloud security platform that automates security and compliance across any cloud environment. Connect your agents now and build on the Agentic Cloud Defender.

  • ScoutSuite

    Multi-cloud security auditing tool that leverages cloud provider APIs to gather configuration data, assess security posture, and generate HTML reports highlighting risk areas and attack surface.

  • cloud-custodian

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.3k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    806
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    457
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    389
  • 5

    faraday

    infobyte/faraday

    Open-source and AI-powered cybersecurity tools for offensive security, vulnerability management, and autonomous pentesting. Built by hackers in Latin America, used worldwide.

    346
  • 6

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    334

Explore all tools

Browse our collection of tools

View all tools →
Download Tool

Rules engine for cloud security, cost optimization, and governance, DSL in yaml for policies to query, filter, and take actions on resources