Security notice. Reported as of 6 Dec 2026. Sources: Anthropic and OpenAI's joint statement, 5 Dec 2026 and Supabase's post, 4 Dec 2026.
If you build on Supabase, this week's cryptography news probably reached you as a rumor with a strange name in it: P-256. That's the signing method Supabase uses on new projects to stamp your users' logins so nobody can fake them. Most people asking about it don't care how it works. They want to know whether their app is on it and whether to do anything today.
You can find out in about ten seconds, from your own browser. If you'd rather not handle tokens at all, I also wrote a free one-file check that gives you the answer and what to do about it. Both are below.
On 5 December, Anthropic and OpenAI published a joint statement saying their researchers had separately "found weaknesses in some of the cryptography that protects the internet." The statement doesn't name any signing method. It says the findings "aren't an immediate threat to the public," and the two companies aren't publishing their methods.
Nobody has published an attack. The P-256 part comes from commentators repeating what they've heard, not from the statement. Treat it as worth watching, not as broken.
Supabase posted its own guidance on 4 December. It says P-256 signs Supabase Auth tokens by default on new projects, that existing projects don't need immediate changes, and that it won't change an existing project's signing algorithm or key without notice.
The check
Do this on your own app, signed in as your own test user.
- Log in to your app. This matters: before you log in, the header below carries your project's anon key, which is signed differently and will give you the wrong answer.
- Open DevTools (F12), go to the Network tab, and click any request to your Supabase project.
- Under Request Headers, find
Authorization: Bearer eyJ.... Copy the token after "Bearer". - In the Console tab, paste this with your token between the quotes, and press Enter:
JSON.parse(atob("PASTE_TOKEN".split(".")[0].replace(/-/g,"+").replace(/_/g,"/"))) That decodes only the first part of the token, the header, which says how the token was signed. Look at alg.
The token is a live login for your account, so don't paste it into websites or chats. The one-liner runs in your own browser and sends nothing.
If it says HS256
HS256 means your project still signs logins with the legacy JWT secret. The P-256 news doesn't touch it, because HS256 is built a different way and doesn't use P-256.
It's still the thing to fix. Supabase no longer recommends the legacy secret, and its post says moving to signing keys "is a better use of this week than anything else on this page." The move starts with the Migrate JWT secret button on the JWT signing keys page in your dashboard, and Supabase's docs say it doesn't cause downtime.
If it says ES256
ES256 means P-256. That's my demo app's answer, and it's the default for new projects.
There's nothing to do today. In particular, don't switch to HS256 to get away from P-256. HS256 uses one shared secret for both signing and checking tokens, so anything that can check your users' logins could also forge them. Supabase's post says this directly: "Don't switch to HS256." It also says not to rotate keys in a hurry.
Keep an eye on Supabase's changelog. If it changes defaults or adds new signing methods, it says it'll post a dated notice first.
Or let the free check do it
Copying a live token out of DevTools isn't everyone's idea of fun, so I turned the check into a small script. It's free and it's one file. It needs Node 20 or later, with no install and no account.
Download the free signing-key check
Run it against an app you own:
node check-signing-key.mjs --url https://your-app.example It finds your Supabase project in your site's JavaScript and reads the project's public key list. If it can't find the project (a custom domain, for example), give it the project URL from Project Settings > API instead:
node check-signing-key.mjs --supabase-url https://abcd1234.supabase.co You get one of three answers. WATCH means your tokens are signed with P-256, with Ed25519, or with the legacy shared secret. Nothing is broken today, and the check lists three things to do this week. OK means your tokens use RSA, which isn't the method in the news; the same steps are still worth doing, without the rush. CAN'T TELL means it couldn't reach your project's key list, so check the URL and try again. It never says your app is broken, because nothing public shows that it is.
What it sends: one request to your project's public key list (/auth/v1/.well-known/jwks.json), plus your site's page and scripts when you use --url, up to 60 requests in all and at most one a second. It never sends a write, never uses a key it finds, and never uploads anything. The first time you check a site, it asks you to type the hostname to confirm the app is yours.
The download page shows the file's SHA-256, so you can confirm you got the same file, and the script opens as plain text, so you can read it before you run it.
Or ask your AI tool
Supabase published a checkup your AI tool can follow. This is the prompt from the Short's pinned comment. Paste it into Cursor, Lovable, Claude Code or whatever you build with:
Check my Supabase project against Supabase's post-quantum security guidance. Fetch https://supabase.com/docs/guides/ai-tools/ai-prompts/post-quantum-security-checkup.md and follow its steps. If you can't open that page, tell me so I can paste the full prompt instead. Read what it plans to change before you accept anything. The checkup's own advice is the same as above: find out which algorithm you're on, move off the legacy secret if you're still on it, and leave ES256 alone.
Check it worked
- [ ] You ran the header check while logged in, or the free check, and you know whether you're on HS256 or ES256.
- [ ] On HS256: the migration to signing keys is on your list for this week, or done.
- [ ] On ES256: nothing changed, and nobody "fixed" it by switching to HS256.
- [ ] You know where Supabase posts updates (its changelog) if the advice changes.
If someone else built your app, send them one question: "Does our Supabase login use the legacy JWT secret or signing keys, and which algorithm?" Or send them the free check and ask for its answer.
Recap
Anthropic and OpenAI named no signing method and published no attack. P-256 is a rumor worth watching, and it's what Supabase uses by default. Decode your login token's header, or run the free check: HS256 means plan the move to signing keys, ES256 means nothing to do today. Either way, don't switch to HS256.
The signing-key check is the first free piece of Closed by Default, a set of checks I'm building that run against your own app and tell you whether a hole is there. More are on the way, and you can join the waitlist on the same page.
I only checked my own demo app, signed in as a fake test user. The findings about the cryptography are Anthropic and OpenAI's own statement, and the advice is Supabase's. Both are linked at the top. The story is still moving, so check Supabase's post for its current advice.
Drafted with AI help from my video script; I checked and edited it.