Skip to content

About

GitHub Action: run token-hunt secret scan and upload SARIF to code scanning

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

token-hunt-action

Run token-hunt against your repository and upload the findings to GitHub code scanning.

token-hunt catches secrets at chat time — Claude Code hooks scanning prompts, bash, and file reads before anything leaves the machine. This action runs the same scanner over a checked-out tree in CI, so what the hooks miss, scheduled scans still catch. Output is SARIF 2.1.0; results appear under the repo's Security tab with stable fingerprints, so re-runs update existing alerts instead of opening new ones.

Usage

name: token-hunt
on:
  push:
    branches: [main]
  schedule:
    - cron: "17 6 * * 1"
permissions:
  contents: read
  security-events: write
jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: tokenhunt/[email protected]

path (optional, default .) selects the work tree to scan. Tracked text files are scanned; binary files are skipped.

License split

The wrapper (this action) is MIT. token-hunt itself is BUSL — same scanner, different terms for embedding it in a product of your own.

tokenhunt.dev

About

GitHub Action: run token-hunt secret scan and upload SARIF to code scanning

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors