Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

Betterleaks Cloud - GitHub & S3 Secret Scanner

von AnshumanAtreyVersion 0.3.4i★ –iLäuft in der Cloud
Name in der Registryio.github.AnshumanAtrey/betterleaks-cloud

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

Betterleaks Cloud - GitHub Secret Scanner + Validator

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft in der Cloud
  • Transport: Streamable HTTP
  • Kategorie: Entwicklertools
  • Das musst du eintragen: Authorization

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 3 von 3 bestanden
  • Läuft auf dem Server des Entwicklers: Was du fragst, läuft über dessen Server.
  • Das trägst du selbst ein: Authorization

Als geheim markierte Werte sind Schlüssel zu deinem Konto. Gib sie nie weiter und füge sie nie in einen Chat ein.

Du brauchst

Welche App nutzt du?

Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.

Diese Adresse braucht einen Schlüssel in einem Header der Anfrage, und das Menü zum Hinzufügen von Connectors kann ihn nicht setzen. Nutze stattdessen Claude Code, Cursor oder VS Code.

Führe das in deinem Terminal aus

claude mcp add --transport http betterleaks-cloud 'https://mcp.apify.com/?tools=anshumanatrey/betterleaks-cloud' --header 'Authorization: your-value'

Trag die leeren Werte ein, bevor du ihn startest.

In Cursor öffnen

Oder kopier die Einstellungen selbst

In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen

{
  "mcpServers": {
    "betterleaks-cloud": {
      "url": "https://mcp.apify.com/?tools=anshumanatrey/betterleaks-cloud",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

In VS Code öffnen

Oder kopier die Einstellungen selbst

In .vscode/mcp.json in deinem Projekt einfügen

{
  "servers": {
    "betterleaks-cloud": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=anshumanatrey/betterleaks-cloud",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

Diese Adresse braucht einen Schlüssel in einem Header der Anfrage, und das Menü zum Hinzufügen von Connectors kann ihn nicht setzen. Nutze stattdessen Claude Code, Cursor oder VS Code.

Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.

Werte, die du selbst einträgst

  • Authorization geheim erforderlich HTTP header
    Apify API token, as 'Bearer '. Runs bill to this account.

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Was er kann

Der Server verlangt eine Anmeldung, bevor er seine Tools auflistet.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 7. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto AnshumanAtrey bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • ✓ Bestanden

    Endpunkt antwortet

    Antwort in 22 ms (HTTP 401)

  • ✓ Bestanden

    Anmeldung mit OAuth

    Gibt OAuth-Anmeldung an, damit deine KI-App dich zum Einloggen weiterleiten kann

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Noch nicht geprüft; wir lesen die Tool-Liste, wenn wir den Endpunkt prüfen

Im Vergleich mit anderen in Entwicklertoolsi

  • Mehr Sterne als 0 % der anderen 1394 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 83 % der anderen 1394 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 1394 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist Betterleaks Cloud - GitHub & S3 Secret Scanner sicher?

Er hat 3 von 3 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Das musst du eintragen: Authorization

Läuft er auf meinem Computer oder in der Cloud?

Er läuft in der Cloud des Entwicklers. Du verbindest dich übers Internet, ohne etwas zu installieren, aber was du sendest, läuft über die Server des Entwicklers.

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (0.3.4) kam vor 8 Tagen in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Er verbindet sich per URL, also funktionieren auch Apps, die Remote-MCP-Server akzeptieren, zum Beispiel ChatGPT im Entwicklermodus.

Was kann ich stattdessen nutzen?

In derselben Kategorie: GitHub, Desktop Commander, Cloudflare MCP

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

GitHub

von github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

Computer oder Cloud★ 34.245MITAktualisiert vor 3 Tagen
Installieren

Desktop Commander

von wonderwhy-er

MCP server for terminal commands, file operations, and process management

Läuft auf deinem Computer★ 10.225MITAktualisiert vor 15 Tagen
Installieren

Cloudflare MCP

von cloudflare

Cloudflare MCP servers

Läuft in der Cloud★ 4.446Apache-2.0Aktualisiert vor 14 Monaten
Installieren

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

Betterleaks Cloud - GitHub & S3 Secret Scanner

Cloud-hosted Betterleaks v1.3.1 for hunting leaked API keys, wallet private keys, and credentials anywhere on GitHub, in cloned git repos, or in S3 / R2 / MinIO buckets. Optional live validation probes each detected secret against the vendor API to flag which ones are still active.

Available as an Apify Actor. $0.05 start + $0.05 per repo scanned + $0.30 per live-validated key, each 10% less on Apify's Scale plan and 20% less on Business (the start fee excepted). No install, no CLI, flat JSON output.


What does it do?

Scans a GitHub org, user, repo, pull request, issue, gist, action workflow, or S3 bucket for leaked credentials. Built on Betterleaks (the Gitleaks successor, maintained by the original Gitleaks author Zachary Rice + co-maintainers from Red Hat, Amazon, RBC). Every Betterleaks CLI flag is exposed as an input field. When you enable validation, each finding is probed live against the vendor API and tagged valid, invalid, revoked, unknown, or error.

How is it different from running Betterleaks locally?

Local Betterleaks CLIThis actor
SetupInstall Go binary, set up GitHub token, configure shellPaste a JSON input
ScopeOne target at a timegithub / git / s3 modes + our global_github mode (Code Search picks repos)
Validation costYour machine's HTTP egressApify-managed, parallel workers
Output handlingstdout JSON, parse yourselfDataset records, filterable views
Schedulecron + DIYApify Schedules built-in
CostYour laptop's electricity$0.05 actor start + $0.05 per repo scanned

How is it different from our gitleaks-github-secret-scanner actor?

gitleaks-cloudbetterleaks-cloud (this)
EngineGitleaks 8.xBetterleaks 1.3.1 (Gitleaks successor)
Live validationnot supportedyes (opt-in)
Source typesgithub + git onlygithub, git, s3, dir, stdin, global_github
Pricing$0.01 + $0.02 per repo$0.05 + $0.05 per repo + $0.30 per live-validated key
Best forVolume scanning, low cost per scanPremium scans where "is the secret still live?" matters

When should I use it?

  • Auditing your own GitHub org for secrets that slipped into commits
  • Bug bounty hunting where you want to validate keys live before reporting
  • Pre-acquisition security check on a target company's GitHub footprint
  • Continuous monitoring on a schedule, alerting on any new live-validated finding
  • Forensics: tracing which dangling commit on which PR ref leaked a credential
  • Scanning a Cloudflare R2 / AWS S3 bucket someone shared publicly

What does it cost?

Pay-per-event:

  • $0.05 per actor start
  • $0.05 per repo scanned (in github / git / global_github modes)
  • $0.01 per finding pushed to the dataset
  • $0.30 per live-validated secret (only when validation is on AND status returns valid)
  • $0.005 per Code Search query (only in global_github mode)

Typical scans:

ScenarioCost
Scan 1 small repo, 1 finding, no validation$0.11
Scan 1 big repo, 30 findings, no validation$0.40
Scan an org with 25 repos, 50 findings, no validation$1.80
25-repo global search for rzp_live_$1.93
100-repo scan, 200 findings, 10 live-validated$10.05

Compare to GitGuardian Enterprise at ~$5000/year flat. Per-comprehensive-scan with this actor is 300-500x cheaper.

Which modes can I scan in?

ModeWhat it scansRequired input
githubA specific GitHub org / user / repo / PR / issue / gist (you choose)target_url, github_token recommended
global_githubAll of GitHub by keyword - we add this layer via Code Searchglobal_search_query, github_token required
gitA single git clone URL with full historytarget_url
s3AWS S3, Cloudflare R2, MinIO, or any S3-compatible buckettarget_url, S3 creds (or s3_anonymous for public)
dirA tarball / zip URL - we download, extract, scan filesystemdir_source_url
stdinRaw text content you paste instdin_content

Which GitHub resources can it scan in github mode?

All 12 surfaces betterleaks supports, selectable via include / exclude:

  • repos (default), forks
  • prs, pr-comments
  • issues, issue-comments
  • actions, action-artifacts
  • discussions
  • releases, release-assets
  • gists

You can also filter by since / until dates, exclude repos by glob pattern, or target specific GitHub Actions workflow files.

Does it find leaks that were deleted from current files?

Yes. Betterleaks scans the full git history. A secret that was committed and then deleted in a later commit still appears in the history and gets detected. The Commit field on each finding tells you which commit introduced the leak.

You can also enable advanced --log-opts pass-through to use git pickaxe (-S secret_string) for targeted historical searches.

Is the secret validated against the live vendor API?

Optional - off by default to keep scans fast. Set validation: true and Betterleaks fires HTTP requests against the vendor API for each finding using the rule's built-in CEL validator.

Output fields:

  • ValidationStatus: valid (still active), invalid (rejected), revoked (explicitly disabled), unknown (couldn't determine), or error
  • ValidationReason: human-readable why
  • ValidationMeta: vendor-specific metadata. For a GitHub PAT, this includes username, name, and granted scopes. For Stripe, the test/live mode + account info.

Note: validation only fires for rules that ship with a validate CEL clause in their TOML. Not every detected secret type has one (the upstream rule set is expanding over time).

You can also tune validation behavior:

  • validation_timeout (per-request HTTP timeout)
  • validation_workers (parallel HTTP workers)
  • validation_status (filter output to only certain statuses)
  • validation_debug (include raw HTTP response in ValidationMeta)
  • validation_extract_empty (include validator outputs even when empty)
  • validation_env_vars (expose extra env vars to CEL validators)

Can I use a custom detection rule?

Yes - paste a full betterleaks TOML config into custom_config_toml. Either replaces the built-in rules or adds to them depending on how you write the TOML.

You can also use enable_rule to run only a whitelist of rule IDs (e.g. ["github-fine-grained-pat", "stripe-secret-key"]) from the built-in set without writing your own config.

Reference format: https://github.com/betterleaks/betterleaks/blob/main/.betterleaks.toml

What does the output look like?

Each dataset record is the raw Finding struct from betterleaks - no transformation, no field renaming:

{

"RuleID": "github-fine-grained-pat", "Description": "GitHub Fine-Grained Personal Access Token, risking unauthorized repo access.", "Match": "github_pat_11AABBCC...", "Secret": "github_pat_11AABBCC...", "StartLine": 12, "EndLine": 12, "StartColumn": 18, "EndColumn": 105, "MatchContext": "...optional surrounding lines if match_context is set...", "CaptureGroups": {}, "Fragment": { "FilePath": "config/secrets.env", "Url": "https://github.com/owner/repo/blob/ /config/secrets.env#L12" }, "Attributes": { "path": "config/secrets.env", "resource": "git.patch_content", "url": "https://github.com/owner/repo/blob/ /config/secrets.env#L12", "git.author_name": "alice", "git.author_email": "alice@example.com", "git.commit": "abcd1234", "git.date": "2025-06-12T10:23:14Z", "git.message": "Add config", "github.owner": "owner", "github.repo": "repo", "github.visibility": "public" }, "Tags": [], "Fingerprint": "abcd1234:config/secrets.env:github-fine-grained-pat:12", "ValidationStatus": "valid", "ValidationReason": "", "ValidationMeta": { "username": "alice", "name": "Alice Doe", "scopes": "repo, workflow" } }

The dataset has two pre-configured views:

  • Findings: all records
  • Live secrets only: filter to ValidationStatus == valid, the high-signal triage list

How accurate is it?

Based on the underlying Betterleaks 1.3.1 rule set (200+ detectors), plus the upstream's BPE-tokenization based false-positive filter and CEL-based contextual filters. Compute usage observed in real test runs:

  • Single small repo scan: ~7 seconds, 0.0084 compute units
  • Scan of anshumanatrey/* (~30 repos): ~134 seconds, 0.1491 compute units, 735 findings
  • 3-repo global_github scan with query rzp_live_: ~8.5 seconds, 0.0095 compute units, 14 findings

Common questions

Q: Can I scan a private repo? Yes - provide a github_token with repo scope.

Q: Does it scan PR branches and dangling commits? PR refs yes via --include prs. Dangling commits aren't currently exposed but the underlying tool supports it.

Q: How does it handle rate limits? Without a github_token, GitHub limits to ~60 req/hr shared. With a token: 5000 req/hr on your account. Always provide a token for any real scan.

Q: Can I run it on a schedule? Yes via Apify Schedules. Recommended for continuous monitoring use cases.

Q: Can I use my own betterleaks rule TOML? Yes via custom_config_toml. Or whitelist specific built-in rules via enable_rule.

Q: What's `global_github` mode? Our addition on top of upstream betterleaks. You provide a search query, we use GitHub Code Search to find unique candidate repos, then run betterleaks git against each in parallel. Useful for hunting a specific secret pattern across all of GitHub.

Q: Why not use the cheaper gitleaks-github-secret-scanner actor instead? Use that one for high-volume cost-sensitive scans. Use this one when live validation matters (bug bounty triage, incident response, knowing which secrets to actually rotate).

Q: What happens to detected secrets? Written to the run's dataset, accessible only to the user who ran the actor. We never store them server-side.

Q: Can I scan an S3 bucket I don't own? Only if it's public (anonymous mode) or you have credentials.

Q: What's the maximum scan size? No hard cap on repos. max_target_megabytes (default 100) skips files larger than that.

Limitations

  • Per-CEL-rule validation: only rules with a validate clause actually probe live. Not every secret type has one yet.
  • global_github mode requires a GitHub PAT (Code Search is auth-only).
  • dir mode requires the source to be a downloadable tarball URL, not a local file.
  • Apify run timeout caps individual scans at 30 minutes per subprocess. For org scans larger than 200 repos, split into multiple runs.
  • The stdin mode is limited by Apify's input size cap (~5 MB).

Ethical use

For authorized security testing only. This actor scans public GitHub content (the same content any logged-in GitHub user can see), or private repos that your PAT explicitly grants access to.

Findings should be reported through responsible disclosure channels:

  • The leaking developer (commit author email)
  • The vendor's security@ address
  • A bug-bounty program if one exists for the vendor

Using leaked credentials without owner authorization is illegal in most jurisdictions.

Other actors in my portfolio

Nur der Anfang wird gezeigt; den Rest findest du im Repo

PopNx fragen