zlacker

[parent] [thread] 7 comments
1. tptace+(OP)[view] [source] 2026-02-03 18:32:40
It's exactly the tokenizer, but we shoplifted the idea too; it belongs to the world!

(The credential thing I'm actually proud of is non-exfiltratable machine-bound Macaroons).

Remember that the security promises of this scheme depend on tight control over not only what hosts you'll send requests to, but what parts of the requests themselves.

replies(2): >>svieir+gj >>orf+5V
2. svieir+gj[view] [source] 2026-02-03 19:51:39
>>tptace+(OP)
Did the machine-bound Macaroons ever get written up publicly or is that proprietary?
replies(1): >>tptace+Wl
◧◩
3. tptace+Wl[view] [source] [discussion] 2026-02-03 20:03:16
>>svieir+gj
Like the Tokenizer, I think they're open source.

https://fly.io/blog/operationalizing-macaroons/

4. orf+5V[view] [source] 2026-02-03 23:00:47
>>tptace+(OP)
How does this work with more complex authentication schemes, like AWS?
replies(1): >>solati+dl2
◧◩
5. solati+dl2[view] [source] [discussion] 2026-02-04 10:37:16
>>orf+5V
AWS has a more powerful abstraction already, where you can condition permissions such that they are only granted when the request comes from a certain VPC or IP address (i.e. VPN exit). Malware thus exfiltrated real credentials, but they'll be worthless.
replies(1): >>tptace+YA3
◧◩◪
6. tptace+YA3[view] [source] [discussion] 2026-02-04 17:44:08
>>solati+dl2
I'm not prepared to say which abstraction is more powerful but I do think it's pretty funny to stack a non-exfiltratable credential up against AWS given how the IMDS works. IMDS was the motivation for machine-locked tokens for us.
replies(1): >>solati+tR3
◧◩◪◨
7. solati+tR3[view] [source] [discussion] 2026-02-04 18:50:21
>>tptace+YA3
There are two separate concerns here: who the credentials are associated with, and where the credentials are used. IMDS's original security flaw was that it only covered "who" the credentials were issued to (the VM) and not where they were used, but aforementioned IAM conditions now ensure that they are indeed used within the same VPC. If a separate proxy is setup to inject credentials, then while this may cover the "where" concern, care must still be taken on the "who" concern, i.e. to ensure that the proxy does not fall to confused deputy attacks arising from multiple sandboxed agents attempting to use the same proxy.
replies(1): >>tptace+SR3
◧◩◪◨⬒
8. tptace+SR3[view] [source] [discussion] 2026-02-04 18:52:52
>>solati+tR3
There are lots of concerns, not just two, but the point of machine-bound Macaroons is to address the IMDS problem.
[go to top]