Skip to content

v1.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 01:26
b04e166

Changed

  • CI is split into tiers (Story 4.29). Pull requests into main and pushes to
    main run a fast set of twelve jobs in .github/workflows/ci.yml: go test -race
    on ubuntu, macOS and Windows, one lint job (golangci-lint, gofmt, vet including
    GOOS=windows), the leak test, the self-scan, workflow lint, community files, npm
    packages and PyPI wheels on ubuntu, and the Action self-test on ubuntu and
    Windows. Everything else (arm64 legs, macOS and Windows packaging legs, fuzz
    targets, the benchmark jobs, reproducible builds, the goreleaser snapshot and
    container image, the docs walkthrough, the adoption suite, examples, registry id
    stability, supply chain and coverage) moves to the new
    .github/workflows/nightly.yml, which runs daily on main and opens or updates one
    issue labelled ci-nightly when a job fails, closing it on the next passing run.
    Docs-only changes run the tools tests instead of the whole race suite
    (scripts/ci-changes.sh); lint, the leak test and the self-scan always run. The
    release gates are unchanged. tools/workflowcheck allows nightly.yml no write
    scope but issues and id-token.

Fixed

  • The GitHub Action runs on Windows ARM runners (windows-11-arm) (Story 4.30).
    sigstore/cosign-installer stops there with unsupported architecture ARM64, so
    the Action failed before it downloaded TokenHound. On Windows ARM64 the Action now
    downloads cosign v3.1.4's cosign-windows-amd64.exe from the sigstore/cosign GitHub
    release (it has no Windows ARM64 build; Windows 11 on ARM runs it under x64
    emulation), checks it against a sha256 pinned from that release's
    cosign_checksums.txt and fails closed on a mismatch; every other runner keeps
    cosign-installer. The post-publish install check's Windows ARM64 binaries row
    installs cosign the same way, and the Action self-test gains a nightly
    windows-11-arm leg. How the TokenHound binary is verified is unchanged.
  • The post-publish install check's Homebrew rows run brew update before
    brew install (analytics off), as a user's auto-updating Homebrew does. With
    HOMEBREW_NO_AUTO_UPDATE=1 and no update, the macos-15-intel image's Homebrew
    6.0.18 rejected the published cask (invalid 'zap' stanza: wrong number of arguments) and failed the v1.0.0 homebrew brew (macos amd64) row, though the
    cask installs with an updated brew. The cask is unchanged.

Benchmark

Of 1,047 AI keys hidden in agent files, repository files, git history, encoded values and notebooks, TokenHound found 1,047, gitleaks 825 and TruffleHog 440.

Tool Keys found Keys missed False alarms
TokenHound 1,047 of 1,047 (100%) 0 39
gitleaks 825 of 1,047 (79%) 222 203
TruffleHog 440 of 1,047 (42%) 607 8

The test keys are generated from TokenHound's own patterns, which favours TokenHound at finding them; read the method before comparing.

Each row is a tool at its default config: the tuned gitleaks and TruffleHog configs found no extra keys, so they get no rows of their own. Not compared yet: GitHub secret scanning.

What these numbers mean:

  • Keys found: of the 1,047 keys planted, how many the tool reported. A missed key is a leak you never hear about, so this is the number that matters most.
  • False alarm: an alert on something that was not a key (the test also holds 1,175 look-alike decoys). A false alarm costs you a moment to check and dismiss.

Where others do better: TruffleHog raises fewer false alarms (8 against TokenHound's 39), but it found only 440 of the 1,047 keys (42%).

TokenHound's live or dead check gave the right answer for 534 of the 534 keys it checked (against the benchmark's stand-in for the provider APIs, not real providers).

Run on 2026-11-19 with the open agent leak benchmark against TokenHound commit b6aa45ed4bc9, seed 20261119. Full technical results, with precision and recall per category, the tuned configs and every place TokenHound scores lower: RESULTS.md; summary: summary.json; data: https://github.com/aiagentpro/tokenhound/blob/v1.0.1/docs/benchmark/results.json.

Verify this release

Download checksums.txt, checksums.txt.sigstore.json and the archives you want, then check the signature and the digests:

cosign verify-blob --bundle checksums.txt.sigstore.json --certificate-identity https://github.com/aiagentpro/tokenhound/.github/workflows/release.yml@refs/heads/main --certificate-oidc-issuer https://token.actions.githubusercontent.com checksums.txt
sha256sum --ignore-missing -c checksums.txt

(shasum -a 256 --ignore-missing -c checksums.txt on macOS.) Every archive has an SPDX JSON SBOM named <archive>.spdx.json, also listed in checksums.txt. The container image is signed too:

cosign verify ghcr.io/aiagentpro/tokenhound:1.0.1 --certificate-identity https://github.com/aiagentpro/tokenhound/.github/workflows/release.yml@refs/heads/main --certificate-oidc-issuer https://token.actions.githubusercontent.com

Install

Channel Command Platforms
npm (no install) npx tokenhound macOS, Linux and Windows; amd64 and arm64
PyPI uvx tokenhound, pipx run tokenhound or pip install tokenhound macOS, Linux and Windows; amd64 and arm64
Homebrew brew install aiagentpro/tap/tokenhound macOS and Linux; amd64 and arm64
Scoop scoop bucket add aiagentpro https://github.com/aiagentpro/scoop-bucket then scoop install tokenhound Windows; amd64 and arm64
Docker docker run --rm -v "$PWD:/src" ghcr.io/aiagentpro/tokenhound scan /src Linux; amd64 and arm64
Go go install github.com/aiagentpro/tokenhound/cmd/tokenhound@latest macOS, Linux and Windows; amd64 and arm64
GitHub Action uses: aiagentpro/tokenhound/dist/github-action@v1.0.1 macOS, Linux and Windows; amd64 and arm64
Binaries Releases, with checksums.txt and its cosign bundle macOS, Linux and Windows; amd64 and arm64