Join Nostr
2026-01-17 13:32:11 UTC
in reply to

Mitch Downey :pci: on Nostr: This is an egregious and easily avoidable security vulnerability. JWTs should not be ...

This is an egregious and easily avoidable security vulnerability. JWTs should not be set client-side in a browser or they can be scraped by 3rd parties.

The actual solution was to simply add ‘withCredentials: true’ in the request helper’s options. If we were flying in blind without knowing that, it would have appeared like the LLM gave us a valid solution that worked, but in reality it was a critical mistake.

I think the models will probably get smart enough to avoid this particular error tho