talira

Bearer CLI

Code security scanning tool (SAST) to discover, filter and prioritize security and privacy risks

source availableElastic-2.0self-hostablefree

Bearer CLI is a static application security testing (SAST) tool that scans source code and its data flows to find security and privacy risks. Its built-in rules cover the OWASP Top 10 and CWE Top 25, and it detects and classifies sensitive data such as PII and PHI, the databases and third-party APIs that process it, and exfiltration risks, producing privacy reports for PIAs, DPIAs and GDPR records of processing. It supports Go, Python, PHP, JavaScript, TypeScript, Ruby and Java, runs in CI through GitHub Actions and GitLab CI/CD, and takes custom rules. It's source available under the Elastic License 2.0, and Bearer is now part of Cycode.

Problems it solves

  • scan our codebase for SQL injection, XSS and other OWASP Top 10 issues in CI
  • find out where our app sends personal data like emails and health records
  • we need a data flow report for our GDPR records of processing from the code itself
  • a free SAST scanner I can run locally without talking to a sales team
  • flag hard-coded passwords and sensitive data written to logs before code is merged
  • check which third-party APIs receive PII from our Rails or Node app
  • write our own code security rules for patterns specific to our codebase

Features

  • built-in rules for the OWASP Top 10 and CWE Top 25
  • sensitive data detection and classification (PII, PHI)
  • data flow and privacy reports for PIA, DPIA and GDPR records of processing
  • Go, Python, PHP, JavaScript, TypeScript, Ruby and Java
  • custom rules
  • GitHub Actions and GitLab CI/CD integration
  • install script, Homebrew tap, APT, YUM, Docker image and binaries

Limitations

  • The Elastic License 2.0 forbids offering it to others as a hosted or managed service1

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Bearer CLI does.

  1. SonarQube Code confidence for the agentic software factory
  2. Snyk Find, fix and prevent vulnerabilities in code, open source dependencies, container images and cloud configurations
  3. Semgrep Code security: SAST, supply chain and secrets scanning with rules that look like code
  4. CodeQL GitHub's semantic code analysis engine for finding vulnerabilities
  5. Brakeman A static analysis security vulnerability scanner for Ruby on Rails applications
  6. DeepSource AI code review platform that combines static analysis with AI review agents

Compare Bearer CLI with the top 3