Dependency provenance¶
Go dependencies are pinned in go.mod and go.sum; Dockerfiles pin the build toolchain and browser runtime. Verify manually downloaded Go toolchains against the official release checksums, use the Go module checksum database, and run go mod verify after dependency updates.
Official package references: goquery, htmlquery, bluemonday, SQLite, pgx, and bcrypt. See browser deployment for Chromium package and sandbox provenance.
Upstream notices are preserved under docs/licenses/ and included in containers at /licenses. Original application code uses MIT; components retain their own terms, including modernc's additional notices and generated-header exceptions. See licensing and redistribution.
The table distinguishes runtime modules from tools and the wider module graph. A row marked Yes is a module that go list -deps ./cmd/server reports for Linux/amd64 or Linux/arm64 with CGo disabled, as every release is built, and each such module needs one. Rows marked No are optional: they keep notices for modules in the graph that a runtime module requires but the supported builds do not link, such as modernc's C-to-Go toolchain and libraries used only on other platforms. Modules the graph holds only for other modules' tests, such as testify and its dependencies, need no row. Dependency test fixtures and source-only assets are not included in application images.
| Module | Pinned version | Copied license notice | Runtime |
|---|---|---|---|
| github.com/PuerkitoBio/goquery | v1.13.0 | LICENSE | Yes |
| github.com/andybalholm/cascadia | v1.3.5 | LICENSE | Yes |
| github.com/antchfx/htmlquery | v1.3.6 | LICENSE | Yes |
| github.com/antchfx/xpath | v1.3.6 | LICENSE | Yes |
| github.com/aymerick/douceur | v0.2.0 | LICENSE | Yes |
| github.com/dustin/go-humanize | v1.1.0 | LICENSE | Yes |
| github.com/golang/groupcache | v0.0.0-20210331224755-41bb18bfe9da | LICENSE | Yes |
| github.com/google/pprof | v0.0.0-20261016150608-1facf8f91b50 | LICENSE | No |
| github.com/google/uuid | v1.6.0 | LICENSE | Yes |
| github.com/gorilla/css | v1.0.1 | LICENSE | Yes |
| github.com/hashicorp/golang-lru/v2 | v2.0.7 | LICENSE | No |
| github.com/jackc/pgpassfile | v1.0.0 | LICENSE | Yes |
| github.com/jackc/pgservicefile | v0.0.0-20240606120523-5a60cdf6a761 | LICENSE | Yes |
| github.com/jackc/pgx/v5 | v5.12.0 | LICENSE | Yes |
| github.com/jackc/puddle/v2 | v2.2.3 | LICENSE | Yes |
| github.com/mattn/go-isatty | v0.0.24 | LICENSE | No |
| github.com/microcosm-cc/bluemonday | v1.0.27 | LICENSE.md | Yes |
| github.com/ncruces/go-strftime | v1.1.0 | LICENSE | No |
| github.com/remyoudompheng/bigfft | v0.0.0-20230129092748-24d4a6f8daec | LICENSE | Yes |
| golang.org/x/crypto | v0.58.0 | LICENSE | Yes |
| golang.org/x/mod | v0.42.0 | LICENSE | No |
| golang.org/x/net | v0.62.0 | LICENSE | Yes |
| golang.org/x/sync | v0.24.0 | LICENSE | Yes |
| golang.org/x/sys | v0.49.0 | LICENSE | Yes |
| golang.org/x/text | v0.43.0 | LICENSE | Yes |
| golang.org/x/tools | v0.52.0 | LICENSE | No |
| modernc.org/cc/v4 | v4.30.3 | LICENSE | No |
| modernc.org/ccgo/v4 | v4.37.0 | LICENSE | No |
| modernc.org/fileutil | v1.4.0 | LICENSE | No |
| modernc.org/gc/v2 | v2.6.5 | LICENSE | No |
| modernc.org/gc/v3 | v3.2.0 | LICENSE | No |
| modernc.org/goabi0 | v0.2.0 | LICENSE | No |
| modernc.org/libc | v1.79.0 | LICENSE-3RD-PARTY.md, LICENSE | Yes |
| modernc.org/mathutil | v1.7.1 | LICENSE | Yes |
| modernc.org/memory | v1.12.1 | LICENSE-MMAP-GO, LICENSE-LOGO, LICENSE-GO, LICENSE | Yes |
| modernc.org/opt | v0.2.0 | LICENSE | No |
| modernc.org/sortutil | v1.2.1 | LICENSE | No |
| modernc.org/sqlite | v1.61.1 | LICENSE-3RD-PARTY.md, LICENSE-SQLITE_VEC, LICENSE-SQLITE, LICENSE | Yes |
| modernc.org/strutil | v1.2.1 | LICENSE | No |
| modernc.org/token | v1.1.0 | LICENSE | No |
| github.com/chromedp/chromedp | v0.16.0 | LICENSE | Yes |
| github.com/chromedp/cdproto | v0.0.0-20260714215040-dc233986426f | LICENSE | Yes |
| github.com/chromedp/sysutil | v1.1.0 | LICENSE | Yes |
| github.com/go-json-experiment/json | v0.0.0-20260820222146-c27c302e5fc3 | LICENSE | Yes |
| github.com/gobwas/ws | v1.5.0 | LICENSE | Yes |
| github.com/gobwas/pool | v0.2.1 | LICENSE | No |
| github.com/gobwas/httphead | v0.1.0 | LICENSE | Yes |
Checking the table¶
scripts/check-dependencies.py compares this table and docs/licenses/ with the Go module graph. make release-test runs it, so make check, CI's Go jobs (including pushes to main) and the native archive release run it too. It fails when:
- a module either architecture links has no row, or its row says No; or a row says Yes for a module neither architecture links;
- a row names a module that has left the graph, or pins a version other than the one
go list -m allselects; - a row links no notice, or links one that is missing or not named
<module path with / as _>@<version>_<upstream file>for the pinned version; - a module notice in
docs/licenses/is neither linked from the table nor named in licensing, by file name as libc's generated-header notices are or by a link or path intolicenses/, or names a module or version the table does not pin; or the licensing guide ordocs/licenses/README.mdnames or links to a notice that does not exist; - for a linked module, a copied notice differs from the upstream file in the module cache, upstream no longer has that file, or a file at the module's root whose name starts with
LICENSE,LICENCE,COPYINGorNOTICE, in any case and other than Go source, has no copy.
Only linked modules are compared byte for byte, since the source of the others is often not downloaded, and a linked module missing from the cache is reported and skipped rather than failed. Go runs with -mod=readonly and GOWORK=off, so the check never edits go.mod or go.sum and ignores a local workspace. It uses Make's GO, as in make release-test GO=/path/to/go.
After changing dependencies or build targets, update the rows the check names, copy new notices from the module's directory, which go list -m -f '{{.Dir}}' MODULE prints once the module is downloaded, and delete notices for versions no longer pinned, then rerun make release-test. CI skips changes limited to Markdown guides directly under docs/, so run it locally after editing only this table. The check does not judge license terms, nor the generated-header notices, which are compiled rather than copied; review those as licensing describes.