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
license: v2 no-wall policy — free forever, zero telemetry by default (matches scanner CE)
Rana Khan5c504ae7d67b
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 8131855..ba14c90 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,37 @@# Changelog+## [1.5.0] — 2026-10-29++### Licensing — v2 "No Wall" (same policy as the scanner CE)++- **The 14-day trial wall is GONE.** Every check, source, report and export works+ forever with no key, no countdown and no phone-home. v1 blocked new checks after a+ 14-day trial unless a free Community key was activated; that wall contradicted the+ "free forever" promise and was removed across the codebase.+- `CommunityLicenseService` v2: `status()` is now purely informational+ (`licensed` / `unlicensed` / `key-revoked` — no `trial`, `grace` or `blocked`+ states); `checksAllowed()` always returns true (kept for blade/route compatibility).+ The optional free key powers exactly two things: the aggregate install counter and+ free premium update notifications.+- **Zero telemetry by default.** The daily heartbeat and weekly re-validation schedules+ were removed from `routes/console.php`. The license client only talks to the server+ when you explicitly activate, refresh or deactivate a key. Opt-in heartbeat for the+ public install map: `LICENSE_HEARTBEAT=on` (off by default).+- Key revocation now only stops update notifications — checks keep working.+- `EnsureCommunityLicensed` middleware never blocks; it shows a once-per-session hint+ about the optional free key.+- License page rebuilt for v2 (no trial countdown, no "blocked" chip); README,+ `docs/PRIVACY.md`, `docs/FAQ.md` and `docs/SELF-HOSTING.md` updated to match.++### Maintenance++- CI: `actions/checkout` v4 → v7 (dependabot #4).+- Version constant synced (`config/app.php` 1.1.0 → 1.5.0 — it had drifted from the+ changelog).+- Note: the print-ready PDFs in `pdfs/` still describe the v1 trial policy for the+ license sections; they will be regenerated in a follow-up release (the markdown+ docs are authoritative).+## [1.4.0] — 2026-10-23### Sourcesdiff --git a/README.md b/README.mdindex 9609da9..55db730 100644--- a/README.md+++ b/README.md@@ -127,20 +127,33 @@ guessing. The same discipline as the scanner CE: **honest results, evidence firs- **Password checks store nothing** — the match happens in your browser- **No analytics, no third-party JS, no tracking** — the dashboard is self-contained- **Your data, your disk** — SQLite on your machine; delete any record or purge everything in one click-- The only optional outbound call beyond the lookups is the auditable license heartbeat+- **Zero unsolicited network calls** — the only optional outbound call beyond the lookups happens+ when you explicitly activate/refresh a key, and the license heartbeat is opt-in (`LICENSE_HEARTBEAT=on`)Full honest breakdown of every byte that leaves the server: **[docs/PRIVACY.md](docs/PRIVACY.md)**.-## 📜 Licensing (the honest kind)--First boot starts a **14-day full-feature trial**. After that, new checks ask for a-**free Community key** from [2mny.com/community-license](https://2mny.com/community-license)-(30 seconds, no email confirmation loops). Licensed installs re-validate weekly with a-7-day offline grace; history and every page keep working regardless.--This is **not DRM** — the client is ~300 readable lines, exists for install tracking and-free premium update notifications, and is trivially auditable or removable (this is open-source). Code: `app/Services/CommunityLicenseService.php`.+## 📜 Licensing — Free Forever, No Wall++This project is open source (Apache-2.0). **There is no license wall** (v2, Oct 2026 — same+policy as the scanner CE):++1. **Everything works forever without a key.** All 22 sources, all 6 checks, reports,+ history and exports — no trial countdown, no feature held back, no "activate to+ continue" screens. (v1 had a 14-day trial after which new checks paused; that wall+ was removed — it contradicted the "free forever" promise.)+2. **An optional free key** — issued instantly at+ [2mny.com/community-license](https://2mny.com/community-license), no account required —+ powers exactly two things: the project's aggregate install counter (which drives the+ roadmap) and free premium update announcements. That's all it does.+3. **Zero telemetry by default.** No heartbeat, no scheduled phone-home, no analytics. The+ only network calls the license client ever makes happen when *you* explicitly activate,+ refresh or deactivate a key on the license page (payload: key, random install ID,+ domain, version — nothing else). Operators who *want* to appear on the public install+ map can opt in with `LICENSE_HEARTBEAT=on`; it is off unless you turn it on.+4. **Fully offline-friendly.** An install with no key, a dead key, or no internet access+ checks exactly the same as an activated one.+5. **It's open source.** The client is ~300 auditable lines and trivially removable — we+ prefer honest optional telemetry over fake DRM. Code: `app/Services/CommunityLicenseService.php`.## 🧭 Why this exists@@ -169,7 +182,7 @@ pass the contract tests (`vendor/bin/phpunit`).- ⭐ **Star this repo** — stars are how free software gets found; it genuinely helps.- 🔁 **Share it** with the one friend who still reuses `Summer2019!` everywhere.- ☕ **Fuel the maintainers** — every donation goes straight into keeping the sources- verified, the corpus fresh, and the license keys free:+ verified, the corpus fresh, and the free-forever promise real:| | ||---|---|diff --git a/app/Http/Controllers/LicenseController.php b/app/Http/Controllers/LicenseController.phpindex 93ed5d3..3fb2681 100644--- a/app/Http/Controllers/LicenseController.php+++ b/app/Http/Controllers/LicenseController.php@@ -23,7 +23,6 @@ class LicenseController extends Controller'status' => $this->license->status(),'serverUrl' => $this->license->serverUrl(),'installId' => $this->license->installId(),- 'trialDaysLeft' => $row->trialDaysLeft(),]);}diff --git a/app/Http/Middleware/EnsureCommunityLicensed.php b/app/Http/Middleware/EnsureCommunityLicensed.phpindex 6ca320e..9b0bfb8 100644--- a/app/Http/Middleware/EnsureCommunityLicensed.php+++ b/app/Http/Middleware/EnsureCommunityLicensed.php@@ -10,9 +10,15 @@ use Illuminate\Http\Request;use Symfony\Component\HttpFoundation\Response;/**- * Blocks NEW exposure checks when the Community license/trial has expired.- * Everything else (history, reports, settings, license page) stays fully- * usable - see README "Licensing".+ * v2 "NO WALL" (2026-10-29): this middleware NEVER blocks anything.+ *+ * History: v1 blocked new exposure checks after a 14-day trial unless a+ * free key was activated. The same owner directive that removed the wall+ * from the Website Vulnerability Scanner CE applies here: the Community+ * Edition is fully functional forever, key or no key. The class is kept+ * (routes still reference it) but its only job now is a once-per-session,+ * non-blocking reminder that a FREE optional key exists (it powers update+ * notifications — nothing else).*/class EnsureCommunityLicensed{@@ -20,19 +26,27 @@ class EnsureCommunityLicensedpublic function handle(Request $request, Closure $next): Response{- if ($this->license->checksAllowed()) {- return $next($request);+ // Never gate. Just a gentle, once-per-session hint.+ if (!$request->session()->get('license_notice_shown')) {+ $status = $this->license->status();+ if ($status === 'unlicensed') {+ $request->session()->flash(+ 'info',+ 'Optional: activate a FREE license key to receive update notifications. '+ . 'Checks work fully without one — no trial, no countdown, no phone-home. '+ . 'Get a key at ' . $this->license->serverUrl() . '/community-license'+ );+ } elseif ($status === 'key-revoked') {+ $request->session()->flash(+ 'info',+ 'Your license key was revoked — checks keep working normally. '+ . 'Only update notifications stopped; get a fresh free key at '+ . $this->license->serverUrl() . '/community-license if you want them back.'+ );+ }+ $request->session()->put('license_notice_shown', true);}- $msg = 'Your Community Edition trial has ended. Activate a FREE license key to keep running checks '- . '(takes 30 seconds at ' . $this->license->serverUrl() . '/community-license).';-- if ($request->expectsJson() || $request->is('api/*')) {- return response()->json(['error' => $msg, 'license_required' => true], 402);- }-- return redirect()- ->route('license')- ->with('error', $msg);+ return $next($request);}}diff --git a/app/Services/CommunityLicenseService.php b/app/Services/CommunityLicenseService.phpindex f4c28e2..0f4a6d1 100644--- a/app/Services/CommunityLicenseService.php+++ b/app/Services/CommunityLicenseService.php@@ -9,19 +9,30 @@ use Illuminate\Support\Facades\Http;use Illuminate\Support\Facades\Log;/**- * Community Edition license client (Exposure-Check-OSINT product identity).+ * Community Edition license client — v2 "NO WALL" (2026-10-29).*- * Same honest pattern as the Website Vulnerability Scanner CE:- * - First boot starts a 14-day full-feature trial (LICENSE_TRIAL_DAYS).- * - After the trial, NEW checks are blocked until a free key from- * https://2mny.com/community-license is activated. Existing history and- * every other admin page keep working.- * - Activation + weekly re-validation + daily heartbeat talk to- * LICENSE_SERVER_URL over HTTPS. If the license server is unreachable- * the install keeps working for a 7-day grace window (offline-friendly).- * - This is open source: the check is intentionally easy to audit and- * easy to remove. It exists for install tracking and free premium- * update notifications - not as DRM.+ * Same owner directive as the Website Vulnerability Scanner CE v2: the+ * Community Edition must never block anyone. The license key is 100%+ * OPTIONAL tracking/notification convenience:+ *+ * - Checks (and every other feature) are fully functional forever with+ * NO key, NO trial countdown, NO phone-home. There is no "blocked"+ * state anymore — status() returns 'licensed' or 'unlicensed' (plus+ * 'key-revoked'), purely informational (drives a gentle "add a free+ * key for update notifications" hint).+ * - Telemetry is OFF by default: the daily heartbeat and weekly+ * re-validation schedules were REMOVED from routes/console.php. The+ * only network calls happen when you explicitly activate, refresh or+ * deactivate a key from the license page (LICENSE_SERVER_URL over+ * HTTPS; payload: key, random install id, domain, version).+ * - A key that the server marks revoked only means "this key no longer+ * receives update notifications" — checks keep working. Get a new+ * free key if you want the notifications back.+ * - Fully offline-friendly: no network call is ever required to run+ * checks, and network failures never change any functionality.+ * - This is open source (Apache-2.0): the whole client is auditable and+ * removable — it exists for voluntary install tracking and free+ * update notifications, not as DRM.** Product identity: every call carries product=exposure-check so install* telemetry stays separate from the scanner CE on the license server.@@ -29,31 +40,24 @@ use Illuminate\Support\Facades\Log;class CommunityLicenseService{public const PRODUCT = 'exposure-check';- public const GRACE_DAYS = 7;public function serverUrl(): string{return rtrim((string) config('license.server_url', env('LICENSE_SERVER_URL', 'https://2mny.com')), '/');}- public function trialDays(): int- {- return max(1, (int) (config('license.trial_days', 14) ?: 14));- }-/**- * The single license row; creates the trial on first call.+ * The single license row; creates the (non-expiring) record on first call.*/public function state(): CommunityLicense{$row = CommunityLicense::query()->orderByDesc('id')->first();if ($row === null) {$row = CommunityLicense::create([- 'status' => 'trial',+ 'status' => 'unlicensed','install_id' => $this->installId(),'product' => self::PRODUCT,- 'trial_started_at' => now(),- 'trial_ends_at' => now()->addDays($this->trialDays()),+ 'trial_started_at' => now(), // kept for schema compatibility (install date)]);}return $row;@@ -88,46 +92,42 @@ class CommunityLicenseService}/**- * Effective license status for gating.- * licensed -> checks allowed- * trial -> checks allowed while trial_ends_at is in the future- * grace -> licensed but the server was unreachable > 7 days- * blocked -> trial expired (or revoked / grace expired)+ * Informational status for the optional-key hint. v2: there is NO+ * blocked state — this only drives UI hints, never gating.+ * licensed -> a key is activated (update notifications on)+ * unlicensed -> no key (everything still works; the license page+ * may suggest getting a free key for notifications)+ * key-revoked -> the activated key was revoked server-side; checks+ * keep working, only notifications stop*/public function status(): string{$row = $this->state();if ($row->status === 'revoked') {- return 'blocked';+ return 'key-revoked';}- if ($row->status === 'licensed') {- $expires = $row->expiresAt();- if ($expires !== null && $expires->isPast()) {- return 'blocked';- }- if ($row->last_validated_at- && $row->last_validated_at->copy()->addDays(self::GRACE_DAYS)->isPast()) {- return 'grace';- }+ if ($row->status === 'licensed' && $row->license_key) {return 'licensed';}- // trial- if ($row->trial_ends_at && $row->trial_ends_at->isFuture()) {- return 'trial';- }- return 'blocked';+ return 'unlicensed';}+ /**+ * v2: ALWAYS true. Checks are never gated — see the class docblock.+ * (Method kept so older forks/blade guards keep working; it is+ * intentionally constant now.)+ */public function checksAllowed(): bool{- return in_array($this->status(), ['trial', 'licensed', 'grace'], true);+ return true;}/**- * Activate a free license key against the license server.+ * Activate a free license key against the license server (voluntary —+ * powers update notifications and the project's install counter).* Key format for this product: 2MNY-EC-XXXX-XXXX-XXXX-XXXX.*/public function activate(string $key, ?string $domain = null): array@@ -195,8 +195,9 @@ class CommunityLicenseService}/**- * Weekly re-validation (scheduled). Stores the server answer; network- * failures never lock a licensed install inside the grace window.+ * Manual re-validation (button on the license page — NOT scheduled+ * anymore; v2 removed the weekly cron). Only talks to the server when+ * a key is present; any failure leaves functionality untouched.*/public function validate(): string{@@ -218,6 +219,7 @@ class CommunityLicenseServicereturn 'ok';}if (($data['status'] ?? '') === 'revoked') {+ // v2: revocation only stops notifications — never checks.$row->update(['status' => 'revoked', 'response_payload' => $data]);return 'revoked';}@@ -225,20 +227,20 @@ class CommunityLicenseService} catch (\Throwable $e) {Log::info('license validate unreachable: ' . $e->getMessage());}- // unreachable or ambiguous: only refresh timestamp if still in grace- if (!$row->last_validated_at- || $row->last_validated_at->copy()->addDays(self::GRACE_DAYS)->isFuture()) {- return 'unreachable-in-grace';- }- return 'unreachable-grace-expired';+ return 'unreachable';}/**- * Daily heartbeat (scheduled): powers the project's install map and- * free premium update notifications. Pure fire-and-forget.+ * v2: heartbeat is DISABLED BY DEFAULT and no longer scheduled. Kept+ * only for operators who explicitly opt in with LICENSE_HEARTBEAT=on+ * (self-hosters who want to appear on the project's public install+ * map). The default install makes ZERO unsolicited network calls.*/public function heartbeat(): string{+ if (strtolower((string) env('LICENSE_HEARTBEAT', 'off')) !== 'on') {+ return 'disabled';+ }$row = $this->state();try {Http::asJson()->timeout(10)->post($this->serverUrl() . '/api/community-license/heartbeat', [diff --git a/config/app.php b/config/app.phpindex 9dfc8a6..07d3f25 100644--- a/config/app.php+++ b/config/app.php@@ -2,7 +2,7 @@return ['name' => env('APP_NAME', 'Exposure-Check-OSINT'),- 'version' => '1.1.0',+ 'version' => '1.5.0','env' => env('APP_ENV', 'production'),'debug' => (bool) env('APP_DEBUG', false),'url' => env('APP_URL', 'http://localhost'),diff --git a/docs/FAQ.md b/docs/FAQ.mdindex 3b6c681..0d01254 100644--- a/docs/FAQ.md+++ b/docs/FAQ.md@@ -49,8 +49,10 @@ Yes — Settings page → per-source toggles. Disabled sources are never contact## Is it really self-hosted with no API keys?Yes. Every source in the Community Edition is keyless. Clone, `./install.sh`, sign in,-check. The only optional outbound call beyond the lookups is the free community license-heartbeat (see [PRIVACY.md](PRIVACY.md)) — and the license code is short and auditable.+check. There are **no license gates and no scheduled phone-home** (v2): the optional free+community key only powers update notifications, and the license client only talks to the+server when you explicitly activate/refresh/deactivate a key (see [PRIVACY.md](PRIVACY.md))+— the code is short and auditable.## How is this different from holehe / mosint / sherlock?diff --git a/docs/PRIVACY.md b/docs/PRIVACY.mdindex fd4ce99..f21ea75 100644--- a/docs/PRIVACY.md+++ b/docs/PRIVACY.md@@ -20,17 +20,21 @@ Delete any record from the History page, or **Purge all** — one click, gone.literally what a lookup is. Each source sees only what it needs.2. **For password checks: only the first 5 hex chars of the SHA-1** (k-anonymity).Not the password. Not the full hash. See [CHECKS.md](CHECKS.md#4-password-exposure-).-3. **License heartbeat** (daily, if you activate a free key): install ID, status,- version, PHP version — to `2mny.com`. This powers the public install counter and- free update notifications. It carries **no check data and no identifiers**.- The whole license client is ~300 readable lines: `app/Services/CommunityLicenseService.php`.+3. **License network calls** — ONLY when you explicitly activate, refresh or deactivate a+ free key on the license page (payload: key, random install ID, domain, version — to+ `2mny.com`). This powers the voluntary install counter and free update notifications.+ It carries **no check data and no identifiers**. There is **no scheduled heartbeat by+ default** (v2, Oct 2026): the daily heartbeat cron was removed; operators who want to+ appear on the public install map can opt in with `LICENSE_HEARTBEAT=on`. The whole+ license client is ~300 readable lines: `app/Services/CommunityLicenseService.php`.## What is deliberately NOT collected- No analytics, no tracking pixels, no third-party JavaScript- No raw identifiers in any log (audit rows store hashes + masked forms only)- No credential material in the database (`credential_lines` are stripped before storage)-- No telemetry beyond the license heartbeat above+- No telemetry beyond the explicit license actions above (and none at all unless you+ activate a key; the heartbeat is opt-in only)## Threat-model honestydiff --git a/docs/SELF-HOSTING.md b/docs/SELF-HOSTING.mdindex 49ab1f9..ac26bbe 100644--- a/docs/SELF-HOSTING.md+++ b/docs/SELF-HOSTING.md@@ -98,8 +98,10 @@ takes a safe hot copy.## Scheduling (optional, non-Docker)-The license heartbeat/re-validation is scheduled automatically inside Docker via Laravel's-scheduler integration. Without Docker, add one cron entry:+Since the v2 "no wall" license policy (Oct 2026) there are **no scheduled license tasks+anymore** — the default install makes zero unsolicited network calls. If you run without+Docker and later add scheduled features (e.g. you opted into `LICENSE_HEARTBEAT=on` for+the public install map), add one cron entry:```* * * * * cd /path/to/Exposure-Check-OSINT && php artisan schedule:run >> /dev/null 2>&1diff --git a/resources/views/license.blade.php b/resources/views/license.blade.phpindex 298ffb4..4ed75d1 100644--- a/resources/views/license.blade.php+++ b/resources/views/license.blade.php@@ -2,39 +2,53 @@@section('content')<h1>License</h1>-<p class="sub">The Community Edition license is deliberately simple and honest — not DRM. It exists for install tracking and free premium update notifications. It is easy to audit and easy to remove (this is open source).</p>+<p class="sub">The Community Edition license is deliberately simple and honest — not DRM. It exists for voluntary install tracking and free premium update notifications. It is easy to audit and easy to remove (this is open source).</p><div class="card"><div style="display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:18px">@if ($status === 'licensed')- <span class="chip chip-green">✔ Licensed</span>- @elseif ($status === 'trial')- <span class="chip chip-blue">Trial — {{ $trialDaysLeft }} day(s) left</span>- @elseif ($status === 'grace')- <span class="chip chip-amber">Grace — license server unreachable (still working)</span>+ <span class="chip chip-green">✔ Activated — update notifications on</span>+ @elseif ($status === 'key-revoked')+ <span class="chip chip-amber">Key revoked — checks unaffected</span>@else- <span class="chip chip-red">Blocked — activate a free key to run new checks</span>+ <span class="chip chip-blue">No key — fully functional, forever</span>@endif<span class="chip chip-gray">install: {{ $installId }}</span></div>+ @if ($status === 'unlicensed')+ <p style="background:#e8f7ee;border:1px solid #bfe6cf;border-radius:8px;padding:12px 14px;color:#14532d">+ <strong>No key required.</strong> Every check runs forever, free — there is no trial,+ no countdown and no phone-home. The optional free key below only adds update+ notifications (and supports the project's roadmap counter).+ </p>+ @endif++ @if ($status === 'key-revoked')+ <p style="background:#fef6e7;border:1px solid #f0dfb8;border-radius:8px;padding:12px 14px;color:#78350f">+ <strong>This key was revoked.</strong> Nothing breaks: checks, history, reports and+ exports keep working exactly as before — only update notifications stopped. Grab a+ fresh free key below if you want them back.+ </p>+ @endif+<table><tr><th style="width:220px">Status</th><td>{{ ucfirst($status) }}</td></tr>- <tr><th>License key</th><td>{{ $row->license_key ?? '— (trial)' }}</td></tr>- <tr><th>Trial started</th><td>{{ $row->trial_started_at?->format('Y-m-d H:i') ?? '—' }}</td></tr>- <tr><th>Trial ends</th><td>{{ $row->trial_ends_at?->format('Y-m-d H:i') ?? '—' }}</td></tr>+ <tr><th>License key</th><td>{{ $row->license_key ?? '— (none, optional)' }}</td></tr>+ <tr><th>Installed at</th><td>{{ $row->trial_started_at?->format('Y-m-d H:i') ?? '—' }}</td></tr><tr><th>Activated at</th><td>{{ $row->activated_at?->format('Y-m-d H:i') ?? '—' }}</td></tr><tr><th>Last validated</th><td>{{ $row->last_validated_at?->format('Y-m-d H:i') ?? '—' }}</td></tr></table><div style="margin-top:22px;display:flex;gap:26px;flex-wrap:wrap"><div style="flex:1;min-width:280px">- <h2 style="font-size:14px;margin:0 0 8px">Activate a free key</h2>+ <h2 style="font-size:14px;margin:0 0 8px">Activate a free key (optional)</h2><p style="color:var(--muted);font-size:12.5px;margin:0 0 12px">Request a free Community key (format <code>2MNY-EC-XXXX-XXXX-XXXX-XXXX</code>) at<a href="{{ $serverUrl }}/community-license" target="_blank" rel="noopener">{{ $serverUrl }}/community-license</a>- — takes about 30 seconds. New checks are blocked after the trial until a key is activated;- history and every other page keep working. 7-day offline grace for licensed installs.+ — takes about 30 seconds. The key powers update notifications and the project's+ install counter, nothing else. All checks keep working with or without it, online+ or offline.</p><form method="POST" action="{{ route('license.activate') }}" style="display:flex;gap:10px;flex-wrap:wrap">@csrfdiff --git a/routes/console.php b/routes/console.phpindex 73debb0..bac6348 100644--- a/routes/console.php+++ b/routes/console.php@@ -1,9 +1,11 @@<?php-use App\Services\CommunityLicenseService;-use Illuminate\Support\Facades\Schedule;--// Community license: weekly re-validation + daily install heartbeat-// (same honest cadence as the Website Vulnerability Scanner CE).-Schedule::call(fn () => app(CommunityLicenseService::class)->validate())->weekly();-Schedule::call(fn () => app(CommunityLicenseService::class)->heartbeat())->daily();+// ============================================================================+// COMMUNITY LICENSE+// ============================================================================+// v2 "NO WALL" (2026-10-29): NO scheduled license network calls anymore.+// The daily heartbeat and weekly re-validation were removed — the default+// install makes zero unsolicited phone-home requests. Validation only runs+// when the admin explicitly activates or refreshes a key on the license+// page. (Opt-in heartbeat for the public install map: LICENSE_HEARTBEAT=on+// — see CommunityLicenseService::heartbeat().)