Skip to content
Spiderfootplus

Type to search. Press / or Ctrl K from any page.

Use case

Find leaked API keys and secrets in websites and repos

Front-end bundles, source maps and public repositories regularly ship credentials by accident. Spiderfootplus crawls a target's web assets and the public code repositories linked to it and checks them with 43 secret detectors, reporting the type and location of each match with the secret masked.

  1. 01Scan a website

    Fetch the site, crawl its pages and scripts, and run the secret detectors over what comes back.

    $ spiderfootplus scan example.com -m http_probe,site_map,secret_scan
  2. 02Include JavaScript endpoints and source maps

    js_endpoints pulls URLs and API paths out of scripts, and sourcemap_scan finds reachable source maps that rebuild the original source tree, a common place for secrets and internal paths.

    $ spiderfootplus scan example.com -m http_probe,site_map,js_endpoints,sourcemap_scan,secret_scan
  3. 03Scan a user's public repositories

    From a username, code_host_recon collects public repositories and commit emails, and secret_scan checks the repositories.

    $ spiderfootplus scan someuser -u investigate -m code_host_recon,secret_scan

Only scan assets you own or are authorised in writing to assess. See keeping a scan in scope. New to Spiderfootplus? Install it first.

Findings it can raise

Templates involved

Questions

Does Spiderfootplus print the secrets it finds?

No. Matches are reported with the secret masked, so a report can be shared without spreading the credential.

What should I do when a secret is found?

Rotate it first, then remove it from the asset and from history. Assume a key that was public was copied.