Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Einreichen
ToolsExploitsBlog
Einreichen

Hacking-, PenTest- und Cybersicherheits-Tools für Ihr Sicherheitsarsenal!

Kitploit ist ein Verzeichnis von Hacking-, Cybersicherheits- und Pentesting-Tools. Entdecken Sie die neuesten Projekt-Updates, um Schwachstellen zu finden, Systeme zu analysieren, Tests zu automatisieren und Ihre Sicherheit zu stärken.

FeedsKontaktDatenschutz© 2026 Kitploit

Tool-Verzeichnis

Kategorien

Alle Kategorien anzeigen
Loading categories
kneejerk — Scan JavaScript bundles for environment variables, API endpoints, and classified hostnames | Kitploit
Tools/GitHubGitHub/mattmillerai/kneejerk
OSINT (Open Source Intelligence)ReconnaissanceInformation GatheringWeb SecurityPenetration TestingSecret DetectionSubdomain EnumerationRed TeamingAPI Security
GitHubmattmillerai/kneejerk

kneejerk

Scan JavaScript bundles for environment variables, API endpoints, and classified hostnames

vor 15h 9mNoch nicht geprüft
Teilen
Repository anzeigen
Inhalt in der angeforderten Sprache nicht verfügbar. Englische Version wird angezeigt.

kneejerk

 _                 _         _   
| |___ _  ___ ___ (_)___ _ _| |__
| / / ' \/ -_) -_)| / -_) '_| / /
|_\_\_||_\___\___|/ \___|_| |_\_\
                |__/             

Fast Env Var, API Endpoint & Hostname Extraction from JavaScript Bundles for Pentesters & Red Teamers

Latest Release Tests License Go Version


Kneejerk is a pentesting command line tool that scans a website's JavaScript bundles, and the source maps they reference, for hostnames, environment variables and API endpoints. Hostnames are classified against the target domain, flagging its own subdomains (internal APIs, staging, admin) and cloud storage buckets. Use -cookie to scan sites that sit behind a browser session or a Cloudflare challenge.

Features

  • Scans the JavaScript bundles a page loads (.js/.mjs under /static/, /_next/static/, /assets/, /_app/immutable/ or /_astro/), which covers React (CRA), Next.js, Vite/Remix, SvelteKit and Astro builds.
  • Extracts build-time environment variables (NODE_, REACT_APP_, NEXT_PUBLIC_, VITE_, EXPO_PUBLIC_ and AWS_ prefixes) and rates them by severity.
  • Performs API endpoint enumeration throughout the bundles (axios, fetch, jQuery ajax, XMLHttpRequest and "METHOD", "/path" style calls).
  • Extracts and classifies hostnames: the target's own subdomains (internal APIs, staging, admin), cloud storage buckets and third-party hosts.
  • Follows sourceMappingURL comments and scans the source map's embedded sources too.
  • Sends a -cookie header only to the scanned origin, so scans can run behind a browser session or Cloudflare challenge without leaking it to third-party hosts.
  • Outputs findings to the console or to a specified file.

Installation

Homebrew (macOS/Linux)

brew install mattmillerai/tap/kneejerk

Prebuilt binaries

Linux and macOS archives (amd64 and arm64) are published on the latest GitHub release, along with checksums.txt. There is no Windows build.

# Download the archive for your OS/arch and checksums.txt from the releases page,
# then (Linux amd64 shown; also darwin_amd64, darwin_arm64, linux_arm64):
tar xzf kneejerk_*_linux_amd64.tar.gz
sha256sum -c checksums.txt --ignore-missing   # macOS: shasum -a 256 -c checksums.txt --ignore-missing
sudo install -m 755 kneejerk /usr/local/bin/
kneejerk -version

Release archives are stamped with the version. Builds from Homebrew or go install currently report dev for kneejerk -version.

Go Install

go install -v github.com/mattmillerai/kneejerk/cmd/kneejerk@latest

Versions <= v0.3.1 were published under the module path github.com/MillerMedia/kneejerk. go install .../kneejerk@latest will reject that old path with a module path mismatch error — switch to github.com/mattmillerai/kneejerk as shown above.

Usage

Single URL

kneejerk -u https://www.example.com -o output.txt

List of URLs

kneejerk -l urls.txt

urls.txt holds one bare URL per line.

Stdin (bare URLs or nuclei output)

# Bare URLs, one per line (for example, from httpx)
httpx -silent -l urls.txt | kneejerk
# or
kneejerk < urls.txt

Session cookie and self-signed certificates

# Send a cookie (e.g. cf_clearance from a browser session) to the scanned site
kneejerk -u https://www.example.com -cookie 'cf_clearance=...'

# Skip TLS certificate verification (insecure); proxy settings from the environment are still honored
kneejerk -u https://internal.example.com -k

The cookie is only sent to the same origin (scheme, host and port) as the URL being scanned, never to third-party scripts or source maps, and is dropped on cross-origin redirects.

Version

kneejerk -version

Using with nuclei and other Project Discovery tools

# Nuclei-style lines, where the URL is the fourth space-separated field
nuclei -u https://www.example.com | kneejerk

subfinder -d example.com | httpx | nuclei | kneejerk

Example output

The lines below are uncolored findings written by -o from a local demo page whose JavaScript bundle (and its source map) contained these values, scanned with -domain example.com. Console output is colorized; the line format is the same against a live site.

[kneejerk] [env-var] [info] http://127.0.0.1:8765/static/js/main.js [NODE_ENV: "production"]
[kneejerk] [env-var] [low] http://127.0.0.1:8765/static/js/main.js [REACT_APP_API_HOST: "https://api.example.com"]
[kneejerk] [env-var] [high] http://127.0.0.1:8765/static/js/main.js [REACT_APP_SECRET: "s3cr3t"]
[kneejerk] [env-var] [info] http://127.0.0.1:8765/static/js/main.js [NEXT_PUBLIC_REGION: "us-east-2"]
[kneejerk] [env-var] [info] http://127.0.0.1:8765/static/js/main.js [VITE_BUCKET: "client-bucket"]
[kneejerk] [api] [info] http://127.0.0.1:8765/static/js/main.js ["GET", "/api/v1/users"]
[kneejerk] [api] [info] http://127.0.0.1:8765/static/js/main.js ["POST", "/api/v1/login"]
[kneejerk] [domain] [high] http://127.0.0.1:8765/static/js/main.js [api.example.com]
[kneejerk] [domain] [high] http://127.0.0.1:8765/static/js/main.js [staging-api.example.com]
[kneejerk] [bucket] [medium] http://127.0.0.1:8765/static/js/main.js [example-uploads.s3.amazonaws.com]
[kneejerk] [domain] [info] http://127.0.0.1:8765/static/js/main.js [js.stripe.com]
[kneejerk] [api] [info] http://127.0.0.1:8765/static/js/main.js.map ["DELETE", "/api/v1/admin/users"]
[kneejerk] [domain] [high] http://127.0.0.1:8765/static/js/main.js.map [admin.example.com]

Example output from stdin

Reading from stdin expects nuclei-style output lines, where the URL is the fourth space-separated field ([template] [type] [severity] URL). Each input line is echoed before its findings. Bare URLs also work on stdin (e.g. httpx -silent | kneejerk or kneejerk < urls.txt): a non-blank line with fewer than four fields is scanned as a plain URL, while nuclei-style lines remain supported. Blank lines are skipped. -l is for bare URLs only, one per line, and does not parse nuclei output.

Tool herunterladen

Beliebteste

Alle anzeigen →

Entdecken Sie die meistgenutzten Tools unserer Community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    960
  • 2

    wifit3

    derv82/wifit3

    Wifite, aber nur USB & plattformübergreifend.

    749
  • 3

    OsintHunter

    letox4/osinthunter

    🎯 Das ultimative OSINT-Toolkit: Untersuchungsgraph, Konfidenzbewertung, Alias-Familien, Karte, Zeitleiste und Berichte. 49 Module, 400+ Websites, keine API-Schlüssel erforderlich.

    628
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer ist eine Open-Source-Plattform für Privileged Access Management (PAM), die DevOps- und IT-Teams bedarfsgesteuerten und sicheren Zugriff auf SSH-, RDP-, Kubernetes-, Datenbank- und RemoteApp-Endpunkte über einen Webbrowser bietet.

    501
  • 5

    SafeLine

    chaitin/safeline

    Selbst gehosteter WAF und Reverse Proxy, der bösartigen HTTP-Verkehr filtert, SQL-Injection, XSS und Bot-Angriffe blockiert, mit Ratenbegrenzung und dynamischer HTML/JS-Verschlüsselung.

    455
  • 6

    mcp-reverse

    1llu50ry/mcp-reverse

    MCP-Server, der über 180 Reverse-Engineering-Tools bereitstellt und Ghidra, IDA, x64dbg, Frida sowie 56 weitere Backends mit nativen Binärparsern und einer Wissensdatenbank mit 4.200 Skills zusammenführt.

    340

Alle Tools erkunden

Durchsuchen Sie unsere Tool-Sammlung

Alle Tools anzeigen →