frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Authentication bypass in pac4j-JWT using only the RSA public key

https://www.codeant.ai/security-research/pac4j-jwt-authentication-bypass-public-key
4•Amartya_jha•1h ago

Comments

Amartya_jha•1h ago
Author here. We're the CodeAnt AI security research team.

We've been auditing patch code in popular open-source packages - not scanning, not checking databases, but reading the actual fixes and asking: does this patch really close the vulnerability, or just the specific path that was reported?

pac4j-jwt was one of the first packages we looked at.

The bug: when JwtAuthenticator is configured with both JWE encryption and JWS signature verification, an attacker can wrap a PlainJWT (unsigned) inside a JWE encrypted with the server's RSA public key. After decryption, toSignedJWT() returns null for the PlainJWT. The entire signature verification block is gated on `if (signedJWT != null)` - so it's silently skipped. createJwtProfile() runs with the attacker's unverified claims.

The irony: every individual piece of code is correct. toSignedJWT() correctly returns null for non-JWS payloads. The null check is syntactically correct. The vulnerability is in the composition - the assumption that a decrypted JWE payload will always be a signed JWT. The JWT spec says otherwise. PlainJWT is a valid token type.

Full PoC in the post. It runs against pac4j-jwt 6.0.3 and authenticates as admin on the first try.

The maintainer, Jérôme Leleu, was exceptional. Two business days from private disclosure to patches shipped across three major version lines (4.5.9, 5.7.9, 6.3.3). Advisory published with credit. That's how responsible maintenance looks - worth calling out because it's rare.

Happy to answer technical questions.

charankkshetty•1h ago
Part of CodeAnt team - one thing we appreciated in this process was how quickly the maintainer responded.

In security disclosures, the technical bug is one thing. The responsiveness and clarity of communication are just as important. Shipping coordinated fixes across multiple major versions in two days is not trivial.

Regardless of the bug itself, the handling here is worth highlighting.

Show HN: Voquill, an open source and cross-platform alternative to wisprflow

https://github.com/josiahsrc/voquill
1•josiahsrc•26s ago•0 comments

The unfortunate need for an "age verification" API for legal compliance

https://lists.ubuntu.com/archives/ubuntu-devel/2026-March/043510.html
1•turrini•32s ago•0 comments

OpenclawwOpenClaw Partners with VirusTotal for Skill Security

https://openclaw.ai/blog/virustotal-partnership
1•breitkreutz•1m ago•0 comments

Blocking a brain receptor may calm blood pressure signals

https://medicalxpress.com/news/2026-02-clue-hypertension-blocking-brain-receptor.html
2•PaulHoule•2m ago•0 comments

Show HN: Mozilla.ai introduces Clawbolt, an AI Assistant for the trades

https://github.com/mozilla-ai/clawbolt
3•river_otter•3m ago•0 comments

Claude and Pentagon whole fight timeline

https://www.youtube.com/watch?v=Ph8CrTNlWbM
2•ashutosh0707•4m ago•0 comments

New tool for designing software architecture diagrams and presentations

https://savnet.co/networks/designer
1•oscarricardosan•4m ago•0 comments

Section 230 is the best protection we have from Trump's censorship

https://www.ms.now/opinion/section-230-trump-free-speech
1•01-_-•4m ago•0 comments

Cofounder search: An internet-native way to do ML and bio research

https://labless.bio
1•jeremykalfus•5m ago•1 comments

The Making of the Atomic Bomb book predicted the AI crisis before it happened

https://blog.adafruit.com/2026/03/03/the-making-of-the-atomic-bomb-1986-by-richard-rhodes/
1•ptorrone•5m ago•0 comments

Show HN: SmartRuler Pro – ESP32-powered motorized ruler with 0.5mm precision

https://smart-ruler.bunnytech.io/
1•iosifnicolae2•5m ago•0 comments

Show HN: HackerNews.pink – A PWA HN reader with personalized recommendations

https://hackernews.pink/
1•gurkenkoenig•5m ago•0 comments

Show HN: SOTA long memory eval with open source models

https://ensue.dev/blog/beating-memory-benchmarks/
3•austinbaggio•5m ago•0 comments

Wormhole Vectors with Trey Grainger

1•CShorten•5m ago•0 comments

Why payment fees matter more than you think

https://cuencahighlife.com/why-payment-fees-matter-more-than-you-think/
1•dxs•6m ago•0 comments

GitLab Active Incident

https://status.gitlab.com
1•ustad•7m ago•0 comments

Show HN: OpenMandate – Declare what you need, get matched

https://openmandate.ai
1•raj-shekhar•7m ago•0 comments

El Paso ICE Camp East Montana under quarantine after measles outbreak

https://www.elpasotimes.com/story/news/immigration/2026/03/03/el-paso-ice-camp-east-montana-quara...
6•mooreds•7m ago•0 comments

Waymo Driving in Snow

https://twitter.com/dmitri_dolgov/status/2028863520037867820
1•xnx•8m ago•0 comments

IOC announces principles of neutrality during aggression against Iran

https://www.olympics.com/ioc/news/ioc-statement-on-athletes-safe-passage
2•metaPushkin•10m ago•0 comments

Skill for Creating Agent Skills

https://github.com/mgechev/skills-best-practices/tree/main/skill
1•ovvvn3r•10m ago•0 comments

The Birth of a New Commodity Class and a Spot Market for Inference

https://thegrid.ghost.io/the-birth-of-a-new-commodity-class-and-a-spot-market-for-inference/
1•sishirvarghese•10m ago•0 comments

Understanding Model Context Protocol: Connecting Your Software to AI

https://fusionauth.io/articles/ai/mcp-connecting-software-ai
2•mooreds•11m ago•0 comments

Do Nothing Investing

https://longviewy.com/do-nothing-investing-with-decision-gates/
1•josephcs•12m ago•0 comments

Reverse Engineering Crazy Taxi, Part 1

https://wretched.computer/post/crazytaxi
1•wgreenberg•12m ago•0 comments

War has pushed global markets into the danger zone

https://sherwood.news/markets/war-has-pushed-global-markets-into-the-danger-zone/
1•speckx•14m ago•0 comments

The Corporate Bullshit Receptivity Scale: Development, Validation, Work Outcomes

https://www.researchgate.net/publication/382308213_The_Corporate_Bullshit_Receptivity_Scale_Devel...
1•bikenaga•14m ago•1 comments

A Day in the Life of an Ensh**ttificator

https://www.youtube.com/watch?v=T4Upf_B9RLQ
1•rasso•15m ago•0 comments

GPT‑5.3 Instant System Card

https://openai.com/index/gpt-5-3-instant-system-card/
1•swolpers•17m ago•0 comments

Why VS Code remains a developer favorite, year after year

https://shiftmag.dev/vs-code-171/
1•TheAnkurTyagi•17m ago•0 comments