frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I made PromptMask, a local LLM-based privacy filter for cloud LLMs

https://github.com/cxumol/promptmask
2•cxumol•2h ago
I'm wary of sending private data to cloud AI services, but local models aren't always powerful enough. So I built PromptMask, an open-source local-first privacy layer.

It uses a trusted local LLM (via Ollama, llama.cpp, etc.) to intercept your prompt before it goes to a cloud service like OpenAI. It finds sensitive data and replaces it with semantic placeholders. Instead of a generic [REDACTED] that breaks context, it creates a map like {"John Doe": "${PERSON_1_NAME}"}.

Only the anonymized prompt is sent to the cloud. When the response returns, PromptMask uses the map to restore your original data, so that your secrets never leave your machine.

This is practical on consumer hardware because the local model's job is small: it only outputs a JSON map of secrets, not a full text rewrite. My benchmarks show even sub-1B parameter models are effective at this.

Two ways to integrate it into your AI activities:

1. Python lib for developers: A drop-in replacement of OpenAI SDK. `from promptmask import OpenAIMasked as OpenAI`

2. API Gateway for client-side apps: Run `promptmask-web` to get a local reverse-proxy endpoint (localhost:8000/v1/chat/completions) that secures requests from any OpenAI-compatible app.

I'd love to hear your feedback.

GitHub Repo: https://github.com/cxumol/promptmask (MIT Licensed)

Blog post "How Not to Give AI Companies Your Secrets", a deep dive of "how"s and "why"s: https://xirtam.cxumol.com/promptmask-how-not-give-ai-secrets...

CA Proposition 50, Use of Legislative Congressional Redistricting Map Amendment

https://ballotpedia.org/California_Proposition_50,_Use_of_Legislative_Congressional_Redistricting...
2•sheenamarie•1m ago•0 comments

Velocity, acceleration, jerk, snap: forces during a roller coaster ride [pdf]

https://iopscience.iop.org/article/10.1088/1361-6552/aba732
1•thunderbong•5m ago•0 comments

Watch Starship's tenth flight test

https://twitter.com/SpaceX/status/1960178606212063307
1•andsoitis•7m ago•0 comments

Em Dash Copy Paste

https://emdashsymbol.com/
1•JIE007•7m ago•0 comments

SpaceX pulls off Starship rocket launch in comeback

https://www.bbc.com/news/articles/cly69z9lwnno
1•andsoitis•8m ago•0 comments

Brain-computer interface helps paralyzed man speak

https://www.nih.gov/news-events/nih-research-matters/brain-computer-interface-helps-paralyzed-man...
1•Philadelphia•11m ago•0 comments

25 countries suspend postal services to U.S. over tariffs: UN

https://www.ctvnews.ca/world/article/25-countries-suspend-postal-services-to-us-over-tariffs-un/
2•pseudolus•12m ago•0 comments

Built a full-stack QR code app with auth in 15 minutes using InstantDB

1•zlwaterfield•13m ago•0 comments

How Deep Purple's 'Smoke on the Water' Came into Being

https://www.theguardian.com/culture/2025/aug/18/deep-purple-on-smoke-on-the-water-zappa-montreux
1•bookofjoe•14m ago•0 comments

Sci-Hub Blocked in India, Founder Tells Plaintiffs to Expect Disappointment

https://torrentfreak.com/sci-hub-blocked-in-india-founder-tells-plaintiffs-to-expect-disappoinmen...
2•gslin•18m ago•0 comments

Canadian Startup NordSpace prepare is preparing for first sovereign launch

https://twitter.com/Nord_Space/status/1960448121357656100
1•Olshansky•20m ago•0 comments

Show HN: Simulating a Vedic astrologer using real astronomical data and LLM

https://hellopandit.in
1•abhas9•20m ago•0 comments

Audio-Visual Contact Classification for Tree Structures in Agriculture

https://arxiv.org/abs/2505.12665
2•PaulHoule•24m ago•0 comments

Show HN: Open-source pipelines to auto-train workflow-specific LLMs

https://www.microyourmodel.com/
1•jwstanwick03•24m ago•0 comments

Ask HN: Any experienced devs who use AI extensively in their work?

1•atleastoptimal•25m ago•0 comments

A geography game that never happened – every photo is AI, every memory is yours

https://timeguessr.online/
2•nico_nico•26m ago•3 comments

Linux Storage Stack Diagram (up to v6.16)

https://www.thomas-krenn.com/en/wiki/Linux_Storage_Stack_Diagram
3•tanelpoder•27m ago•0 comments

RedNote Downloader – A simple tool to save rednote videos without watermark

https://www.rednotedownloader.xyz/
1•graphZen•27m ago•1 comments

LaLiga Threatens Cloudflare Customer for Using an IP Address Linked to Piracy

https://torrentfreak.com/laliga-threatens-cloudflare-customer-for-using-an-ip-address-linked-to-p...
2•BallsInIt•28m ago•0 comments

Texas flood lives could have been saved with a phone app that tailored alerts?

https://philip.greenspun.com/blog/2025/07/06/texas-flood-lives-could-have-been-saved-with-a-smart...
1•stmw•29m ago•0 comments

SpaceX Starship Completes Tenth Flight Test with First Satellite Deployment

https://gearmusk.com/2025/08/27/starship-tenth-flight/
1•maxmarrfun•34m ago•0 comments

Dissecting the Apple M1 GPU, the End

https://rosenzweig.io/blog/asahi-gpu-part-n.html
26•alsetmusic•35m ago•6 comments

A professional square image online tool

https://squareimage.dev/
1•mengyuxuan•39m ago•1 comments

SiFly Shatters Drone Endurance Record

https://www.flyingmag.com/sifly-electric-drone-endurance-flight-record/
2•wjb3•40m ago•0 comments

Active NPN Supply Chain Attack on `Nx` Package

https://github.com/nrwl/nx/issues/32522
1•longcat•40m ago•1 comments

MacSurfer Returns Under New Ownership

https://macsurfer.com/
2•Bogdanp•41m ago•0 comments

Anyone deploying LLMs in production at a startup?

1•LuisLiuYC•43m ago•0 comments

Alpay Algebra: Solving the "Unsolvable" or Just Changing the Rules?

https://lightcapai.medium.com/alpay-algebra-solving-the-unsolvable-or-just-changing-the-rules-4c3...
1•WASDAai•44m ago•1 comments

Can AIs suffer? Big tech grapples with most unsettling question of our times

https://www.theguardian.com/technology/2025/aug/26/can-ais-suffer-big-tech-and-users-grapple-with...
2•pabs3•51m ago•1 comments

How a Historic Immigration Drop Is Changing the Job Market

https://www.wsj.com/economy/immigration-workers-labor-market-b277548f
2•bdev12345•52m ago•0 comments