# Bearer/bearer

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

Repository: https://github.com/Bearer/bearer
Canonical: https://ross.abutalabs.com/products/bearer
Homepage: https://docs.bearer.com
Language: Go
License: NOASSERTION
License Family: other
Topics: appsec, compliance, devsecops, devsecops-tools, security, security-tools, dataflow, gdpr, privacy, sast, static-code-analysis, vulnerability, security-audit, security-scanner, vulnerabilities, code-quality, static-analysis, security-automation, owasp
Last push: 2026-08-24T17:09:00+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 1436, "days_push": 9, "days_rel": 9, "gap_med": 36.0, "n_releases_24m": 15}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2739, forks 149 (observed 2026-08-28T04:07:16.371061+00:00)

## What it is
Bearer CLI is an open-source static application security testing (SAST) tool written in Go that scans source code and analyzes data flows to discover, filter, and prioritize security and privacy risks. It includes built-in rules covering the OWASP Top 10 and CWE Top 25, and generates privacy reports useful for GDPR compliance such as PIA, DPIA, and RoPA.

## Use cases
- scan my source code for security vulnerabilities
- find SQL injection and XSS in my codebase
- detect hardcoded passwords and weak cryptography
- generate a privacy report for GDPR compliance
- detect PII and PHI data flows in my application
- run SAST scanning in CI/CD pipelines
- audit code against OWASP Top 10 and CWE Top 25

## When to choose
- you want a developer-friendly SAST scanner for Go, Java, JavaScript, TypeScript, PHP, Python, or Ruby projects
- you need privacy risk detection and GDPR-oriented reporting alongside security scanning
- you want a free, installable CLI (script, Homebrew, apt, yum, Docker) for security audits

## When to avoid
- you need languages beyond the open-source set such as C#, Kotlin, Rust, or Swift, which require the commercial Bearer Pro
- you need dynamic analysis, dependency (SCA) scanning, or runtime security rather than static analysis

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, vulnerability-scanning, static-site-generator, developer-tools
- domain: security, developer-tools, privacy, legal
- platform: cli, windows, cross-platform
- tags: sast, static-analysis, appsec, devsecops, gdpr, privacy, owasp, dataflow-analysis, security-audit, linux, macos, docker

## Member repositories
- Bearer/bearer (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:16.371061+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:19:10.791884+00:00, confidence not recorded.
  - readme: https://github.com/Bearer/bearer (fetched 2026-08-28T04:07:16.371061+00:00, sha 4fa878062fd5)
  - homepage: https://docs.bearer.com (fetched 2026-08-29T09:57:21.078557+00:00, sha 3b2cd5d61eaa)
  - site_page: https://docs.bearer.com/quickstart (fetched 2026-08-29T09:57:21.081215+00:00, sha f73a56d38606)
  - site_page: https://docs.bearer.com/reference/installation (fetched 2026-08-29T09:57:21.083092+00:00, sha da7a9622d6a1)
  - site_page: https://docs.bearer.com/contributing/docs (fetched 2026-08-29T09:57:21.084954+00:00, sha 8736e0be57dd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
