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
source 23: DNS blocklist reputation (Spamhaus ZEN, SpamCop, Barracuda) — keyless, DNS-only, honest degradation
Rana Khan17622e8a4867
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex ba14c90..9b54283 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,27 @@# Changelog+## [1.6.0] — 2026-10-29++### Sources — W58 OSINT adoption research++- **Source 23: DNS blocklist reputation** (Spamhaus ZEN, SpamCop, Barracuda) — the one+ keyless personal-IP signal the CE was missing: "is MY IP listed as a spam/abuse+ source?" (compromised device, hijacked router, prior abuse). Pure DNS queries+ (no HTTP, no keys), same offline-source pattern as Bot-CIDR.+- **Honest-degradation design (live-verified in production):** DNSBL refusals are+ ambiguous — Spamhaus sometimes answers open/public-resolver queries with+ 127.255.255.x error codes and sometimes with EMPTY answers. Each zone is therefore+ probed first with the permanently-listed test address 127.0.0.2; a zone whose test+ probe does not demonstrably return a listing is reported `not assessed`, never a+ fake clean. IPv6 and restricted resolvers degrade honestly too.+- **Adoption research** (dual independent model reviews over omnisint, PublicEye,+ n1xYosint, osint-toolbox-mcp, Consensus-OSINT, tiktok-scraper + awesome lists):+ DNSBL (adopt, CE) and selective Maigret-corpus expansion (follow-up) were the two+ clear keyless + personal + license-safe wins. Crypto-address checks, TikTok,+ ORCID and Wayback were evaluated and deliberately deferred or rejected (weak+ exposure semantics, fragility, or keyless-availability risk) — reasoning kept in+ the W58 research notes.+## [1.5.0] — 2026-10-29### Licensing — v2 "No Wall" (same policy as the scanner CE)diff --git a/README.md b/README.mdindex 55db730..f590ad8 100644--- a/README.md+++ b/README.md@@ -10,16 +10,16 @@[](LICENSE)[](composer.json)[](#-why-no-ai-is-a-feature)-[](#%EF%B8%8F-the-22-sources)+[](#%EF%B8%8F-the-23-sources)[](#-quick-start)-Check your personal identifiers against **22 free OSINT sources** — breach databases,+Check your personal identifiers against **23 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 [202-scanner Website Vulnerability Scanner CE](https://github.com/RanaKhan77/Website-Vulnerability-Scanner).**-[Quick Start](#-quick-start) · [The 6 Checks](#-the-6-checks) · [Sources](#%EF%B8%8F-the-22-sources) · [Why](#-why-this-exists) · [Privacy](#-privacy-by-design) · [FAQ](docs/FAQ.md) · [Donate](#-support-the-project)+[Quick Start](#-quick-start) · [The 6 Checks](#-the-6-checks) · [Sources](#%EF%B8%8F-the-23-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, 6 identifier types, 22 keyless sources, live corpus stats"/>+<img src="assets/dashboard-preview.png" width="880" alt="Exposure Check dashboard — one input, 6 identifier types, 23 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@@ -66,7 +66,7 @@ That is the whole install: one Docker container (Apache + PHP + SQLite — no MyRedis, no API keys), a generated admin password, and `http://localhost:8080` ready.Details and non-Docker paths: [docs/SELF-HOSTING.md](docs/SELF-HOSTING.md).-Self-test the whole stack any time (22-source reachability, storage, database,+Self-test the whole stack any time (23-source reachability, storage, database,site database — seconds, no real check performed):```bash@@ -74,7 +74,7 @@ docker compose exec app php artisan ec:doctor # add --json for machine-reada``````-Sign in → paste an email → watch 22 sources answer in parallel → open the printable report.+Sign in → paste an email → watch 23 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.```@@ -91,10 +91,10 @@ 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 22 Sources+## 🛰️ The 23 Sources-All **keyless** (no API key, no account, no cost), all read-only HTTPS lookups, all-toggleable on the Settings page:+All **keyless** (no API key, no account, no cost), all read-only lookups (HTTPS or plain+DNS), all toggleable on the Settings page:**Breach & stealer (5):** HudsonRock infostealer corpus · XposedOrNot breach analytics ·ProxyNova COMB (11B+ pairs) · HIBP Pwned Passwords (k-anonymity) · LeakLens phone/username breach search@@ -105,14 +105,16 @@ Bluesky (AT Protocol) · Hacker News**Email intelligence (8):** Mailcheck · Gravatar · Disify · Kickbox Open · FachaTemp ·Presend · disposable-domain blocklist · GitHub public search-**Phone & IP (4):** PhoneValidity (E.164) · Shodan InternetDB · ipapi.is · Bot-CIDR crawler attribution+**Phone & IP (5):** PhoneValidity (E.164) · Shodan InternetDB · ipapi.is · Bot-CIDR crawler+attribution · DNS blocklist reputation (Spamhaus ZEN, SpamCop, Barracuda — pure DNS, honest+degradation when a zone refuses your resolver)**Domain & registry (2):** crt.sh — certificate-transparency subdomain history · RDAP domain registration recordsPer-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 6 checks, the 22 sources, self-hosting,+**[pdfs/](pdfs/)** — overview guide, the 6 checks, the 23 sources, self-hosting,privacy and FAQ.## 🧠 Why "no AI" is a featurediff --git a/app/Modules/Osint/OsintCheckService.php b/app/Modules/Osint/OsintCheckService.phpindex 124c7ca..f0bb92a 100644--- a/app/Modules/Osint/OsintCheckService.php+++ b/app/Modules/Osint/OsintCheckService.php@@ -91,6 +91,10 @@ class OsintCheckService// (phone/username via keyless MCP; email/password/domain deliberately// not here - see the source class docblock for the scope reasoning)LeakLensSource::class,+ // v1.6.0 (2026-10-29, W58 OSINT adoption research s34): DNS blocklist+ // reputation (Spamhaus ZEN + SpamCop + Barracuda, DNS-only, keyless) —+ // the one keyless personal-IP signal the CE was missing+ DnsblSource::class,];public const TYPES = ['email', 'username', 'phone', 'password', 'domain', 'ip'];diff --git a/app/Modules/Osint/Sources/DnsblSource.php b/app/Modules/Osint/Sources/DnsblSource.phpnew file mode 100644index 0000000..c6d5371--- /dev/null+++ b/app/Modules/Osint/Sources/DnsblSource.php@@ -0,0 +1,219 @@+<?php++declare(strict_types=1);++namespace App\Modules\Osint\Sources;++/**+ * DNS Blocklists (DNSBL) — Spamhaus ZEN + SpamCop + Barracuda (v1.6.0, W58).+ * ============================================================+ *+ * DNS-ONLY source: zero HTTP requests. For an IPv4 address, asks the three+ * largest public DNS blocklists "is this IP listed for spam/abuse?" by+ * resolving {reversed-ip}.{zone} — the classic DNSBL protocol. This answers+ * a personal-exposure question the other IP sources cannot: "is MY IP+ * flagged as a spam source?" (a listed home IP can mean a compromised+ * device, a hijacked router, or prior abuse from that address).+ *+ * Found in the W58 OSINT adoption research (cross-validated by two+ * independent model reviews): the CE already had ports (Shodan InternetDB),+ * classification (ipapi.is) and crawler ranges (BotCidr) — reputation+ * listings were the one keyless, personal, cheap signal missing.+ *+ * HONESTY RULES (the part most tools get wrong — live-verified on prod):+ * - DNSBL refusal is AMBIGUOUS: Spamhaus refuses open/public-resolver+ * queries sometimes with 127.255.255.x ERROR A-records, and sometimes+ * with EMPTY answers (a known-listed test address silently returns+ * "no A"). Both mean "no real answer" — NEVER "not listed".+ * - Therefore each zone is first probed with the permanently-listed test+ * address 127.0.0.2. Only if that probe demonstrably returns a listing+ * do we trust the zone's answer for the checked IP. Otherwise the zone+ * degrades to "not assessed" — a fake clean is impossible by design.+ * - DNS/zone failures, restricted resolvers and IPv6 all degrade to+ * "not assessed" / "unavailable" — never clean.+ * - A listing is a signal, not a conviction: the card states the zone's+ * classification and what it means.+ *+ * Return-code semantics (mapped; unknown codes still count as listed, raw+ * code shown):+ * - Spamhaus ZEN: 127.0.0.2/3 SBL (spam), 127.0.0.4-7 XBL (exploit/proxy),+ * 127.0.0.6 PBL (policy/no-mail), 127.0.0.10/11 PBL (policy).+ * Errors: 127.255.255.252 public resolver, .254 open resolver, .255 bad query.+ * - SpamCop: any 127.0.0.x (except errors) = listed, spam-report-driven.+ * - Barracuda: 127.0.0.2 = listed (poor reputation).+ */+class DnsblSource implements OsintSource+{+ /** Permanently listed test address (DNSBL convention) — our zone-health probe. */+ private const TEST_IP = '127.0.0.2';++ /** zone => [label, explanation] */+ private const ZONES = [+ 'zen.spamhaus.org' => [+ 'Spamhaus ZEN',+ 'Listed on the combined Spamhaus SBL+XBL+PBL blocklist (spam, exploits or policy).',+ ],+ 'bl.spamcop.net' => [+ 'SpamCop',+ 'Listed on the SpamCop blocklist (recent spam reports traced to this IP).',+ ],+ 'b.barracudacentral.org' => [+ 'Barracuda',+ 'Listed on the Barracuda Reputation Blocklist (poor email reputation).',+ ],+ ];++ /** Spamhaus-style ERROR returns (query refused, never "not listed"). */+ private const ERROR_CODES = ['127.255.255.252', '127.255.255.254', '127.255.255.255'];++ public function key(): string+ {+ return 'dnsbl';+ }++ public function label(): string+ {+ return 'DNS Blocklists — Spamhaus ZEN, SpamCop, Barracuda';+ }++ public function category(): string+ {+ return 'reputation';+ }++ public function supports(string $type): bool+ {+ return $type === 'ip';+ }++ /**+ * DNS-only source: no HTTP requests are ever issued (same pattern as+ * BotCidrSource). The DNS queries happen inside parse().+ *+ * @return array<int, array<string, mixed>>+ */+ public function requests(string $type, string $identifier): array+ {+ return [];+ }++ public function parse(string $type, string $identifier, array $responses): array+ {+ $ip = trim($identifier);++ if (!filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4)) {+ return [+ 'status' => 'unavailable',+ 'summary' => 'DNS blocklists are queried for IPv4 addresses only.',+ 'data' => ['note' => 'IPv6 blocklist semantics differ per zone and are not assessed.'],+ 'severity' => 'info',+ ];+ }++ $listings = [];+ $notAssessed = [];+ $assessed = 0;++ foreach (self::ZONES as $zone => [$label, $explanation]) {+ // 1. HEALTH PROBE: the permanently-listed test address must+ // demonstrably return a listing from this network — otherwise+ // the zone is refusing us and any "no A" would be a fake clean.+ $probeCodes = $this->query(self::TEST_IP, $zone);+ $probeListed = $this->stripErrors($probeCodes);+ if ($probeListed === []) {+ $reason = $probeCodes !== []+ ? 'query refused — public/open resolver'+ : 'zone not answering from this network (could not verify via the listed test address)';+ $notAssessed[] = $label . ' (' . $reason . ')';+ continue;+ }++ // 2. REAL QUERY: the zone verifiably answers — now "no A" means+ // genuinely not listed.+ $assessed++;+ $codes = $this->query($ip, $zone);+ $realCodes = $this->stripErrors($codes);+ if ($realCodes !== []) {+ $listings[] = [+ 'zone' => $label,+ 'explanation' => $explanation,+ 'codes' => $realCodes,+ ];+ }+ }++ if ($listings !== []) {+ $names = implode(', ', array_column($listings, 'zone'));+ $details = [];+ foreach ($listings as $l) {+ $details[$l['zone']] = $l['explanation'] . ' (return code: ' . implode(', ', $l['codes']) . ')';+ }++ return [+ 'status' => 'hit',+ 'summary' => 'This IP is LISTED on: ' . $names . '.',+ 'data' => [+ 'Listed on' => $details,+ 'What it means' => 'A blocklist listing means mail and traffic from this IP is treated as spam or abuse by a large share of the internet. On a personal IP this often indicates a compromised device, a hijacked router, or abuse by a previous holder of the address.',+ 'Zones not assessed' => $notAssessed !== [] ? implode('; ', $notAssessed) : 'none',+ ],+ 'severity' => 'medium',+ ];+ }++ if ($assessed > 0) {+ return [+ 'status' => 'clean',+ 'summary' => 'Not listed on ' . $assessed . ' of the queried DNS blocklists.',+ 'data' => [+ 'Checked against' => 'Spamhaus ZEN, SpamCop, Barracuda (live DNS queries, each zone verified answering via its listed test address)',+ 'What it means' => 'No spam or abuse listing found for this IP on the zones that verifiably answered.',+ 'Zones not assessed' => $notAssessed !== [] ? implode('; ', $notAssessed) : 'none',+ ],+ 'severity' => 'info',+ ];+ }++ return [+ 'status' => 'unavailable',+ 'summary' => 'DNS blocklists could not be queried from this network.',+ 'data' => ['note' => implode('; ', $notAssessed)],+ 'severity' => 'info',+ ];+ }++ /**+ * A-records for {reversed-ip}.{zone}; [] when none / on failure (the+ * health probe distinguishes "no answer" from "not listed").+ *+ * @return list<string>+ */+ private function query(string $ip, string $zone): array+ {+ $host = $this->reverseIp($ip) . '.' . $zone;+ $records = @dns_get_record($host, DNS_A);+ if (!is_array($records)) {+ return [];+ }+ $codes = [];+ foreach ($records as $r) {+ if (isset($r['ip']) && is_string($r['ip'])) {+ $codes[] = $r['ip'];+ }+ }++ return $codes;+ }++ /** @param list<string> $codes @return list<string> */+ private function stripErrors(array $codes): array+ {+ return array_values(array_diff($codes, self::ERROR_CODES));+ }++ /** 1.2.3.4 -> 4.3.2.1 (DNSBL query format). */+ private function reverseIp(string $ip): string+ {+ return implode('.', array_reverse(explode('.', $ip)));+ }+}diff --git a/composer.json b/composer.jsonindex 9d5d235..52eac3c 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 22 keyless OSINT sources. Non-AI, Laravel + Docker, k-anonymity password checks.",+ "description": "Self-hosted personal exposure checker: email / username / phone / password / IP against 23 keyless OSINT sources. Non-AI, Laravel + Docker, k-anonymity password checks.","keywords": ["osint","email-osint",diff --git a/config/app.php b/config/app.phpindex 07d3f25..72153b7 100644--- a/config/app.php+++ b/config/app.php@@ -2,7 +2,7 @@return ['name' => env('APP_NAME', 'Exposure-Check-OSINT'),- 'version' => '1.5.0',+ 'version' => '1.6.0','env' => env('APP_ENV', 'production'),'debug' => (bool) env('APP_DEBUG', false),'url' => env('APP_URL', 'http://localhost'),diff --git a/docs/SOURCES.md b/docs/SOURCES.mdindex b02ed19..e8c4aab 100644--- a/docs/SOURCES.md+++ b/docs/SOURCES.md@@ -28,6 +28,7 @@ if a source is down, its card shows `unavailable` and the check continues (per-s| 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 || 22 | LeakLens | breach | phone, username | `leaklens.org/api/mcp` (keyless JSON-RPC tools/call) | Breach-registry search for phone numbers and usernames; honest `unavailable` when upstreams degrade |+| 23 | DNS Blocklists (Spamhaus ZEN, SpamCop, Barracuda) | reputation | ip | Plain DNS A-queries `{reversed-ip}.{zone}` (no HTTP) | Is the IP listed for spam/abuse? Each zone is verified answering via its permanently-listed test address (127.0.0.2) before its verdict counts — public/open-resolver refusals and empty answers degrade to `not assessed`, never a fake clean |## Display imagesdiff --git a/tests/Unit/DnsblSourceTest.php b/tests/Unit/DnsblSourceTest.phpnew file mode 100644index 0000000..b6ac03a--- /dev/null+++ b/tests/Unit/DnsblSourceTest.php@@ -0,0 +1,74 @@+<?php++declare(strict_types=1);++namespace Tests\Unit;++use App\Modules\Osint\Sources\DnsblSource;+use PHPUnit\Framework\TestCase;++/**+ * DnsblSource tests (v1.6.0, W58 OSINT adoption research — DNS blocklist+ * reputation for IPv4).+ *+ * Network-free tests only: the live DNS query path (dns_get_record) is+ * exercised by manual/live verification, not by unit tests. What we pin+ * down here is the contract and the honest-degradation paths that do not+ * need DNS.+ */+final class DnsblSourceTest extends TestCase+{+ private DnsblSource $src;++ protected function setUp(): void+ {+ $this->src = new DnsblSource();+ }++ public function test_supports_ip_only(): void+ {+ $this->assertTrue($this->src->supports('ip'));+ foreach (['email', 'username', 'phone', 'password', 'domain'] as $t) {+ $this->assertFalse($this->src->supports($t), "must not support {$t}");+ }+ }++ public function test_identity_fields(): void+ {+ $this->assertSame('dnsbl', $this->src->key());+ $this->assertMatchesRegularExpression('/^[a-z][a-z0-9_]*$/', $this->src->key());+ $this->assertSame('reputation', $this->src->category());+ $this->assertNotSame('', $this->src->label());+ }++ public function test_no_http_requests_ever(): void+ {+ $this->assertSame([], $this->src->requests('ip', '8.8.8.8'));+ }++ public function test_ipv6_not_assessed_honestly(): void+ {+ $r = $this->src->parse('ip', '2001:db8::1', []);+ $this->assertSame('unavailable', $r['status']);+ $this->assertStringContainsStringIgnoringCase('IPv4', $r['summary'] . json_encode($r['data']));+ }++ public function test_garbage_input_not_assessed(): void+ {+ $r = $this->src->parse('ip', 'not-an-ip', []);+ $this->assertSame('unavailable', $r['status']);+ }++ public function test_result_shape_when_no_dns_available(): void+ {+ // A valid IPv4 that cannot be resolved in this environment still+ // yields a well-formed result with the three contract keys — the+ // status may be clean or unavailable depending on the resolver,+ // but the shape must never break.+ $r = $this->src->parse('ip', '192.0.2.123', []);+ $this->assertContains($r['status'], ['hit', 'clean', 'unavailable']);+ $this->assertArrayHasKey('summary', $r);+ $this->assertArrayHasKey('data', $r);+ $this->assertIsArray($r['data']);+ }+}