# Bearer CLI

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

Source: https://talira.ai/catalog/bearer-cli-4r29s52f
Every listing: https://talira.ai/catalog.md

- Kind: Source available
- Types: Command-line tool
- Categories: [security / static analysis](https://talira.ai/categories/security/static-analysis)
- Platforms: macos, linux, docker, cli[^4]
- Licence: Elastic-2.0 (source-available)[^1]
- Pricing: Free[^2]
- Pricing notes: Bearer CLI is free; Bearer Cloud has an early-access waiting list.
- Free tier: yes[^2]
- Self-hostable: yes
- Plugins: yes[^3]
- Made by: [Bearer](https://talira.ai/orgs/bearer.md)
- Funding: acquired by Cycode[^2]

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.

## Links

- Website: https://www.bearer.com/
- GitHub: https://github.com/Bearer/bearer
- Docs: https://docs.bearer.com/

## 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 service[^1]

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.65 out of 1.
Signals: maintenance 0.81, adoption 0.69, momentum 0.53, community 0.51, backing 0.55, extensibility 0.40.

- last commit 7 days ago
- 31 commits in the last 90 days
- latest release v2.1.3 26 days ago
- 2.8k GitHub stars
- 18 contributors
- made by Bearer
- funding: acquired by Cycode
- has a plugin system

## Alternatives

- [SonarQube](https://talira.ai/catalog/sonarqube-hv6cp5td.md): Code confidence for the agentic software factory
- [Snyk](https://talira.ai/catalog/snyk-sw1313nn.md): Find, fix and prevent vulnerabilities in code, open source dependencies, container images and cloud configurations
- [Semgrep](https://talira.ai/catalog/semgrep-v0kqhvdn.md): Code security: SAST, supply chain and secrets scanning with rules that look like code
- [CodeQL](https://talira.ai/catalog/codeql-8rqre4qe.md): GitHub's semantic code analysis engine for finding vulnerabilities
- [Brakeman](https://talira.ai/catalog/brakeman-9trdwbpm.md): A static analysis security vulnerability scanner for Ruby on Rails applications
- [DeepSource](https://talira.ai/catalog/deepsource-fd2qg7dz.md): AI code review platform that combines static analysis with AI review agents

## Sources

[^1]: https://github.com/Bearer/bearer/blob/main/LICENSE.txt (checked 24 Nov 2026)
[^2]: https://www.bearer.com/ (checked 24 Nov 2026)
[^3]: https://docs.bearer.com/ (checked 24 Nov 2026)
[^4]: https://docs.bearer.com/reference/installation/ (checked 24 Nov 2026)
