That's a cute idea, and reminds me about the design of gossip in the lightning spec where some results would be delivered in zip format. We had thought about the decompression bomb (mandating a non-vulnerable library that you can provide a buffer limit to, rather than just firing and forgetting), but we later deprecated the compressed response since few implementations could provide such a secure variant without implementing it themselves, so few Impls ever supported it.
I only came across this term recently because I was using pytesseract to do OCR on some PDF files, and I'd sometimes get warnings and even errors about decompression bombs. The only thing is, I didn't run into any actual bombs, some PDFs just had really huge images attached.
pytesseract
to do OCR on some PDF files, and I'd sometimes get warnings and even errors about decompression bombs. The only thing is, I didn't run into any actual bombs, some PDFs just had really huge images attached.