frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I built a zero-log PII redaction API – no AI, just regex and checksums

https://pii-firewall-edge-web.vercel.app
1•Raviteja_•2h ago
Hi HN,

I built PII Firewall because I got tired of watching "privacy" APIs secretly pipe user data to cloud AI models. If you're using GPT/Claude to redact PII, you're literally giving the AI your PII.

What makes this different:

- Zero AI – deterministic regex + 30 checksum validators (Luhn, Verhoeff, Mod 11/97) - Zero storage – processes on Cloudflare edge, no logs, no persistence - 152 PII types – SSN, Aadhaar, 50+ country IDs, 20 API key formats, crypto wallets - Two modes: `/fast` (2-5ms) for structured PII, `/deep` (5-15ms) adds names/addresses via 2000+ name gazetteer

The technical approach:

Instead of ML inference, I use combined V8-optimized regex with heuristic pre-scanning. Clean text (90% of requests) skips pattern matching entirely. For IDs that require it, I implemented full checksum validation:

- Credit cards: Luhn - Indian Aadhaar: Verhoeff - Chinese ID: ISO 7064 Mod 11 - Brazilian CPF/CNPJ: Dual Mod 11 - IBAN: Mod 97

Runs on Cloudflare Workers (pure JS, no WASM), so no cold starts.

Why I'm sharing:

Enterprise PII solutions cost $50K+/year. I wanted to make this accessible to indie devs, startups, and anyone building AI features who doesn't want to become a data liability. The $5/mo tier covers most use cases.

Would love feedback on the detection coverage or edge cases I might be missing.

Comments

Raviteja_•2h ago
Quick technical notes for HN:

Why no AI?

The irony of sending PII to an AI model to detect PII is lost on most "privacy" APIs. This is pure algorithmic detection – the same approach your credit card company uses to validate card numbers.

What's validated (not just pattern-matched): - Credit cards → Luhn checksum - Aadhaar → Verhoeff (the algorithm that catches single-digit and transposition errors) - IBAN → Mod 97 (same as banks use) - Singapore NRIC → Mod 11 with offset - Brazilian CPF → Dual Mod 11

Latency breakdown: - Heuristic scan: O(n) single pass for trigger characters (@, -, digits) - Pattern matching: Only runs if triggers found - Validation: Only on pattern matches - Total: 2-5ms for /fast, 5-15ms for /deep

False positive mitigation: - "Order ID: 123-45-6789" won't trigger SSN (negative context) - Timestamps won't match phone patterns (separator requirements) - Random 16-digit numbers won't trigger credit card (Luhn must pass)

max_aucube•1h ago
The project is great, honestly. But I just put a space in the email by mistake, it wasn't censored.

Invoices still arrive by email – so we built around that

https://www.indiehackers.com/post/invoices-still-arrive-by-email-so-we-built-around-that-EujwDCr8...
1•indudas•2m ago•0 comments

52 Things I Learned in 2025

https://probablyinteresting.substack.com/p/52-things-i-learned-in-2025
1•lordleft•3m ago•0 comments

Show HN: One Line Audiovisuals on the Browser

https://ibniz-live.vercel.app/
1•phantomshelby•5m ago•0 comments

MIT Battlecode (programming competition) starts in 1 week

https://battlecode.org/about.html
1•birdculture•7m ago•0 comments

2025 Was Another Exceptionally Hot Year

https://e360.yale.edu/digest/2025-second-hottest-year
1•Brajeshwar•8m ago•0 comments

Ask HN: What are some jobs you know software developers have transitioned to?

1•roschdal•8m ago•0 comments

Balsa "2001: A Space Odyssey" Model

https://www.engineersneedart.com/blog/orion2025/orion2025.html
1•Brajeshwar•8m ago•0 comments

Grateful in Dubai

https://rozumem.xyz/posts/10
1•rozumem•8m ago•0 comments

Love Algorithmically

https://www.profgalloway.com/love-algorithmically/
1•Brajeshwar•8m ago•0 comments

The Average Customer and Other Hallucinations

https://substack.com/home/post/p-182665508
1•TinyBig•10m ago•0 comments

Show HN: Stop explaining the obvious to Nano Banana

https://swisy.app
1•s265lee•11m ago•0 comments

Talk to and Work in Your AWS Console via Multi-Modal AI

https://www.youtube.com/watch?v=_1ZJRvZZOGs
1•Edmond•12m ago•0 comments

Does extreme remote proctoring measure developer skills?

1•ltsiciliano•12m ago•0 comments

Swift Package Manager Mirros for Local Development

https://kunat.dev/notes/spm-package-mirroring/
1•maguszin•12m ago•0 comments

Show HN: Octopii – Custom distributed state machines with Raft (Rust)

https://github.com/octopii-rs/octopii
2•poperk•13m ago•0 comments

Show HN: SatoriDB – Query 1B vectors on a laptop (SQLite for embeddings, Rust)

https://github.com/nubskr/satoriDB
2•poperk•14m ago•0 comments

The State of LLMs 2025: Progress, Progress, and Predictions

https://magazine.sebastianraschka.com/p/state-of-llms-2025
1•vismit2000•15m ago•0 comments

One incident, onion tech debt and layoffs

https://medium.com/@IndividualSecret1/one-incident-onion-tech-debt-and-layoffs-e356610482a3
1•rearyyy•16m ago•0 comments

Sunlight, water and air power a cleaner method for making hydrogen peroxide

https://phys.org/news/2025-12-sunlight-air-power-cleaner-method.html
1•PaulHoule•17m ago•0 comments

Fenian RAM Submarine

https://en.wikipedia.org/wiki/Fenian_Ram
1•jfil•18m ago•0 comments

Xenaps – A privacy focused cryprto aggregator

1•mila31•18m ago•0 comments

WebUSB Unpinner: network analysis for the masses

https://reversing.works/posts/2025/12/webusb-unpinner-network-analysis-for-the-masses/
1•todsacerdoti•20m ago•0 comments

Show HN: CLIPSmqueue: A POSIX message queue (mqueue) library for CLIPS

https://github.com/mrryanjohnston/CLIPSmqueue
1•ryjo•20m ago•1 comments

Missing Brain Receptor May Hold the Key to Autism

https://psychiatryonline.org/doi/10.1176/appi.ajp.20241084
2•stevenjgarner•21m ago•0 comments

SoftBank funds $40B OpenAI Investment

https://www.cnbc.com/2025/12/30/softbank-openai-investment.html
2•batchfile•22m ago•0 comments

Is there an adult version of TikTok?

https://briceka.com/is-there-an-adult-version-of-tiktok/
1•digeka•22m ago•3 comments

Show HN: VideoReview – an on-prem, Frame.io-like video review tool for game dev

https://github.com/KirisameMarisa/video-review
1•KirisameMarisa•24m ago•0 comments

I built an AI Aggregator that hit 1k users in 10 days with $0 spend

https://www.ask-ai.info
1•sarymismail•24m ago•1 comments

Show HN: Summit – local AI meeting insights

https://summitnotes.app/
13•nLight•25m ago•2 comments

A Conversation with Arthur Whitney (2009)

https://queue.acm.org/detail.cfm?id=1531242
1•tosh•28m ago•0 comments