# google/capslock

Repository: https://github.com/google/capslock
Canonical: https://ross.abutalabs.com/products/google-capslock
Language: Go
License: BSD-3-Clause
License Family: permissive
Last push: 2026-08-26T05:54:55+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 81
- inputs: {"age_days": 1136, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1175, forks 51 (observed 2026-08-28T04:03:52.443473+00:00)

## What it is
Capslock is a capability analysis CLI for Go packages that classifies which privileged operations a package can access via transitive calls to the standard library. It helps surface the permissions of third-party dependencies to support supply chain security reviews.

## Use cases
- audit which privileged operations my Go dependencies can access
- detect unexpected capability changes in third-party packages
- direct security reviews toward the most privileged code paths
- apply least-privilege analysis to Go packages before trusting them
- identify the purpose of an unknown Go package from its capabilities

## When to choose
- you maintain Go code and want to vet third-party dependencies for excessive privileges
- you run supply chain security reviews and need capability signals beyond CVE scanning
- you want to alert on capability changes in dependencies over time

## When to avoid
- your project is not written in Go
- you need dynamic runtime analysis or vulnerability/CVE scanning rather than static capability classification
- you need analysis of non-standard-library privileged operations outside Capslock's supported set

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, linter, dependency-audit, cli, developer-tools
- domain: security, developer-tools, programming-languages
- platform: go, cli, cross-platform
- tags: capability-analysis, supply-chain-security, least-privilege, go-packages, static-analysis

## Member repositories
- google/capslock (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:52.443473+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-30T06:27:05.604601+00:00, confidence not recorded.
  - readme: https://github.com/google/capslock (fetched 2026-08-28T04:03:52.443473+00:00, sha bf8a0c33c42f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
