Zero-Backend Client-Side Architecture: 0 Cookies · 0 Cloud Uploads · 0 Telemetry · Strict Offline CSP default-src 'none'; base-uri 'none'; form-action 'none'
OSI MIT Open Source · Pure Local RAM Execution · SLSA Build Level 3

Golden-72h Triage, Outbound DLP & Multi-Currency Exposure De-duplication Without Cloud Leakage.

During active Business Email Compromise (BEC), spoofed vendor invoice interception, or coercive social-engineering incidents, pasting raw bank ledgers or recall drafts into cloud SaaS leaks sensitive PII. ClearLens executes 100% inside local browser RAM or Python 3.10+ stdlib.

License: MIT (REUSE 3.3 SPDX) OpenSSF Best Practices: #16718 Runtime Deps: 0 (Stdlib + Vanilla JS) Checksums: ISO 13616 Mod-97 & Luhn Fuzzing: ClusterFuzzLite + Atheris
clearlens-cli · deterministic verification Python ≥ 3.10
$ python3 -m clearlens verify ./web
{
  "html_files_checked": 2,
  "all_passed": true,
  "csp_policy": "default-src 'none'; base-uri 'none'"
}

$ python3 -m clearlens demo
Case Ref       : SYN-BEC-2026-041 (Apex Maritime GmbH)
Gross Touched  : USD 51,176.60
Internal FX    : USD 23,870.00  [STRIPPED]
Risk-Held Pool : USD  6,153.60  [EXCLUDED]
Net Exposure   : USD 21,153.00  [VERIFIED]

Four Deterministic Incident-Response Cabins

Purpose-built for corporate treasury responders, cross-border legal counsel, and household crisis containment.

CABIN 01 · CONTAINMENT & IOC HYGIENE

Severity Triage & Persistence Audit

Structured 6-step containment checklist eliminating silent mailbox forwarding rules, rogue OAuth delegates, screen-share persistence, and SIM call diversion while preserving bank SWIFT recall rails.

  • Freeze outbound transfers ONLY — never close accounts needed for SWIFT gpi recall returns
  • Browser-local IBAN Mod-97, Luhn card, and SWIFT/BIC extraction from raw headers
CABIN 02 · DEFENSIVE OUTBOUND DLP

Outbound DLP & Crisis De-escalation Guardrail

Blue-team pre-flight scanner preventing accidental disclosure of law-enforcement filings, SWIFT recall references, OTP codes, or internal account identifiers before freeze orders settle.

  • Blocks operational tip-off terms, unredacted IBANs/cards, and confrontational tone spikes
  • HMAC-style local PII redaction prior to optional loopback Ollama (127.0.0.1:11434) drafting
CABIN 03 · MULTI-CURRENCY LEDGER ENGINE

Internal FX Stripping & Net Exposure Reconciliation

Side-by-side local RAM receipt inspector, UTC session-window alignment calculator, and multi-currency ledger engine that automatically strips same-entity treasury FX sweeps and bank-held transfers.

  • Eliminates double-counted internal FX hops in multi-jurisdiction fraud filings
  • Pure inline SVG fund-flow topology & CSV/JSON air-gapped export
CABIN 04 · DUAL-MODE A4 WORKPAPER

Standardized Bank Recall & Evidentiary Schedule

Generates print-ready A4 schedules in two modes: a Full Bank Recall & Law-Enforcement Schedule and a Redacted External Counsel Brief masking internal payer accounts.

  • Includes built-in 100% synthetic BEC benchmark preset (Apex Maritime GmbH)
  • Native browser @media print A4 layout with zero third-party PDF servers

Verifiable Security & Clean-Room Architecture

Aligned with OpenSSF Best Practices Silver (#16718), OpenSSF OSPS Baseline Level 3 (EU CRA), and SLSA Build Level 3.

Enforced Browser Network Isolation

Locked down via meta Content-Security-Policy (default-src 'none'). Uploaded receipt images use ephemeral blob: URLs in local RAM and are revoked immediately upon tab close.

Companion Ecosystem with StarShield

Pairs seamlessly with starshield-forensics (Chromium LevelDB/IndexedDB WAL carver & PNG/JPEG container provenance inspector) for end-to-end evidentiary triage.

100% Synthetic Clean-Room Corpus

All bundled presets, IBANs (DE89370400440532013000 / GB82WEST12345698765432), and Luhn accounts follow official ISO test specifications with zero real-world PII.

Air-Gapped Local Deployment & CLI Audit

Run ClearLens directly in your browser from GitHub Pages, open web/app.html from an offline USB drive, or audit and serve via the zero-dependency Python 3.10+ package.

Launch Workbench Now →
brew install Ziqi/tap/clearlens
git clone https://github.com/Ziqi/clearlens.git && cd clearlens
python3 -m clearlens verify ./web
python3 -m clearlens serve --host 127.0.0.1 --port 8765