News for hackers. Stuff that matters.
Re:Show HN: Device-Bound Session Tokens in JavaScript by _andrei_ on Thursday April 18, 2024 @04:53AM (#40074228)
If the user has malware can't that steal the private key as well? Why is it hard to exfil if the attacker has full access?
Re:Show HN: Device-Bound Session Tokens in JavaScript by kevlened on Thursday April 18, 2024 @10:34AM (#40076722)
In an ideal world, the private key should be stored in an HSM, preventing exfiltration. However, even assuming an HSM, the current scheme doesn't protect against malicious actors pre-signing requests on the client and exfiltrating those requests.

This library adds more defense-in-depth, making it harder to attack sessions, but not impossible.