Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
keydra — 用于检测源码树和已部署 Web 应用中泄露的 API 密钥、令牌和凭据的 CLI 扫描器,支持 Supabase/Firebase 配置错误检查并输出 SARIF。 | Kitploit
工具/GitHubGitHub/drau6/keydra
防御工具静态分析漏洞扫描器Web漏洞扫描器配置审计Web安全云安全DevSecOps秘密检测错误配置网络爬虫
GitHubdrau6/keydra

keydra

用于检测源码树和已部署 Web 应用中泄露的 API 密钥、令牌和凭据的 CLI 扫描器,支持 Supabase/Firebase 配置错误检查并输出 SARIF。

查看仓库
212026年11月18日尚未审核
分享
内容在请求的语言中不可用。显示英文版本。

Keydra

Find what your vibe-coded app is leaking — before someone else does.

AI app builders (Lovable, Bolt, Cursor, v0, …) ship fast, and often ship with a database wide open or a secret key inside the JavaScript bundle. keydra looks at your deployed app the same way an outsider would, or at your source tree before you deploy, and tells you what is exposed, with a copy-paste fix.

[!IMPORTANT] keydra is primarily designed to run as a standalone CLI tool. Running keydra as a publicly accessible service may expose sensitive data and introduce security risks. Use it with caution and implement appropriate security controls.

$ keydra scan https://my-app.example.com
                         █▄
   ▄▄                    ██ ▄
   ██ ▄█▀ ▄█▀█▄ ██ ██ ▄████ ████▄▄▀▀█▄
   ████   ██▄█▀ ██▄██ ██ ██ ██   ▄█▀██
  ▄██ ▀█▄▄▀█▄▄▄▄▄▀██▀▄█▀███▄█▀  ▄▀█▄██
                  ██                    v1.1.0
                ▀▀▀

keydra — find what your vibe-coded app is leaking.

  url   https://my-app.example.com
  2 pages · 14 files scanned · 2.1s

  1  [Supabase] Supabase table "profiles" is publicly readable
     │ The table can be read with the public anon key. ...
     │ evidence  GET /rest/v1/profiles → 206, rows visible to anonymous role: 1204
     │ fix       alter table public.profiles enable row level security; …

Quick start

1. Install Go. You need Go 1.27 or newer (go version to check; download from https://go.dev/dl). With Go 1.21+ the right toolchain is fetched automatically based on go.mod.

2. Get the code and build it.

unzip keydra.zip && cd keydra      # or: git clone <your repo> && cd keydra
go build -o bin/keydra ./cmd/keydra   # or: make build

Windows (PowerShell): go build -o bin\keydra.exe ./cmd/keydra

You do not need to rename the module to build locally. Replace github.com/drau6/keydra with your own path only when you publish the repo (or if you want go install github.com/<you>/keydra/cmd/keydra@latest to work).

3. Run your first scan.

# source code, before you deploy: safe, no network
./bin/keydra scan --repo .

# a deployed app you own (or have written permission to test)
./bin/keydra scan https://my-app.example.com

# also follow internal links, because secrets often hide on /admin or /dashboard
./bin/keydra scan https://my-app.example.com --depth 2

# see every check Keydra performs
./bin/keydra rules

4. Optional: install it on your PATH.

go install ./cmd/keydra      # installs to $(go env GOPATH)/bin
keydra version

5. Optional: run the tests. go test ./... (or make test).

Notes: colors turn on automatically in a terminal. On legacy Windows cmd.exe you may see raw escape codes; use Windows Terminal/PowerShell or --no-color. The large banner is skipped when output is piped, when the terminal is narrower than the banner (COLUMNS), or with --no-banner.

Install

go install github.com/drau6/keydra/cmd/keydra@latest

(after you have replaced yourname and pushed the repo), or make build and use bin/keydra.

Usage

keydra scan <url> [flags]          # scan a deployed app
keydra scan --repo <dir> [flags]   # scan source before you deploy
keydra scan --list <file> [flags]  # scan every URL in the file, one per line (max 50)
keydra rules                       # list every check
keydra <url>                       # shortcut for scan

  --repo <dir>      scan a local source tree instead of a URL (no network)
  --list <file>     scan a list of URLs, one per line (# comments and blank lines ignored, max 50)
  --format <fmt>    text | json | sarif (default text); --json is a shortcut
  --no-banner       one-line title instead of the ASCII-art banner
  --color <mode>    auto|always|never (honors NO_COLOR and FORCE_COLOR; --no-color also works)
  --no-probe        static analysis only, never contact discovered backends
  --validate        opt-in: ask each provider (one read-only request) whether a detected secret is still active
  --redact          mask detected credential values in text/json output (SARIF always masks them)
  --allow-private   allow discovered backends on local/private addresses (local development)
  --fail-on <sev>   exit 1 at/above severity: info|low|medium|high|critical|never (default high)
  --depth N         page levels to crawl in URL mode: 1 = only the given page (default),
                    2 = also its internal links, up to 5
  --max-pages N     maximum HTML pages to fetch in URL mode (default 20, max 200)
  --sitemap         also scan pages listed in /sitemap.xml
  --max-files N     max files to read: JS downloads in URL mode, source files in
                    repo mode (default 40 in URL mode; repo 5000 unless set)
  --third-party     also scan scripts hosted on other origins
  --timeout 15s     per-request timeout
  -v                show full fix snippets

Exit codes: 0 clean, 1 findings at/above --fail-on, 2 error. With --list, 2 also means "at least one target failed to scan" (unless findings already forced exit 1).

What the output looks like

A repo scan of a small vibe-coded app (--no-color --no-banner; on an interactive terminal the banner is ASCII art and the │ gutter is colored by severity — red critical, orange high, blue low):

  KEYDRA  v1.1.0

  repo  my-app
  3 files scanned · 1ms

  1  [Supabase] Supabase service/secret key exposed in client code
     │ This key bypasses Row Level Security. Whoever holds it has full read/write access to the whole database.
     │ evidence eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImFiY2RlZmdoaWowMTIzNDU2Nzg5Iiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImlhdCI6MTc0OTgxODI0OSwiZXhwIjoyMDY1Mzk0MjQ5fQ.AAAAAAAAbbbbbbbbCCCCCCCCddddddddEEEEEEEE
     │ fix      Rotate the key in Supabase → Project Settings → API now, remove it from the frontend and use it only from server-side code.

  2  [Repository] .env is not covered by .gitignore
     │ Environment files normally hold server secrets. If this file is committed, every secret in it is in your git history.
     │ where    .env
     │ fix      Add ".env*" and "!.env.example" to .gitignore. If it was already committed: `git rm --cached .env`, then rotate every key inside and purge history.

  3  [Secrets] Possible unnamed secret (high-entropy string) exposed in client code
     │ This value ships to every visitor's browser and can be copied by anyone.
     │ evidence eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImFiY2RlZmdoaWowMTIzNDU2Nzg5Iiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImlhdCI6MTc0OTgxODI0OSwiZXhwIjoyMDY1Mzk0MjQ5fQ.AAAAAAAAbbbbbbbbCCCCCCCCddddddddEEEEEEEE
     │ where    lib/api.js
     │ fix      Keydra found a long, random-looking string that matches no known key format. Check whether it is a credential: if so, rotate it and move it server-side. Build artifacts such as hashes or encoded assets can be ignored.

  note: Supabase configuration found in source; run `keydra scan <deployed-url>` to test the live backend

Every finding shows the matched value in full (evidence), where it was found, and a copy-paste fix — so a scan report is all you need to start remediation. Pass --redact to mask credential evidence before sharing a text or JSON report (SARIF output always masks it). Values above are examples, not real keys.

Crawling more than one page

By default only the page you give is scanned (plus its scripts, lazy chunks and source maps). Use --depth to follow internal links, and --sitemap to add the pages a site lists in /sitemap.xml:

keydra scan https://my-app.example.com --depth 3 --max-pages 40
keydra scan https://my-app.example.com --sitemap
下载工具

相关工具

  • wazuh

    开源XDR和SIEM平台,用于跨端点和云工作负载的威胁检测、日志分析、文件完整性监控、漏洞评估和合规管理。

  • suricata

    用于实时流量检测、入侵检测与防御、协议分析以及基于规则的威胁狩猎的开源网络 IDS/IPS/NSM 引擎。

  • zeek

    Zeek 是一个强大的网络分析框架,与你可能知道的典型 IDS 有很大不同。

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    Callisto

    jetp1ane/callisto

    自动化二进制漏洞分析工具,通过Ghidra反编译可执行文件,使用Semgrep扫描伪C代码,并利用GPT-3.5-Turbo验证发现以减少误报。

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    针对 CVE-2026-43499 的一键式 Android 内核漏洞利用应用,通过内核模块加载实现权限提升,并提供偏移提取与设备端分析工具。

    840
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    451
  • 4

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    378
  • 5

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    352
  • 6

    wifit3

    derv82/wifit3

    Wifite 但仅限 USB 且跨平台。

    333

探索所有工具

浏览我们的工具集合

查看所有工具 →