Togoder security

Go module malware scanner

Scan Go modules for malicious code

Every Go package Togoder Security has scanned has a free report below. To check your own project, upload its go.sum.

To check the Go modules your project depends on for malicious code, upload its go.sum or go.mod. Togoder Security fetches each module version from the Go module proxy, never builds it, and has an AI model read every source file for init() functions that run at startup, hidden network calls, credential reads and backdoors.

How to scan Go dependencies

  1. Find your dependency file. Use go.sum, go.mod. Lockfiles pin every transitive dependency, so the whole tree is scanned.
  2. Upload it for a free quote. Upload the file at https://security.togoder.click/scan, or POST it to https://security.togoder.click/api/quotes. The price covers only files nobody has scanned before.
  3. Scan with a prepaid balance or monthly plan. Scan new code from a prepaid balance or with monthly access, in the browser or with an API key. Packages are downloaded and read, never executed.
  4. Review findings before you install. Read each finding's severity, file and line, then run go build only once you are satisfied. Every result is also published as a public report.
curl -X POST https://security.togoder.click/api/paid-scan -H "Authorization: Bearer $API_KEY" -F "file=@go.sum"

API keys work with a prepaid balance or a monthly plan. To see the price first, POST /api/quotes is free. See the package safety API guide.

Where malicious Go code runs

  • init() functions: Go has no install scripts, but every init() in an imported package runs when your program or its tests start, before main.
  • Runtime code: commands spawned with os/exec, outbound connections and file reads hidden in an otherwise useful library.
  • Typosquatted module paths: a repository path that looks like a popular module. The module proxy caches versions, so a malicious version can stay downloadable after the repository is cleaned up.

Supported files

go.sum, go.mod. Manifests are resolved to the newest matching versions; lockfiles are scanned exactly as pinned. You can also scan one package and its dependencies by name.

Free tools to run alongside

govulncheck (Go vulnerability database, with reachability analysis) and OSV-Scanner are free and check your modules against reported vulnerabilities. They do not read unreported code. Togoder Security's public reports are free; scanning new code is paid.

Frequently asked questions

Is there a free malicious package scanner for Go modules?

govulncheck and OSV-Scanner are free and check go.mod against known vulnerabilities. For code that nobody has reported yet you need source review: Togoder Security's public module reports are free to read, and scanning new modules is paid from a prepaid balance or with a monthly plan.

Can a Go module run code when I download it?

Not on go get or go mod download. Its init() functions run when a program or test that imports it starts, which in practice is the next go test or go run.

Is scanning Go packages free?

Reading existing reports, parsing your file and getting a price quote are free, and so is a scan in which every file was already reviewed by someone. Scanning code nobody has reviewed yet is paid, from a prepaid balance or with monthly access. Free advisory tools are listed on this page.

Scanned Go packages, A–Z
PackageLatest scannedVerdictScanned
cloud.google.com/go/compute/metadata v0.3.0 safe Nov 13, 2026
dario.cat/mergo v1.0.1 safe Oct 5, 2026
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible low Nov 13, 2026
github.com/Masterminds/goutils v1.1.1 safe Nov 2, 2026
github.com/Masterminds/semver/v3 v3.3.0 safe Oct 5, 2026
github.com/Masterminds/sprig/v3 v3.3.0 low Nov 2, 2026
github.com/aarondl/authboss v2.4.1+incompatible medium Nov 13, 2026
github.com/apache/casbin v1.9.1 low Nov 13, 2026
github.com/boombuler/barcode v1.0.1 safe Oct 5, 2026
github.com/buger/jsonparser v1.6.1 medium Nov 2, 2026
github.com/bytedance/gopkg v0.1.3 medium Nov 2, 2026
github.com/bytedance/sonic v1.15.4 medium Nov 2, 2026
github.com/bytedance/sonic/loader v0.5.2 medium Nov 2, 2026
github.com/cloudwego/base64x v0.1.6 medium Nov 2, 2026
github.com/cpuguy83/go-md2man/v2 v2.0.7 safe Nov 2, 2026
github.com/davecgh/go-spew v1.1.1 medium Nov 13, 2026
github.com/dghubble/gologin v1.0.1 medium Nov 13, 2026
github.com/essentialkaos/branca v1.3.4 safe Nov 13, 2026
github.com/essentialkaos/check v1.4.0 low Nov 13, 2026
github.com/friendsofgo/errors v0.9.2 safe Oct 5, 2026
github.com/fsnotify/fsnotify v1.9.0 low Nov 2, 2026
github.com/gin-gonic/gin v1.12.0 low Nov 13, 2026
github.com/go-chi/chi/v5 v5.5.0 safe Nov 13, 2026
github.com/go-viper/mapstructure/v2 v2.5.0 safe Oct 5, 2026
github.com/gofiber/fiber/v2 v2.52.16 medium Nov 13, 2026
github.com/gofrs/uuid v4.4.0+incompatible safe Nov 2, 2026
github.com/golang-jwt/jwt/v5 v5.3.1 low Nov 13, 2026
github.com/golang/mock v1.6.0 medium Nov 13, 2026
github.com/golang/oauth2 v0.38.0 medium Nov 13, 2026
github.com/golang/protobuf v1.5.3 safe Nov 13, 2026
github.com/google/go-github/v31 v31.0.0 low Nov 13, 2026
github.com/google/go-querystring v1.1.0 safe Nov 13, 2026
github.com/google/uuid v1.3.1 safe Nov 13, 2026
github.com/gorilla/mux v1.8.0 safe Nov 13, 2026
github.com/gorilla/schema v1.2.0 safe Nov 13, 2026
github.com/gorilla/securecookie v1.1.1 safe Nov 13, 2026
github.com/gorilla/websocket v1.5.3 medium Nov 2, 2026
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 low Nov 2, 2026
github.com/grpc-ecosystem/grpc-gateway/v2 v2.30.0 low Nov 2, 2026
github.com/huandu/xstrings v1.5.0 safe Oct 5, 2026
github.com/jackc/pgx/v5 v5.13.0 medium Nov 13, 2026
github.com/jeremija/gosubmit v0.2.7 low Nov 13, 2026
github.com/jferrl/go-githubauth v1.12.0 medium Nov 13, 2026
github.com/joho/godotenv v1.5.1 low Nov 13, 2026
github.com/kat-co/vala v0.0.0-20170210184112-42e1d8b61f12 safe Oct 5, 2026
github.com/klauspost/cpuid/v2 v2.2.9 low Nov 2, 2026
github.com/kr/pretty v0.3.1 safe Nov 13, 2026
github.com/kr/text v0.2.0 safe Nov 13, 2026
github.com/labstack/echo/v4 v4.16.4 medium Nov 13, 2026
github.com/lib/pq v1.12.3 low Nov 2, 2026
github.com/mattn/go-sqlite3 v1.14.52 low Nov 2, 2026
github.com/mengzhuo/cookiestxt v1.0.6 safe Nov 13, 2026
github.com/mitchellh/copystructure v1.2.0 safe Oct 5, 2026
github.com/mitchellh/reflectwalk v1.0.2 safe Oct 5, 2026
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e safe Nov 13, 2026
github.com/pelletier/go-toml/v2 v2.2.4 medium Nov 2, 2026
github.com/pkg/errors v0.9.1 safe Oct 5, 2026
github.com/pmezard/go-difflib v1.0.0 safe Nov 13, 2026
github.com/pquerna/otp v1.5.0 safe Oct 5, 2026
github.com/prometheus/client_golang v1.25.0 low Nov 13, 2026
github.com/quagmt/udecimal v1.10.1 safe Nov 2, 2026
github.com/redis/go-redis/v9 v9.23.0 medium Nov 13, 2026
github.com/rogpeppe/go-internal v1.9.0 low Nov 13, 2026
github.com/rs/cors v1.10.1 safe Nov 13, 2026
github.com/rs/zerolog v1.35.1 medium Nov 13, 2026
github.com/russross/blackfriday/v2 v2.1.0 safe Oct 5, 2026
github.com/sagikazarmark/locafero v0.11.0 safe Oct 5, 2026
github.com/shaj13/go-guardian v1.5.11 low Nov 13, 2026
github.com/shopspring/decimal v1.4.0 safe Oct 5, 2026
github.com/sirupsen/logrus v1.9.3 safe Nov 13, 2026
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 safe Oct 5, 2026
github.com/spf13/afero v1.15.0 low Nov 2, 2026
github.com/spf13/cast v1.10.0 safe Oct 5, 2026
github.com/spf13/pflag v1.0.10 safe Oct 5, 2026
github.com/spf13/viper v1.21.0 safe Nov 2, 2026
github.com/stretchr/testify v1.8.2 safe Nov 13, 2026
github.com/subosito/gotenv v1.6.0 safe Oct 5, 2026
github.com/thrasher-corp/gct-ta v0.0.0-20200623072738-f2b55b7f9f41 low Nov 2, 2026
github.com/thrasher-corp/goose v2.7.0-rc4.0.20191002032028-0f2c2a27abdb+incompatible safe Nov 2, 2026
github.com/thrasher-corp/sqlboiler v1.0.1-0.20191001234224-71e17f37a85e medium Nov 2, 2026
github.com/twitchyliquid64/golang-asm v0.15.1 low Nov 2, 2026
github.com/urfave/cli/v2 v2.27.7 medium Nov 2, 2026
github.com/volatiletech/inflect v0.0.1 safe Oct 5, 2026
github.com/volatiletech/null v8.0.0+incompatible safe Oct 5, 2026
github.com/volatiletech/sqlboiler v3.7.1+incompatible medium Nov 2, 2026
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 safe Oct 5, 2026
github.com/yuin/goldmark v1.8.6 medium Nov 2, 2026
github.com/zitadel/logging v0.3.4 safe Nov 13, 2026
github.com/zitadel/oidc v1.13.5 medium Nov 13, 2026
go.uber.org/mock v0.6.0 medium Nov 13, 2026
go.yaml.in/yaml/v3 v3.0.5 safe Oct 5, 2026
golang.org/x/arch v0.13.0 low Nov 2, 2026
golang.org/x/crypto v0.59.0 medium Nov 13, 2026
golang.org/x/net v0.62.0 medium Nov 13, 2026
golang.org/x/oauth2 v0.13.0 medium Nov 13, 2026
golang.org/x/sys v0.50.0 medium Nov 13, 2026
golang.org/x/term v0.46.0 safe Oct 5, 2026
golang.org/x/text v0.13.0 medium Nov 13, 2026
golang.org/x/time v0.16.0 safe Oct 5, 2026
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 safe Oct 5, 2026
google.golang.org/appengine v1.6.8 low Nov 13, 2026
google.golang.org/genproto/googleapis/api v0.0.0-20260803160001-6ac0973c030d safe Oct 5, 2026
google.golang.org/genproto/googleapis/rpc v0.0.0-20260803160001-6ac0973c030d safe Oct 5, 2026
google.golang.org/grpc v1.85.0 medium Nov 13, 2026
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.6.2 safe Oct 5, 2026
google.golang.org/protobuf v1.31.0 medium Nov 13, 2026
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b low Nov 13, 2026
gopkg.in/ldap.v3 v3.1.0 low Nov 13, 2026
gopkg.in/square/go-jose.v2 v2.6.0 medium Nov 13, 2026
gopkg.in/yaml.v3 v3.0.1 safe Nov 13, 2026
gorm.io/gorm v1.31.2 low Nov 13, 2026
k8s.io/api v0.18.8 low Nov 13, 2026
k8s.io/apimachinery v0.18.8 medium Nov 13, 2026