>_ hackerrepos search repos…

← top repos

google/wuffs

Wrangling Untrusted File Formats Safely

▲ 7 hackers recommend C ★ 4.9k codecmemory-safetyparsingprogramming-language

Recommended between 2025-11-13 and 2026-10-03. Last pushed 2026-11-02.

▲ 7 recommend · ▼ 0 criticisms

What hackers say

“that would be another implementation worth comparing since it shares the same goals of safety and speed.”

— omoikane, 2026-10-03 · original comment on Hacker News ↗

show original comment

I am not sure what's the current status of Wuffs-based WebP decoder, but that would be another implementation worth comparing since it shares the same goals of safety and speed. https://github.com/google/wuffs/tree/main/std/webp

“replace all parsers with something at least as safe as https://github.com/google/wuffs right?”

— oefrha, 2026-09-18 · original comment on Hacker News ↗

show original comment

Unsandboxed ImageMagick is known for being a security nightmare even back when PHP ruled the world (not saying sandboxing is a panacea either, it just requires a different and potentially harder exploit to develop a full chain). Difference is it's easier than ever to turn vulnerabilities into full compromises. At some point we'll have to replace all parsers with something at least as safe as https://github.com/google/wuffs right? Otherwise ImageMagick and co. will just keep giving.

“so you probably want something like WUFFS”

— tialaramex, 2026-09-02 · original comment on Hacker News ↗

show original comment

> The thing I really want is a language or environment with no implicit access rights I don't think you'll find anything like that from a General Purpose Language, so you probably want something like WUFFS [Wrangling Untrusted File Formats Safely]. https://github.com/google/wuffs

“For the implemented formats, wuffs is safer and also often faster”

— nulltype, 2026-06-13 · original comment on Hacker News ↗

show original comment

For the implemented formats, wuffs is safer and also often faster: https://github.com/google/wuffs

“Wuffs usually comes up in this context: https://github.com/google/wuffs”

— RossBencina, 2026-06-13 · original comment on Hacker News ↗

“Isn't this exactly the case that wuffs [1] is built for?”

— 12_throw_away, 2025-11-24 · original comment on Hacker News ↗

show original comment

> performant and memory safe decoder (in Rust?). Isn't this exactly the case that wuffs [1] is built for? I had the vague (and, looking into it now, probably incorrect) impression that Google was going to start building all their decoders with that. [1] https://github.com/google/wuffs

“I find this surprising, isn't Wuffs[1] (also made by Google) an even better fit for this particular use-case?”

— littlestymaar, 2025-11-13 · original comment on Hacker News ↗

show original comment

> Chromium: Parsers for PNG, JSON, and web fonts have been replaced with memory-safe implementations in Rust, making it easier for Chromium engineers to deal with data from the web I find this surprising, isn't Wuffs[1] (also made by Google) an even better fit for this particular use-case? (It has compile-time spatial memory safety, where Rust has compile-time temporal safety but runtime spatial safety, with bound checking). Obviously for general-purpose system programming, Rust is a no-brainer and I'm happy to see Google pursuing their rustification of Android. [1]: https://github.com/google/wuffs

Badge for your README

hackers recommend badge
[![hackers recommend](https://hackerrepos.org/badge/google/wuffs.svg)](https://hackerrepos.org/repo/google/wuffs)