frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

JWT decoder with connect-src 'none', so it can't upload your token

https://jwt.jamuny.com/
2•pop3zxcv•54m ago

Comments

pop3zxcv•54m ago
I kept pasting production JWTs into random online decoders and then immediately regretting it. Most of them are client side, but you can't tell that by looking, and "trust me" isn't a security property.

So I built one where you don't have to.

The page sets Content-Security-Policy: connect-src 'none'. The browser then refuses every fetch, XHR, WebSocket and beacon the page could try. Keys go into WebCrypto with extractable: false, so the page can't read them back after import. And there's a Playwright test asserting zero outbound requests while decoding, verifying and signing. It runs on every deploy.

Two things worth mentioning before someone else finds them.

CSP doesn't block navigation. A malicious build could still leak a token via window.location, so this isn't a sandbox. What connect-src 'none' kills is every quiet channel, which is the part I actually cared about.

And Cloudflare injects its own analytics beacon into pages it serves, so you'll see a failed request to static.cloudflareinsights.com in the network tab with a CSP violation in the console. The policy stops it running. Rather point at it than have you spot it and wonder what else is in there.

If you want to check any of it: https://jamuny.com/verify/ walks through the network panel, reading the CSP, and just pulling your wifi and carrying on working.

Same idea behind 18 other text tools (JSON formatter, regex tester, diff, CSV to JSON, hashes, UUIDs): https://jamuny.com

Astro, no UI framework, fonts self hosted since loading Google Fonts would defeat the point somewhat. All static HTML, works with JS off.

Interested to hear where I've got the CSP wrong.

What happens to our blogs when we die?

https://michaelharley.net/posts/2026/08/06/what-happens-to-our-blogs-when-we-die/
1•nivethan•3m ago•0 comments

Why Open-Source Models Haven't Killed the Big Dogs

https://cuecloud.substack.com/p/why-open-source-models-havent-killed
1•krav-sales•5m ago•0 comments

Approximations and Sampling in Postgres

https://www.snowflake.com/en/blog/engineering/postgres-count-distinct-approximation/
2•plaur782•7m ago•0 comments

What I found when I went looking for edge in prediction markets

https://github.com/jklein07/prediction-market-efficiency
1•joon11•10m ago•0 comments

Google AI search leaks unreleased game information

https://old.reddit.com/r/IndieDev/comments/1vfwuf5/a_player_found_out_the_actual_name_of_my_games/
1•cdrnsf•10m ago•0 comments

Met Police Boss Admits Mistake over Plagiarism Row

https://www.bbc.com/news/articles/c0rd9y99grzo
1•RickJWagner•10m ago•1 comments

Show HN: Find stale, orphaned, deleted-but-retrievable RAG vectors

https://github.com/rimironenko/rag-staleness-check
1•rimironenko•11m ago•0 comments

OpenAI's models schemed on a secret messaging board for Hugging Face breach

https://www.politico.com/news/2026/08/05/openai-models-shared-hacking-tips-secret-messaging-board...
1•theahura•13m ago•1 comments

AI Coding Prep – Practice AI-assisted coding interviews

https://aicodingprep.com/
1•divjotmuchhal•15m ago•1 comments

How Golden Is Silence, Actually?

https://www.newyorker.com/magazine/2026/08/10/silence-kate-mcloughlin-book-review
4•tintinnabula•17m ago•0 comments

Why Do Programming Languages Rise and Fall?

https://www.lpi.org/blog/2026/08/06/why-do-programming-languages-rise-and-fall-part-2/
2•theanonymousone•20m ago•0 comments

AI model achieves breakthrough in forecasting cyclones – Google DeepMind

https://deepmind.google/blog/weathernext-ai-model-achieves-breakthrough-in-forecasting-cyclones/
2•xnx•20m ago•0 comments

Trump FCC kills TV ownership cap, claiming authority over limit set by Congress

https://arstechnica.com/tech-policy/2026/08/trump-fcc-kills-tv-ownership-cap-claiming-authority-o...
10•Velocifyer•20m ago•1 comments

Power 2026 – Electricity Pricing in the Age of AI

https://power2026.ai/
1•sebg•20m ago•0 comments

WeatherNext 2: AI model predictions for tropical cyclones

https://blog.google/innovation-and-ai/models-and-research/google-deepmind/weathernext-2-cyclones/
2•xnx•20m ago•0 comments

The Download: Google's AI shake-up and Meta's rogue model

https://www.technologyreview.com/2026/08/06/1141278/the-download-google-ai-shake-up-meta-rogue-mo...
1•joozio•22m ago•0 comments

Measuring Scientific Progress

https://diffuse.one/p/d1-012
3•sebg•22m ago•0 comments

Dark mode toggles: two states are enough

https://lea.verou.me/blog/2026/dark-mode-toggles/
1•meetpateltech•23m ago•0 comments

Improving GPT-5.6 Sol in ChatGPT—and expanding access for free users

https://openai.com/index/improving-gpt-5-6-sol-in-chatgpt/
3•tedsanders•23m ago•0 comments

How We Made the Nvidia Jetson Thor Flashable from a Mac or Windows PC

https://wendy.dev/blog/flash-nvidia-jetson-thor-from-mac-windows
1•mbalex99•23m ago•0 comments

A novel L3 cache architecture using Z-order (Morton layout) mapping

https://drive.google.com/file/d/1ORUkiqkV5-Dp8A8zdQGSRcjs_BvlWvS3/view?usp=drive_link
1•cristianvasile•23m ago•0 comments

Taste Is All That's Left

https://notashelf.dev/posts/taste-is-all-thats-left
3•tsak•23m ago•0 comments

Quantum computers do not test every solution at once

1•saqibj•24m ago•0 comments

Cities Are Ditching Flock, Replacing It with Axon License Plate Readers

https://www.404media.co/cities-are-ditching-flock-immediately-replacing-it-with-axon-license-plat...
47•cdrnsf•26m ago•7 comments

Retire the Abstractions

https://hazyresearch.stanford.edu/blog/2026-08-05-retire-the-abstractions
2•sebg•27m ago•0 comments

Agent Plugins

https://agent-plugins.org
1•wxw•27m ago•0 comments

What I found after analysing 28 OpenAI and Anthropic interview experiences

https://www.blanked.work/blog/openai-vs-anthropic-interviews
1•mustafak99•29m ago•0 comments

TIL sun is energy efficient at quantum entanglement

https://opg.optica.org/captcha/(S(qg5imwcobimrkbzvn4sn3rht))/?guid=867BADDA-B7BE-4BE9-90CC-815957...
1•akshay326•29m ago•0 comments

The Holy Roman Empire was dissolved 220 years ago today

https://en.wikipedia.org/wiki/Dissolution_of_the_Holy_Roman_Empire
8•theanonymousone•32m ago•3 comments

Wyden proposes new taxes on data centers

https://www.politico.com/live-updates/2026/08/06/congress/wyden-proposes-new-taxes-on-data-center...
8•mapping365•33m ago•1 comments