re-leak-scan
Detects leaked Confluence wiki page links in binary artifacts, which may expose internal documentation, with optional live verification of reachability and anonymous access.
Detects leaked Google Drive document URLs in binary artifacts, which often point to publisher-internal documents.
Detects leaked Logstash or log-ingestion URLs in binary artifacts, which may reveal internal observability infrastructure.
Detects leaked Sentry DSNs in binary artifacts, enabling identification of potential forged crash-report submission endpoints, with optional live verification of the Sentry host.
Detects leaked Slack tokens in binary artifacts, which could provide long-lived API credentials.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@re-leak-scan scan mygame.exe for leaked secrets"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
re-leak-scan
MCP server for detecting publisher telemetry pipeline leaks in binary artifacts. Scans the file's string table for:
Sentry DSNs (with embedded public auth) — enables forged crash-report submission
Logstash / log-ingestion URLs — internal observability infrastructure
Confluence wiki page links — often engineering-only docs / secrets
Google Drive document URLs — publisher-internal documents
AWS access key IDs — long-lived credentials
Slack tokens — long-lived API credentials
Generic high-entropy hex strings — possible keys / secrets
The output is vendor-neutral: pattern categories describe observable string content, not specific publishers.
Why
The 2026-06-05 stress test surfaced a new attack-surface class that the existing tools did not cover:
Sample A (
GameAssembly.dll): 16,236 Google Drive URL matches — the bulk are publisher-internal design documents.Sample B (
CrimsonDesert.exe): a Sentry DSN with embedded auth, a Logstash ingestion URL, an internal dev server URL, and a Confluence wiki page link — all in plaintext, all unprotected by the encrypted-VM bytecode anti-tamper.
re-leak-scan fills that gap. It is pure-Python (no .NET, no system tools), works on any binary file, and is the .re-leak-scan / .re-telemetry-extract foundation for the re-leak-scan and re-telemetry-extract skills.
Related MCP server: ai-scanner-mcp
Tools
Tool | What it does |
| Health check — return pattern catalog + |
| Walk the file, extract ASCII + UTF-16LE printable strings |
| Apply the regex catalog over a binary's string table |
| Full pipeline: extract → apply all detectors → return findings |
| Parse a Sentry DSN + probe |
| Probe a Confluence URL to confirm reachability + anon-access |
Install
Part of the RE-AI plugin; ./install.sh installs the package. To install standalone:
pip install -e ./servers/re-leak-scan
# Optional: live verification (Sentry / Confluence HTTP probes)
pip install -e './servers/re-leak-scan[verify]'Run
re-leak-scan # stdio transport (default for MCP)
python -m re_leak_scan # equivalentPattern catalog
The 7 patterns are defined in src/re_leak_scan/patterns.py. Adding a new one is a 6-line dataclass entry. The patterns are all vendor-neutral — they match the URL schemes of public infrastructure (Sentry.io, Logstash, Atlassian Confluence, Google Docs) without naming any specific publisher.
Active verification
verify_sentry_dsn and verify_confluence_url make outbound HTTP requests. By default, they are passive — they only check that the endpoint responds. They do not submit forged crash reports, do not authenticate, and do not exfiltrate the leaked data.
If you run these in an air-gapped environment, the verifier returns verified: false, reason: "connection failed: ..." — the leak detection itself is unaffected.
Available Tools
6 toolscheck_leak_scanA
Return pattern-catalog summary + dependency availability.
Always returns status: OK (this server has no external
system-tool dependencies — pure Python).
The optional [verify] extra adds httpx for live
verification of Sentry / Confluence endpoints. When missing,
:func:verify_sentry_dsn and :func:verify_confluence_url
return {"verified": False, "reason": "httpx not installed"}
— the leak detection itself is unaffected.
Inputs: no named parameters.
extract_stringsA
Extract printable ASCII and UTF-16LE strings from path.
Args: path: file to scan min_length: minimum string length (default 8) max_strings: per-encoding cap (default 50,000)
Returns a dict with ascii and utf16le arrays of
{"string", "offset", "encoding"}. This is the raw
string extraction — pass the result to :func:find_secrets
for the leak-detection pass.
On a 500+ MB GameAssembly.dll, prefer the section-aware
:func:re-lief.categorize_strings instead; this implementation
walks the file linearly and may be slow.
Inputs: path (required), min_length, max_strings.
find_secretsA
Run the regex leak catalog over path's string table.
Args:
path: file to scan
detector_set: comma-separated list of pattern names to apply
(default: all categories except the noisy generic-hex-secret).
Use detector_set="all" for the full catalog.
min_length: minimum string length passed to :func:extract_strings
max_per_category: per-category match cap (default 200)
Returns::
{
"path": "...",
"totals": {"strings_seen": N, "matches": N},
"truncated": bool,
"categories_run": ["sentry-dsn", ...],
"by_category": {
"sentry-dsn": {"count": N, "risk": "HIGH", "description": "...",
"matches": [{"string": "...", "offset": N, ...}]},
...
},
}
Inputs: path (required), detector_set, min_length, max_per_category.
scanA
Full pipeline: extract strings → apply all detectors → return findings.
Convenience wrapper for the typical workflow. Equivalent to
find_secrets(path, detector_set="all", max_per_category=...).
Returns the same shape as :func:find_secrets.
Inputs: path (required), max_per_category.
verify_confluence_urlA
Probe a Confluence URL to confirm reachability + anon-access.
Returns::
{"url": "...", "verified": bool, "http_status": N | None,
"anon_accessible": bool, "reason": "..."}A 200 means the page is publicly readable (anon-accessible). A 401/403 means it's behind auth (still reachable). A connection error means unreachable.
Note: this only checks the URL — the actual content of the Confluence page is the analyst's responsibility.
Inputs: url (required).
verify_sentry_dsnA
Parse a Sentry DSN and (if httpx is available) probe the
Sentry host to confirm reachability.
Args:
dsn: a single Sentry DSN string (the full URL, including
the https://key@host/project_id form)
Returns::
{"dsn": "...", "parsed": {"host": "...", "project_id": N,
"public_key": "..."},
"verified": bool, "http_status": N | None, "reason": "..."}The probe hits <host>/api/0/projects/<org>/<project>/ with
the public key. A 200/401/403/404 means the endpoint is
reachable (the specific status tells you whether the key has
project access). A connection error or timeout means the
host is unreachable from the analyst's network.
Inputs: dsn (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Most tools are distinct: check_leak_scan for status, extract_strings for raw extraction, find_secrets for catalog detection, scan as a wrapper, and verification tools for URLs/DSNs. However, find_secrets and scan overlap significantly, as scan is essentially a convenience wrapper for find_secrets with all detectors.
Tools predominantly use verb_noun snake_case (e.g., extract_strings, verify_confluence_url), but 'scan' is a bare verb, breaking the pattern. This minor inconsistency does not hinder readability.
With 6 tools, the set is well-scoped for a leak scanning server, covering status checking, string extraction, detection, full pipeline, and specific verifications. No unnecessary tools, and the count is appropriate for the domain.
The tool surface covers the core workflow: status check, extraction, detection, and verification for two common services. Minor gaps exist, such as pattern catalog management (listing/updating) and support for more service types, but essential operations are present.
Related MCP Connectors
Static MCP server scan: injection, secrets, tool poisoning. SARIF + rules catalog.
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
MCP server for detecting and redacting PII (Personally Identifiable Information) in PDF documents.
Audit your MCP servers for poisoned tools and leaked secrets, and check AI-generated code for flaws.
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceEnterprise-grade MCP (Model Context Protocol) server for detecting secrets and sensitive information in GitHub repositories. Scans for 35+ types of secrets including API keys, passwords, tokens, and credentials with production-ready reliability features.50-
- AlicenseNot gradedqualityDmaintenanceMCP server for ai-scanner that enables AI agents to scan codebases for LLM usage, AI frameworks, and exposed secrets.1MIT
- AlicenseAqualityCmaintenanceMCP server for Cursor that scans codebases for security issues including hardcoded secrets, SAST, vulnerable dependencies, and IaC misconfigurations.7MIT
- AlicenseAqualityBmaintenanceAn MCP server for autonomous AI agents to scan and detect hardcoded secrets, API keys, and passwords in source code files.1MIT