Ross ROSS = Recommend OSS · open-source software intelligence for agents

uber-go/nilaway

Static analysis tool to detect potential nil panics in Go code observed · 2026-08-28

github.com/uber-go/nilaway · Go · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

73/100

  • Activity 98
  • Release rhythm 35
  • Longevity 82

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 1149
  • days_rel: n/a
  • days_push: 13
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

3900 stars · 95 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

NilAway is a static analysis tool from Uber that detects potential nil pointer panics in Go code at compile time rather than runtime. It uses automated inference (no annotations required) to track nil flows within and across packages, and integrates with golangci-lint, nogo, or runs as a standalone checker via the go/analysis framework.

Use cases

  • catch nil pointer panics in go code before they hit production
  • detect nil dereference bugs at compile time
  • static analysis for nil safety in go
  • lint go code for nilability issues without annotations
  • find null pointer errors in a large golang codebase
  • add nil panic checking to golangci-lint

When to choose

  • you maintain a large Go codebase and want fast, scalable nilness checking with under 5% build-time overhead
  • you want fully automated nilability analysis without writing annotations
  • you already use golangci-lint or nogo and want to add nil panic detection to your pipeline

When to avoid

  • you need zero false positives - the tool is under active development and false positives and breaking changes can occur
  • you want an exhaustive guarantee of catching every possible nil panic - it deliberately balances usefulness against overhead
  • you are not working in Go

Facets

cli-tool · maturity active

linter developer-tools developer-tools programming-languages go cli static-analysis nilability nil-pointer-detection panic-prevention null-safety golangci-lint nogo go-compiler-analysis code-quality uber

1 source

Member repositories

RepositoryRoleHealth v2
uber-go/nilawaymain73

For agents

markdown · JSON · MCP: product_card(name="uber-go/nilaway")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem