Categories

Code Analysis

Source code analysis tools, also known as Static Application Security Testing (SAST) Tools.

Repos

107

Stars

83,970

30 days

+678

golangci

Fast linters runner for Go

Created May 2018

ci go golang golangci-lint linter
Total 19,566
30 days +106
dominikh

Staticcheck - The advanced Go linter

Created Jan 2017

linter linters sponsor static-analysis staticcheck
Total 6,942
30 days +31
kisielk

errcheck checks that you checked errors.

Created Feb 2013

errcheck error go linter
Total 2,534
30 days +5
jfeliu007

PlantUML Class Diagram Generator for golang projects

Created May 2019

diagram diagram-generator go golang plantuml
Total 2,084
30 days +2
go-critic

The most opinionated Go source code linter for code audit.

Created May 2018

conventions go go-lintpack golang hacktoberfest
Total 2,082
30 days +6
daveshanley

vacuum is the worlds fastest and most versatile OpenAPI, Arazzo, AsyncAPI & JSON Schema linter, docs generator and toolkit. It tears through API specs at light speed. 100% compatible with Spectral rulesets, and OpenAPI 3.0, 3.1 and 3.2

Created Oct 2021

go golang json-schema json-schema-validator lint
Total 1,150
30 days +13
roblaszczak

Clean architecture validator for go, like a The Dependency Rule and interaction between packages in your Go projects.

Created Apr 2017

architecture clean-architecture go golang uncle-bob
Total 986
30 days +2
z7zmey

PHP parser written in Go

Created Nov 2017

ast go parser php
Total 959
30 days +3
psampaz

Find outdated dependencies of your Go projects. go-mod-outdated provides a table view of the go list -u -m -json all command which lists all dependencies of a Go project and their available minor and patch updates. It also provides a way to filter indirect dependencies and dependencies without updates.

Created Apr 2019

beautifier beautify go go-modules golang
Total 671
30 days +1
sqs

A gofmt/goimports-like tool for Go programmers that fills in Go return statements with zero values to match the func return types

Created Oct 2014

Total 538
30 days +0
amit-davidson

Chronos - A static race detector for the go language

Created Oct 2020

analysis data-race-detection detection detects-races go
Total 440
30 days +1
mdempsky

Remove unnecessary type conversions from Go source

Created Feb 2016

Total 389
30 days +1
tomarrell

A Go linter to check that errors from external packages are wrapped

Created Jul 2020

check error go go-linter hacktoberfest
Total 374
30 days +1
mibk

a tool for code clone detection

Created May 2015

code-clones go golang golang-tools tool
Total 372
30 days +4
augmentable-dev

Manage your repository's TODOs, tickets and checklists as config in your codebase.

Created Oct 2019

git golang tickets tickgit todo
Total 325
30 days +1
shurcooL

A command line tool that shows the status of Go repositories.

Created Nov 2013

Total 245
30 days +0
bradleyfalzon

apicompat checks recent changes to a Go project for backwards incompatible changes

Created Jul 2016

Total 182
30 days +0
ast-metrics

See the invisible structure of your code. Multi-language code quality and architecture analyzer (Go, PHP, Python, Rust...)

Created Nov 2023

code-quality complexity maintainability static-analysis technical-debt
Total 174
30 days +13
Antonboom

The Golang linter that checks usage of github.com/stretchr/testify.

Created Jun 2022

go golang linter static-analysis testify
Total 173
30 days +0
qiniu

checkstyle for go

Created Jan 2014

Total 129
30 days +0
asty-org

Converts golang AST to JSON and JSON to AST

Created Aug 2022

ast go golang json parser
Total 89
30 days +1
Crocmagnon

detects nested contexts in loops or function literals

Created Mar 2024

context go golang linter
Total 83
30 days +0
abemedia

A golang formatter that condenses code

Created Jul 2025

code-formatter go gofmt golang
Total 65
30 days +1
surullabs

Run linters from Go code -

Created Jul 2016

Total 64
30 days +0
mccoyst

A Go package to automatically validate fields with tags

Created Nov 2013

Total 62
30 days +0
segmentio

A golang formatter that fixes long lines

Created Oct 2019 Archived

Total 1,121
30 days +1

More

revive-lint

🔥 Fast, strict, configurable, extensible, and beautiful linter for Go

Created Jul 2017

ci go golang golint linter
Total 5,575
30 days +19
uber-go

Static analysis tool to detect potential nil panics in Go code

Created Jul 2023

go nil-pointer nilability nilability-analysis static-analysis
Total 3,942
30 days +20
Bearer

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

Created Sep 2022

appsec code-quality compliance dataflow devsecops
Total 2,799
30 days +35
kythe

Kythe is a pluggable, (mostly) language-agnostic ecosystem for building tools that work with code.

Created Jan 2015

Total 2,171
30 days +2
fzipp

Calculate cyclomatic complexities of functions in Go source code.

Created Jan 2014

code-metrics cyclomatic-complexity go golang mccabe
Total 1,619
30 days +7
ludo-technologies

Code quality analysis for Python in the age of AI coding.

Created Aug 2025

architecture-analysis clone-detection code-complexity dead-code-detection dependency-analysis
Total 1,115
30 days +22
cloudwego

Go heap object reference analysis tool

Created Jul 2024

Total 1,028
30 days +2
phodal

Coca is a toolbox which is design for legacy system refactoring and analysis, includes call graph, concept analysis, api tree, design patterns suggest. Coca 是一个用于系统重构、系统迁移和系统分析的工具箱。它可以分析代码中的测试坏味道、模块化分析、行数统计、分析调用与依赖、Git 分析以及自动化重构等。

Created Oct 2019

ai architecture automation git refactor
Total 990
30 days +0
scip-code

SCIP Code Intelligence Protocol

Created May 2022

Total 898
30 days +63
quasilyte

Define and run pattern-based custom linting rules.

Created Dec 2019

analysis codeql dynamic-rules go go-analysis
Total 883
30 days +1
orijtech

structslop is a static analyzer for Go that recommends struct field rearrangements to provide for maximum space/allocation efficiency.

Created Sep 2020

golang
Total 830
30 days +1
VKCOM

Pretty fast linter (code static analysis utility) for PHP

Created Feb 2019

go golang linter noverify php
Total 693
30 days +1
alexkohler

prealloc is a Go static analysis tool to find slice declarations that could potentially be preallocated.

Created Nov 2017

go golang prealloc-suggestions slice static-analysis
Total 667
30 days +1
fe3dback

GoLang architecture linter (checker) tool. Will check all project import path and compare with arch rules defined in yml file. Useful for hexagonal / onion / ddd / mvc and other architectural patterns. Tool can by used in your CI

Created Aug 2020

arch-lint arch-rules architecture checker golang
Total 628
30 days +31
mvdan

Find unused parameters in Go

Created Mar 2017

arguments functions go linter parameters
Total 580
30 days +8
insidersec

Static Application Security Testing (SAST) engine focused on covering the OWASP Top 10, to make source code analysis to find vulnerabilities right in the source code, focused on a agile and easy to implement software inside your DevOps pipeline. Support the following technologies: Java (Maven and Android), Kotlin (Android), Swift (iOS), .NET Full Framework, C#, and Javascript (Node.js).

Created Nov 2019

android android-security cli csharp dotnet
Total 555
30 days +2
typescript-eslint

✨ Experimental proof-of-concept typescript-go powered JS/TS linter written in Go

Created Apr 2025

Total 523
30 days +2
get-woke

Detect non-inclusive language in your source code.

Created Aug 2020

ci codereview conscious-language go golang
Total 515
30 days +3
uudashr

Calculates cognitive complexities of functions (and methods) in Go source code. (Golang cognitive complexity)

Created Sep 2019

cognitive complexity go golang linter
Total 506
30 days +9
DeepSourceCorp

Globstar is a fast, feature-rich, and open-source static analysis toolkit for writing and running code checkers. Based on tree-sitter.

Created Jan 2022

code-quality code-security sast static-analysis tree-sitter
Total 504
30 days +1
houqp

Go fearless SQL. Sqlvet performs static analysis on raw SQL queries in your Go code base.

Created Dec 2019

golang linter security sql static-analysis
Total 503
30 days +1
dgryski

Go rules for semgrep and go-ruleguard

Created Jul 2020

Total 481
30 days +1
web-infra-dev

High-performance, ESLint-compatible linter for JavaScript and TypeScript.

Created Jul 2025

javascript-linter linter rstack tsgo typescript
Total 465
30 days +3
presmihaylov

A static code analyser for annotated TODO comments

Created Jul 2020

go hacktoberfest linters todo
Total 442
30 days +1
timakin

Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.

Created Mar 2019

code-analysis go golang http linter
Total 327
30 days +3
jgautheron

Find in Go repeated strings that could be replaced by a constant

Created Dec 2015

go linter
Total 320
30 days +0
nickng

Static analyser for finding Deadlocks in Go

Created Aug 2015

concurrency deadlock-detection golang research static-analysis
Total 320
30 days +0
Zacarx

一款基于Zjackky/CodeScan的轻量级匹配Sink点并AI审计的代码审计扫描器

Created Feb 2025

Total 253
30 days +1
JetBrains

🔧 JetBrains Qodana’s official command line tool

Created Dec 2021

javascript kotlin python java php
Total 243
30 days +4
byterocket

Static analyzer for solidity contracts based on regexs specifically crafted for code4rena contests

Created Jan 2022

analyzer audit ethereum evm research
Total 236
30 days +0
toheart

go语言代码分析 工具

Created Mar 2024

Total 235
30 days +0
sonatard

noctx finds function calls without context.Context.

Created Apr 2020

Total 233
30 days +0
noperator

SAST + LLM Interprocedural Context Extractor

Created Aug 2025

Total 213
30 days +1
GaijinEntertainment

golang analyzer that finds structures with uninitialized fields

Created Mar 2022

analysis golang lint structures
Total 213
30 days +3
tommy-muehle

Magic number detector for Go.

Created Feb 2019

analysis cli code-checker detector go
Total 210
30 days +2
ChangeYourWay

Fenrir 是一个基于 MCP 协议与 AST 技术的代码审计工具,旨在解决安全研究与自动化代码审计领域中,面对大规模、结构复杂甚至反编译代码时,传统代码搜索与分析手段效率低、准确性差的问题。

Created Jun 2025

Total 181
30 days +1
kojah

Watch for bugs like a hawk! gohawk is a set of static analyzers for Go, focused on concurrency and resource-lifetime bugs.

Created Aug 2026

code-quality concurrency go go-vet golang
Total 162
30 days +154
shivasurya

Static Code Analysis for security teams with Inter file taint analysis. Built for finding vulnerabilities, advanced structural search, derive insights and supports MCP

Created Nov 2023

ai-agents ai-sast application-security code-scanning mcp
Total 143
30 days +0
igor-php

Static analysis and state mutation auditor specifically designed for FrankenPHP's Worker Mode.

Created Apr 2026

frankenphp linter php state-mutations stateless
Total 133
30 days +5
alexkohler

nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.

Created Oct 2017

go golang static-analysis static-analyzer static-code-analysis
Total 132
30 days +0
codegirl-007

A linter to codify code taste using Jev

Created Sep 2026

Total 129
30 days +4
DataDog

AI-native SAST

Created Feb 2026

ai ai-tools sast static-analysis
Total 109
30 days +2
qiniu

Empower Your Code Quality with Self-Hosted Automated Analysis and Review

Created Dec 2023

code-quality code-review codereview linter static-code-analysis
Total 107
30 days +0
gcpug

zagane is a static analysis tool which can find bugs in spanner's code

Created Mar 2019

golang linter spanner staticanalysis
Total 99
30 days +0
ryanrolds

Linter that confirms DB rows and statements are closed properly.

Created Jun 2020

close go golang linter sql
Total 91
30 days +0
gostaticanalysis

Analyzer: helps uncover bugs by reporting a diagnostic for mistakes of *sql.Rows usage.

Created Apr 2019

code-analysis database go golang mysql
Total 91
30 days +0
Antonboom

The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.

Created Sep 2021

go golang linter static-analysis
Total 89
30 days +1
boyter

Duplicate code detector with fuzzy matching, gap tolerance, and interactive codebase visualization

Created Sep 2020

cicd cli code detector duplicate
Total 89
30 days +1
alexkohler

nargs is a Go static analysis tool to find unused arguments in function declarations.

Created May 2019

Total 86
30 days +0
picatz

🚰 Static taint analysis for Go programs.

Created Dec 2022

Total 85
30 days +0
yagipy

maintidx measures the maintainability index of each function.

Created Dec 2021

Total 81
30 days +0
m-mizutani

Go AST based static analysis tool with Rego

Created Aug 2022

Total 79
30 days +0
alexkohler

dogsled is a Go static analysis tool to find assignments/declarations with too many blank identifiers.

Created Nov 2018

Total 76
30 days +0
alexkohler

unimport is a Go static analysis tool to find unnecessary import aliases.

Created Oct 2017

go golang static-analysis static-analyzer static-code-analysis
Total 71
30 days +0
Ernket

调用AI的代码审计平台 | Utilize the AI-based code audit platform

Created Apr 2026

Total 70
30 days +1
typesafe-docs

Go analyzer that reports iter.Pull and iter.Pull2 calls whose stop function can go uncalled and leak a goroutine.

Created Sep 2026

go go-analysis golang iterators linter
Total 68
30 days +0
typesafe-docs

Lint shell scripts for missing strict mode and for mktemp files with no trap cleanup, complementing ShellCheck.

Created Sep 2026

bash go linter shell shellcheck
Total 68
30 days +0
gostaticanalysis

Analyzer: nilerr checks returning nil when err is not nil

Created Mar 2019

analyzer golang staticanalysis
Total 64
30 days +1
williamfzc

A library for extracting and analyzing definition/reference graphs from your codebase. Powered by tree-sitter and LSIF/SCIP.

Created Mar 2023

callgraph diff golang lsif lsp
Total 63
30 days +0
stathat

Go source file checker

Created Dec 2011

Total 62
30 days +0
mcandre

shell script linters

Created Aug 2017

golang shell-scripts static-analysis
Total 59
30 days +0
fatih

An example linter written with go/analysis for tutorial purposes

Created May 2019

golang linter linting static-analysis tooling
Total 58
30 days +0
nickng

Go static program analyser

Created Nov 2016

research static-analysis
Total 58
30 days +0
afadesigns

Static analysis and auto-fix for the setopts, hooks, and globs Bash never learned.

Created Nov 2025

ast format go lint scripts
Total 57
30 days +8
mpyw

Keep Go packages flat without losing their internal boundaries: file-level private and package scopes for declarations, methods and struct fields

Created Sep 2026

code-quality encapsulation go go-analysis golang
Total 53
30 days +11
sisaku-security

CI-Friendly static linter with autofix, SAST, semantic analysis for GitHub Actions

Created Oct 2023

autofix github-actions go static-analysis supply-chain-security
Total 52
30 days +3
kkHAIKE

Analyzer: check whether a function uses a non-inherited context

Created Aug 2021

Total 52
30 days +1
boratanrikulu

BPF portability analyzer for compiled eBPF object files. Reports minimum kernel version requirements, data flow patterns, and CO-RE coverage.

Created Apr 2026

bpf btf co-re ebpf kernel
Total 51
30 days +0
SilverRainZ

Visualize Go SSA function using Graphviz

Created Feb 2023

golang graphviz linter ssa static-analysis
Total 50
30 days +0
alecthomas

DEPRECATED: Use https://github.com/golangci/golangci-lint

Created Aug 2014 Archived

go gometalinter linter
Total 3,469
30 days +0
golangci

A curated list of awesome Go linters. More than 60 linters and tools!

Created Mar 2018 Archived

awesome awesome-list go golang linter
Total 1,091
30 days +3
sourcegraph

srclib is a polyglot code analysis library, built for hackability. It consists of language analysis toolchains (currently for Go and Java, with Python, JavaScript, and Ruby in beta) with a common output format, and a CLI tool for running the analysis.

Created Jul 2014 Archived

Total 933
30 days +0
stripe-archive

Static analysis tool for Golang that protects against SQL injections

Created Feb 2015 Archived

Total 556
30 days +0
google

Program analysis platform

Created Jan 2015 Archived

Total 269
30 days +0
protolambda

Callgraph analysis and visualization for Go

Created Jul 2019 Archived

Total 167
30 days +0
google

C code indexer using language semantic from clang

Created May 2015 Archived

Total 61
30 days +0

From awesome-go (MIT), plus repos sorted by Jev.