Remix.run Logo
▲ fullstop 3 hours ago

Compression is really cool, and while bandwidth goes to waste without it there are (historically) so many bugs around it. Maybe this will get better with AI hammering at it, but there's so many buffer overflow bugs, chained decompression bugs, DoS attacks, etc. It's surprisingly difficult to get right.

▲weitendorf 3 hours ago | parent [-]

Yeah I find it pretty surprising how "intricate" most of these formats get by basically just stacking heuristics or having completely different impls across compression levels (this is not intuitive to me, I'd have expected more of a gradient or).

Fortunately fuzzing has become really easy now, but this is a very easy target for an attacker to hit with a adversarial payload because it's not cryptographically secure. It's been pretty hit or miss for me whether I can get regular consumer agents to do "content/binary-aware security testing" on this stuff without freaking out.

But this is itself a climbable problem so, I'm sure it's possible to address this. At a cost of $200 per binary :)