Skip to content
プロジェクト

概要

A collection of wordlists for hunting exposed secrets, API keys and credentials in public sources such as GitHub code search, pastebins and other indexed code hosting sites.

セキュリティ・プライバシー

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

keywords

A collection of wordlists for hunting exposed secrets, API keys and credentials in public sources such as GitHub code search, pastebins and other indexed code hosting sites.

The keyword lists were originally taken from Shashank-In/TravisLeaks, mixed with additional patterns gathered from real-world Kubernetes secrets (environment variable names, config keys and key-value patterns commonly seen in Secret and ConfigMap objects).

Contents

File Entries Description
keywords.txt ~1,600 One keyword per line: credential-related variable names and config keys (password=, --token=, api_key, private key PEM headers such as -----BEGIN RSA PRIVATE KEY-----, and similar). Useful as grep/regex needles when scanning code or HTTP responses for secrets.
tocheck.txt ~1,800 Pre-built GitHub code search URLs of the form https://github.com/search?q=AKIA...&type=Code, mostly targeting AWS access key ID prefixes (AKIA). Useful as a checklist when manually reviewing leaked AWS keys.

Both files are plain text, one entry per line, with no headers — they can be fed directly into tools that accept a wordlist.

Usage

grep a directory of cloned repos

while read -r kw; do
  grep -rniF -- "$kw" ./repos/ && echo ">> $kw"
done < keywords.txt

Scan responses with ffuf-style request loops

Match keyword lines against HTTP responses (for example responses from exposed .env, config or debug endpoints):

while read -r kw; do
  curl -s "https://target.example/.env" | grep -qiF -- "$kw" && echo "HIT: $kw"
done < keywords.txt

nuclei-style matchers

Turn lines from keywords.txt into nuclei word matchers:

id: exposed-secrets-keywords

matchers-condition: or
matchers:
  - type: word
    part: body
    condition: or
    words:
      - "-----BEGIN RSA PRIVATE KEY-----"
      - "password="
      - "api_key"

Work through the GitHub search checklist

Open the pre-built search URLs in tocheck.txt in a browser, or fetch them programmatically:

while read -r url; do
  echo "Checking: $url"
  # open in browser, or query the GitHub API with your own token
done < tocheck.txt

Note that GitHub code search requires authentication for API access and rate limits unauthenticated requests.

Disclaimer / Authorised use

This repository is for authorised security testing and responsible disclosure only. Do not use these lists to access, exfiltrate or misuse credentials that do not belong to you. If you find exposed keys belonging to others, report them responsibly to the affected party or a coordinated disclosure programme.

Author

Robbie Wiggins — What-Security · GitHub

関連プロジェクトを探す

読み込み中…