Skip to content
Security
Command

/secrets-hunt

Hunt leaked credentials in a filesystem path, git history, JS bundles from a recon run, or an entire GitHub org. Wraps trufflehog (verifies live keys against issuer APIs), noseyparker (fast on huge histories), and gitleaks (default rule pack). Falls back to a regex grep if no

From plugin
agentic-bug-hunter
5.8k42 skills9 agents42 commands3 hooks
$ npx -y skills add awarexone/agentic-bug-hunter --agent claude-code

Command definition

secrets-hunt.md
description: Hunt leaked credentials in a filesystem path, git history, JS bundles from a recon run, or an entire GitHub org. Wraps trufflehog (verifies live keys against issuer APIs), noseyparker (fast on huge histories), and gitleaks (default rule pack). Falls back to a regex grep if no scanner is installed. Usage: /secrets-hunt --filesystem <dir> | --git <repo> | --js-bundle <recon-dir> | --github-org <org>

/secrets-hunt

Find leaked API keys, tokens, and credentials — verified when possible.

Usage

/secrets-hunt --filesystem /path/to/project
/secrets-hunt --git https://github.com/target/repo
/secrets-hunt --js-bundle recon/target.com
/secrets-hunt --github-org acme-corp           # needs GITHUB_TOKEN env

Scanners (best installed wins; the script runs whichever it finds)

| Scanner | Strength | |---|---| | `trufflehog` | Verifies live keys against the issuer API (AWS/Slack/Stripe/GH/...) | | `noseyparker` | Fast on massive git histories with low false-positive rate | | `gitleaks` | Opinionated rule pack — solid default for repos |

If none are installed the script still runs a regex fallback over the target so something useful comes out — but you should install at least `trufflehog` (`brew install trufflehog`) for the verified-only output.

Why this is high-impact

  • Leaked AWS / GCP / Slack / Twilio / OpenAI tokens are typically rated **High

to Critical** ($1k–$10k+) on H1.

  • Verified-only mode kills the noisy false positives that get reports closed.
  • JS-bundle mode is the easiest win — companies regularly ship tokens in

bundled frontend JavaScript.

Verifying the find

When a hit comes back, verify the key works the right way before submitting:

  • `streaak/keyhacks` shows the canonical curl-one-liner per provider.
  • Submit only verified, in-scope keys.
  • Don't pivot off the key (no further actions on the cloud account beyond

proving it works) — most programs treat that as out-of-scope.

Output

`findings/secrets/<timestamp>/` containing:

  • `trufflehog.jsonl` — verified hits (high-confidence)
  • `noseyparker.jsonl` — match groups across the history
  • `gitleaks.json` — opinionated default-rule hits
  • `regex_hits.txt` — regex fallback (manual triage required)
Read more
@awarexone
Ships withagentic-bug-hunter

AI-powered bug bounty hunting toolkit that works with or without subscription.

5.8k19 skills9 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
5.8k
Star history of awarexone/agentic-bug-hunter on GitHub, a chart by star-history.com

Other commands on agentic-bug-hunter.

arsenal

arsenal

Command

Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…

autopilot

autopilot

Command

Run autonomous hunt loop on a target — scope check → recon → rank surface → hunt → validate → report with configurable…

breach-check

breach-check

Command

HIBP k-anonymity check on a password wordlist. Enriches each password with its breach count, ranks DESC. Free API (no key), only…

bypass-403

bypass-403

Command

Probe a 403/401 endpoint with the most-paid bypass tricks (header injection, path encoding, method swap, WAF fingerprint,…

chain

chain

Command

Build an exploit chain — given bug A, finds B and C to combine for higher severity and payout. Knows common chain patterns:…

cloud-recon

cloud-recon

Command

Sweep cloud assets for a target — public S3/Azure/GCP buckets via S3Scanner and cloud_enum, plus CloudFlare-bypassed origin IPs…

More commands from other plugins.

deslop-reborn

deslop-reborn

Command

One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents (thermo-nuclear…

@nearai@nearaiInstall Command
audit

audit

Command

Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…

@trailofbits@trailofbitsInstall Command
arsenal

arsenal

Command

Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…

@shuvonsec@shuvonsecInstall Command