Self-hosted OSINT exposure checker — is your email, username, phone or password leaked? Keyless sources: breaches, infostealer logs, COMB credentials, HIBP k-anonymity, 200-platform username grid. Docker one-command install, no API keys, no AI, Apache-2.0.
PHP breach-checkcredential-exposuredata-breachdigital-footprintemail-osintfree-osinthaveibeenpwnedip-reputationleaked-credentialsleaked-dataosintosint-apiosint-toolsphone-lookupprivacy-toolspublic-datapwned-passwordsself-hostedusername-checkusername-osint
v1.3.0: open-source crt.sh + RDAP sources - 19 -> 21 keyless sources (gap analysis D1; CI count stays registry-derived)
Rana Khanb3687dec9494
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 459497e..b3a11d5 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,10 @@# Changelog+## [1.3.0] — 2026-10-23++### Sources+- **Sources 20–21: crt.sh certificate transparency + RDAP domain registration records** — both keyless, both free public services; 19 → 21 keyless sources across README, badge, docs and composer description. CI continues to derive the count from the source registry.+## [1.2.1] — 2026-10-22### Securitydiff --git a/README.md b/README.mdindex 3572ae3..5fd9b76 100644--- a/README.md+++ b/README.md@@ -10,16 +10,16 @@[](LICENSE)[](composer.json)[](#-why-no-ai-is-a-feature)-[](#%EF%B8%8F-the-19-sources)+[](#%EF%B8%8F-the-21-sources)[](#-quick-start)-Check your personal identifiers against **19 free OSINT sources** — breach databases,+Check your personal identifiers against **21 free OSINT sources** — breach databases,infostealer corpora, 11B+ leaked credential pairs, 150+ platform username registries —from your own server, with your own eyes.**The companion OSINT tool to the [200-scanner Website Vulnerability Scanner CE](https://github.com/RanaKhan77/Website-Vulnerability-Scanner).**-[Quick Start](#-quick-start) · [The 5 Checks](#-the-5-checks) · [Sources](#%EF%B8%8F-the-19-sources) · [Why](#-why-this-exists) · [Privacy](#-privacy-by-design) · [FAQ](docs/FAQ.md) · [Donate](#-support-the-project)+[Quick Start](#-quick-start) · [The 5 Checks](#-the-5-checks) · [Sources](#%EF%B8%8F-the-21-sources) · [Why](#-why-this-exists) · [Privacy](#-privacy-by-design) · [FAQ](docs/FAQ.md) · [Donate](#-support-the-project)</div>@@ -27,7 +27,7 @@ from your own server, with your own eyes.## 📸 What you get — real screenshots, live product-<img src="assets/dashboard-preview.png" width="880" alt="Exposure Check dashboard — one input, 5 identifier types, 19 keyless sources, live corpus stats"/>+<img src="assets/dashboard-preview.png" width="880" alt="Exposure Check dashboard — one input, 5 identifier types, 21 keyless sources, live corpus stats"/>**The dashboard.** Paste any identifier — the type is auto-detected, the corpus stats(1,047+ breaches, 17.8B+ leaked records, 37M stealer infections) are computed from the@@ -74,7 +74,7 @@ docker compose exec app php artisan ec:doctor # add --json for machine-reada``````-Sign in → paste an email → watch 19 sources answer in parallel → open the printable report.+Sign in → paste an email → watch 21 sources answer in parallel → open the printable report.Export any stored check as JSON or CSV — report page, history table, or right after a live check.```@@ -90,7 +90,7 @@ Export any stored check as JSON or CSV — report page, history table, or rightFull explanations with screenshots-level detail: [docs/CHECKS.md](docs/CHECKS.md).-## 🛰️ The 19 Sources+## 🛰️ The 21 SourcesAll **keyless** (no API key, no account, no cost), all read-only HTTPS lookups, alltoggleable on the Settings page:@@ -106,10 +106,12 @@ Presend · disposable-domain blocklist · GitHub public search**Phone & IP (4):** PhoneValidity (E.164) · Shodan InternetDB · ipapi.is · Bot-CIDR crawler attribution+**Domain & registry (2):** crt.sh — certificate-transparency subdomain history · RDAP domain registration records+Per-source endpoints, attribution and license notes: **[docs/SOURCES.md](docs/SOURCES.md)**.Prefer reading offline? Every documentation section also ships as a print-ready PDF in-**[pdfs/](pdfs/)** — overview guide, the 5 checks, the 19 sources, self-hosting,+**[pdfs/](pdfs/)** — overview guide, the 5 checks, the 21 sources, self-hosting,privacy and FAQ.## 🧠 Why "no AI" is a featurediff --git a/app/Modules/Osint/Sources/CrtShSource.php b/app/Modules/Osint/Sources/CrtShSource.phpnew file mode 100644index 0000000..31e8dd0--- /dev/null+++ b/app/Modules/Osint/Sources/CrtShSource.php@@ -0,0 +1,95 @@+<?php++declare(strict_types=1);++namespace App\Modules\Osint\Sources;++use Illuminate\Http\Client\Response;++/**+ * crt.sh certificate-transparency subdomain discovery (keyless).+ * GET https://crt.sh/?q=%.{domain}&output=json&limit=200 — every subdomain+ * that ever obtained a TLS certificate. Counts + names of the first 40.+ * crt.sh can be slow; 8s timeout, graceful unavailable on failure.+ */+class CrtShSource implements OsintSource+{+ private const URL = 'https://crt.sh/?q=';++ public function key(): string+ {+ return 'crtsh';+ }++ public function label(): string+ {+ return 'crt.sh — Certificate Transparency';+ }++ public function category(): string+ {+ return 'infra';+ }++ public function supports(string $type): bool+ {+ return $type === 'domain';+ }++ public function requests(string $type, string $identifier): array+ {+ return [+ [+ 'name' => $this->key() . '.main',+ 'method' => 'GET',+ 'url' => self::URL . urlencode('%.' . strtolower($identifier)) . '&output=json&limit=200',+ 'headers' => ['Accept' => 'application/json'],+ ],+ ];+ }++ public function parse(string $type, string $identifier, array $responses): array+ {+ $resp = $responses[$this->key() . '.main'] ?? null;+ if (!$resp instanceof Response || !$resp->ok()) {+ return ['status' => 'unavailable', 'summary' => 'Certificate Transparency lookup timed out (crt.sh is slow at times).', 'data' => []];+ }++ $j = $resp->json();+ if (!is_array($j)) {+ return ['status' => 'unavailable', 'summary' => 'Certificate Transparency returned an unexpected response.', 'data' => []];+ }++ $names = [];+ foreach ($j as $row) {+ $name = strtolower((string) ($row['name_value'] ?? ''));+ foreach (explode("\n", $name) as $n) {+ $n = trim($n, " *.\"\t");+ if ($n !== '' && str_contains($n, $identifier)) {+ $names[$n] = true;+ }+ }+ }+ $names = array_keys($names);+ sort($names);++ if ($names === []) {+ return [+ 'status' => 'clean',+ 'summary' => 'No certificates found in Certificate Transparency logs for this domain.',+ 'severity' => 'info',+ 'data' => ['subdomains' => [], 'subdomain_count' => 0],+ ];+ }++ return [+ 'status' => 'hit',+ 'summary' => count($names) . ' hostname(s) found in Certificate Transparency logs — this is the domain\'s public TLS footprint.',+ 'severity' => 'low',+ 'data' => [+ 'subdomain_count' => count($names),+ 'subdomains' => array_slice($names, 0, 40),+ ],+ ];+ }+}diff --git a/app/Modules/Osint/Sources/RdapSource.php b/app/Modules/Osint/Sources/RdapSource.phpnew file mode 100644index 0000000..93f117b--- /dev/null+++ b/app/Modules/Osint/Sources/RdapSource.php@@ -0,0 +1,124 @@+<?php++declare(strict_types=1);++namespace App\Modules\Osint\Sources;++use Illuminate\Http\Client\Response;++/**+ * RDAP (Registration Data Access Protocol) - the modern WHOIS (keyless).+ * GET https://rdap.org/domain/{domain} - registrar, registration/expiry dates,+ * status. Registration age is a strong fraud/trust signal.+ */+class RdapSource implements OsintSource+{+ private const URL = 'https://rdap.org/domain/';++ public function key(): string+ {+ return 'rdap';+ }++ public function label(): string+ {+ return 'RDAP — Domain Registration Records';+ }++ public function category(): string+ {+ return 'infra';+ }++ public function supports(string $type): bool+ {+ return $type === 'domain';+ }++ public function requests(string $type, string $identifier): array+ {+ return [+ [+ 'name' => $this->key() . '.main',+ 'method' => 'GET',+ 'url' => self::URL . strtolower($identifier),+ 'headers' => ['Accept' => 'application/rdap+json, application/json'],+ ],+ ];+ }++ public function parse(string $type, string $identifier, array $responses): array+ {+ $resp = $responses[$this->key() . '.main'] ?? null;+ if (!$resp instanceof Response) {+ return ['status' => 'unavailable', 'summary' => 'RDAP lookup unavailable right now.', 'data' => []];+ }+ if ($resp->status() === 404) {+ return [+ 'status' => 'hit',+ 'summary' => 'Domain has NO RDAP registration record — it appears unregistered or the TLD has no RDAP.',+ 'severity' => 'medium',+ 'data' => ['registered' => false],+ ];+ }+ if (!$resp->ok()) {+ return ['status' => 'unavailable', 'summary' => 'RDAP lookup unavailable right now.', 'data' => []];+ }++ $j = $resp->json();+ if (!is_array($j)) {+ return ['status' => 'unavailable', 'summary' => 'RDAP returned an unexpected response.', 'data' => []];+ }++ $registrar = '';+ foreach ((array) ($j['entities'] ?? []) as $e) {+ $roles = (array) ($e['roles'] ?? []);+ if (in_array('registrar', $roles, true)) {+ $v = $e['vcardArray'][1] ?? [];+ foreach ((array) $v as $field) {+ if (($field[0] ?? '') === 'fn') {+ $registrar = (string) ($field[3] ?? '');+ }+ }+ }+ }++ $events = [];+ foreach ((array) ($j['events'] ?? []) as $ev) {+ $events[(string) ($ev['eventAction'] ?? '')] = (string) ($ev['eventDate'] ?? '');+ }++ $created = $events['registration'] ?? '';+ $ageDays = 0;+ if ($created !== '') {+ try {+ $ageDays = (int) (now()->diffInDays(\Carbon\Carbon::parse($created)));+ } catch (\Throwable $e) {+ $ageDays = 0;+ }+ }++ $data = [+ 'registered' => true,+ 'registrar' => $registrar,+ 'created' => $created ? substr($created, 0, 10) : '',+ 'expires' => isset($events['expiration']) ? substr($events['expiration'], 0, 10) : '',+ 'age_days' => $ageDays,+ 'status' => array_slice((array) ($j['status'] ?? []), 0, 4),+ ];++ $summary = 'Domain registered' . ($created ? ' since ' . substr($created, 0, 10) : '')+ . ($registrar !== '' ? ' via ' . $registrar : '')+ . ($ageDays > 0 ? ' (' . number_format($ageDays) . ' days old)' : '') . '.';++ // A normally-aged registration is informational context, not an+ // exposure finding — only young/unregistered domains raise a flag.+ if ($ageDays > 0 && $ageDays < 60) {+ $summary .= ' Very young domain — common in phishing campaigns.';++ return ['status' => 'hit', 'summary' => $summary, 'severity' => 'medium', 'data' => $data];+ }++ return ['status' => 'clean', 'summary' => $summary, 'severity' => 'info', 'data' => $data];+ }+}diff --git a/composer.json b/composer.jsonindex 55f090b..7ead0a2 100644--- a/composer.json+++ b/composer.json@@ -2,7 +2,7 @@"$schema": "https://getcomposer.org/schema.json","name": "2mny/exposure-check-osint","type": "project",- "description": "Self-hosted personal exposure checker: email / username / phone / password / IP against 19 keyless OSINT sources. Non-AI, Laravel + Docker, k-anonymity password checks.",+ "description": "Self-hosted personal exposure checker: email / username / phone / password / IP against 21 keyless OSINT sources. Non-AI, Laravel + Docker, k-anonymity password checks.","keywords": ["osint","email-osint",diff --git a/docs/FAQ.md b/docs/FAQ.mdindex 15583c2..dfaba47 100644--- a/docs/FAQ.md+++ b/docs/FAQ.md@@ -36,7 +36,7 @@ rest of the check (per-source isolation). Re-run the check to retry.## Where does the data come from?-19 keyless public sources — breach databases (XposedOrNot, HIBP Pwned Passwords),+21 keyless public sources — breach databases (XposedOrNot, HIBP Pwned Passwords),infostealer corpus (HudsonRock), the COMB credential corpus (ProxyNova), disposable-emaildatabases, the Maigret/WhatsMyName 150-site username corpus, Bluesky, Hacker News, GitHubpublic search, Shodan InternetDB, ipapi.is and more. Full table with attribution:diff --git a/docs/SOURCES.md b/docs/SOURCES.mdindex 9502d2b..adcbaff 100644--- a/docs/SOURCES.md+++ b/docs/SOURCES.md@@ -1,4 +1,4 @@-# Data Sources — all 19, all keyless+# Data Sources — all 21, all keylessEvery source below is **free, keyless (no API key, no account), read-only, and queried over HTTPS**.Per-source enable/disable lives on the Settings page. Attribution and limits are listed honestly —@@ -25,6 +25,8 @@ if a source is down, its card shows `unavailable` and the check continues (per-s| 17 | Shodan InternetDB | infra | ip | `internetdb.shodan.io` (keyless) | Open ports + services on the IP || 18 | ipapi.is | infra | ip | `api.ipapi.is` (keyless) | VPN/proxy/hosting classification || 19 | Bot-CIDR attribution | infra | ip | offline crawler-network ranges (CrawlerScope-inspired) | Is the IP a known crawler/bot network — offline, no external call |+| 20 | crt.sh — Certificate Transparency | infra | domain | `crt.sh/?q=%.{domain}` (keyless) | Historical subdomains that ever obtained a TLS certificate — counts + first 40 names |+| 21 | RDAP — Domain Registration Records | infra | domain | `rdap.org/domain/{domain}` (keyless) | Registrar, registration/expiry dates, status — registration age as a fraud/trust signal |## Display images