# I built a zero-bank-login CSV tool to catch SaaS spend leaks — using browser-side whitelisting and Z3 math checks

> Source: <https://dev.to/jhyangstudio/i-built-a-zero-bank-login-csv-tool-to-catch-saas-spend-leaks-using-browser-side-whitelisting-and-4oce>
> Published: 2026-12-01 15:40:46+00:00

**Recommendation:** When generating financial findings, verify them with solver-checked invariants like net_spend == total_expense - total_refund and cap estimated savings at annualized spend rather than trusting an LLM's arithmetic.
More in the playbook "Verifying model output": <https://wpnews.pro/playbooks/output-verification>

Most 10–80 person companies don't need a $15,000/yr enterprise SaaS management platform (like Zylo or Spendflo), and plenty of founders refuse to hand over Plaid/bank credentials just to see if their corporate card is leaking money.

As an independent software builder, I built **[LeakZero](https://leakzero.jhyangstudio.com)** — a lightweight web tool that takes a single Brex, Ramp, Amex, Chase, or QuickBooks CSV and surfaces hidden spend leaks in under 5 minutes, with **zero bank logins**, **zero disk retention for CSVs**, and **zero third-party LLM API calls**.

You can try the full interactive 25-person sample report right away (no signup, no upload required):

[https://leakzero.jhyangstudio.com](https://leakzero.jhyangstudio.com)

Asking someone to upload a raw corporate card export to an unknown web server is a hard trust hurdle. So instead of parsing raw files on the backend, JavaScript running locally in your browser:

`date`, `merchant` (falling back to `memo/description` only when `amount` (or split `debit`/` credit`), and a locally anonymized `card_label` (`Card-1`, `Card-2`, ...).
On the server side, scrubbed payloads (<= 10 MB) are processed strictly in temporary RAM, discarded as soon as the HTTP response finishes, never written to application disk, and never sent to any external AI API.

Throwing a CSV at an LLM works for demos, but LLMs quietly double-count overlapping findings, invent savings percentages, or fail basic reconciliation.

Instead, the backend uses deterministic normalization + detection rules and runs **Z3** (`z3-solver`) to check report-level accounting invariants on every run:

`net_spend == total_expense - total_refund`` sum(category_totals) == net_spend``one_time_recovery + recurring_annual_savings == total_estimated_annual_savings``0 <= total_estimated_annual_savings <= annualized_spend` (with no double-counting across overlapping leak types)`1x` rather than multiplied by `365 / days_covered` so annualized run-rate spend isn't inflated.
Each finding is also tagged with **Priority** (`HIGH / MED PRIORITY` or `INFO`) and **Confidence** (` High Confidence` for clear billing anomalies vs. `Needs Team Review` for tool overlaps or multi-card sprawl), plus an editable draft vendor dispute/cancellation email and exact CSV row citations.

Testing against real bank/QuickBooks exports and public US government P-Card datasets (e.g., Oklahoma's FY2027 open P-Card CSVs) immediately surfaced nasty real-world formatting traps:

`31-Jul-26` (`%d-%b-%y`) and 12-hour AM/PM timestamps` 122.10000000000000000...`).` Debit (USD)` / `Credit (USD)` getting swallowed by a single `usd` amount matcher (which silently dropped refunds until excluded).`@media print` CSS (pure black text, white background, 1.5px bordered badges) and a 1:1 reconciled category table (`Net Spend`, `Est. Annual Spend`, `Flagged Leaks`, `Leak Rate`).
The preview scan is free, and clicking **"Try Built-in Sample"** opens the full unlocked sample report + B&W print/PDF view for free. I'm testing whether a one-time **$49 Early-Access Beta** (planned standard: $149, no recurring subscription) makes sense for SMB founders and ops/finance leads.

I'd love brutal feedback from builders and operators here:
