Repository navigation
CloakDLP v0.7.0 - Blocking, for real
The project's scope just narrowed to one problem it solves really well: you type your card number somewhere, and CloakDLP makes sure you know about it before your bank statement has to tell you.
What's new
- Blocking actually works now. Policies have had a Block action since the start, but nothing enforced it - every channel just logged the match and let the content through regardless. Now it's real, per channel: clipboard gets cleared, the print job gets canceled, the network request gets rejected with a 403, and the browser extension stops the form submission before it goes out (with a warning shown, and the submission replayed automatically if a check comes back not-blocked).
- Block only above a risk threshold. A block policy can now require the destination domain's risk score to be at least Low, Medium, or High before it actually blocks - so you can, for example, only stop submissions to domains that are freshly registered or on a malware/phishing blocklist, while everything else still gets flagged for review instead of stopped outright.
- Typed card entry detection. A browser extension reads the card number straight out of the checkout form field, before your browser ever encrypts it, so this works without touching TLS at all. Luhn-validated and redacted to last-4 client-side; the full number never leaves your browser.
- A risk score for where it went. Every network-channel match gets checked against a live malware/phishing blocklist plus a domain-age lookup (both free, no API key), so a well-known ten-year-old domain reads very differently from one registered four days ago.
- A notification the moment it happens. A small tray app watches the live incident feed and pops a Windows notification, with the CloakDLP icon, worded differently when a match was actually blocked versus just flagged.
- Actually zero-config now. Install the MSI and you're set: the console opens itself, already signed in, and the tray icon is there before you even click anything.
- A real install path for the extension, not developer mode. The console walks through downloading, extracting the zip into a folder, and loading it, with your actual browser detected (Brave included) so the instructions match what you're using.
- One workstation, not a fleet table. The Agents page shows your machine by name with two clear indicators, desktop agent and browser extension, each Online / Offline / Not installed.
The general-purpose DLP engine this project started as is all still here and still works: SSN detection, secret/token patterns, salted Exact Data Match, and the from-scratch CTPH document fingerprinter, across clipboard, file, print, and network channels.
How blocking works
The decision is made once, server-side, on every incident - never trusted from the reporting channel. A block policy with Simulate mode on still just flags (visible, not enforced); turn Simulate off and it's real. Every enforcement point fails open, not closed: a console that's unreachable never silently eats a real form submission, print job, or clipboard paste.
Risk-based blocking needs to score the destination domain before it can answer, so it does that scoring synchronously instead of in the background - the first-ever check against a new domain pays a real WHOIS-lookup delay (measured live at ~2s), but the result is cached for 24h, so every repeat visit after that is near-instant (measured live at ~60ms).
Known scope limit: the browser extension can only block real <form> submissions with a native submit event. A checkout flow that reads fields and calls fetch()/XHR directly, with no form involved at all, has nothing here to intercept.
Installing
Run CloakDLP-Setup.msi (needs admin elevation). Two Windows services install and start automatically (CloakDLP Console, CloakDLP Agent), the tray notifier launches immediately and also starts at every future logon, and the console opens in your browser on its own. See installer/README.md for exactly what lands where, and browser-extension/README.md for loading the extension until it's published to a store.
Upgrading from an earlier version: just run the new MSI. It replaces the old install in place (same product, higher version), and the database schema updates itself automatically on first startup - no manual migration step.
Known gaps
- The browser extension isn't published to the Chrome Web Store or Edge Add-ons yet, so it still needs to be loaded unpacked; the console walks you through it.
- Network-channel detection outside the browser is still HTTP-only (no TLS interception); this is exactly why the typed-entry path moved to the browser extension instead.
- Domain-age is a coarse signal: a legitimate brand-new site reads the same as a freshly-registered scam one. Worth knowing before turning on an aggressive risk threshold for real.
- This MSI has been validated (full ICE ruleset) and run through a full install cycle this release, including a live block confirmed end-to-end against the real production database, not just a dev environment.
Full design rationale in ARCHITECTURE.md, including the "Blocking" section describing exactly how each channel enforces it.
