frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

A Better Zip Bomb

https://www.bamsoftware.com/hacks/zipbomb/
35•kekqqq•1h ago

Comments

kleiba•37m ago
In one of my previous jobs, I got laid off in the most condescending way, only to be asked days later by my former boss to send her some documents. If only I knew about this then...
colechristensen•14m ago
Don't commit felonies because you're unhappy with your former employer.
cuechan•31m ago
Is it possible to implement something similar but with a protocol that supports compression? Can we have a zip bomb but with a compressed http response that gets decompressed on the client? There are many protocols that support compression in some way.
542458•20m ago
Okay, so I know back in the day you could choke scanning software (ie email attachment scanners) by throwing a zip bomb into them. I believe the software has gotten smarter these days so it won’t simply crash when that happens - but how is this done; How does one detect a zip bomb?
danudey•17m ago
I don't understand the code itself, but here's Debian's patch to detect overlapping zip bombs in `unzip`:

https://sources.debian.org/patches/unzip/6.0-29/23-cve-2019-...

    The detection maintains a list of covered spans of the zip files
    so far, where the central directory to the end of the file and any
    bytes preceding the first entry at zip file offset zero are
    considered covered initially. Then as each entry is decompressed
    or tested, it is considered covered. When a new entry is about to
    be processed, its initial offset is checked to see if it is
    contained by a covered span. If so, the zip file is rejected as
    invalid.
So effectively it seems as though it just keeps track of which parts of the zip file have already been 'used', and if a new entry in the zip file starts in a 'used' section then it fails.
danudey•19m ago
Debian's `unzip` utility, which is based off of Info-ZIP but with a number of patches, errors out on overlapping files, though not before making a 21 MB file named `0` - presumably the only non-overlapping file.

    unzip zbsm.zip
    Archive:  zbsm.zip
      inflating: 0
    error: invalid zip file with overlapped components (possible zip bomb)
This seems to have been done in a patch to address https://nvd.nist.gov/vuln/detail/cve-2019-13232

https://sources.debian.org/patches/unzip/6.0-29/23-cve-2019-...

Unix v4 tape raw binary image recovered

https://elk.zone/hachyderm.io/@ricci@discuss.systems/115748594405893972
1•sedatk•58s ago•0 comments

Choosing the Right Python Docker Image for Finance Workloads

https://jiripik.com/2025/12/19/choosing-the-right-python-docker-image-for-finance-workloads/
2•jiripik•2m ago•0 comments

Reddit seems down following release of Epstein Files

https://old.reddit.com/
3•philip1209•3m ago•1 comments

Advancing Low-Light Raw Enhancement by Retasking Diffusion Models for Camera ISP

https://arxiv.org/abs/2505.23743
1•MaysonL•3m ago•0 comments

How we made SeaORM synchronous

https://www.sea-ql.org/blog/2025-12-12-sea-orm-2.0/
1•lukastyrychtr•5m ago•0 comments

U.S. strikes ISIS targets in Syria, after 2 soldiers and interpreter were killed

https://www.cbsnews.com/news/u-s-strikes-isis-targets-in-syria-after-3-americans-killed-last-week/
2•mhb•7m ago•0 comments

The most outlandish tech CEO quotes from 2025

https://sherwood.news/tech/the-most-outlandish-tech-ceo-quotes-from-2025/
4•megamike•10m ago•0 comments

Contra DSPy and GEPA

https://benanderson.work/blog/contra-dspy-gepa/
2•mecameron•11m ago•0 comments

Show HN: Substats – Growth and revenue data on top Substacks

https://www.substats.io
1•subtlesoftware•12m ago•0 comments

Show HN: Context Engine – open-source primitives for agent context management

https://github.com/Michaelliv/context-engine
1•miclivs•14m ago•0 comments

Let's Build the GPT Tokenizer - Andrej Karpathy

https://www.youtube.com/watch?v=zduSFxRajkE
1•punnerud•16m ago•0 comments

Show HN: Prompt optimizer for vibe-coding with LLMs

https://vibecodeprompts.cloud/
1•rubenhellman•17m ago•1 comments

What do people love about Rust?

https://blog.rust-lang.org/2025/12/19/what-do-people-love-about-rust/
1•todsacerdoti•20m ago•0 comments

Anthropic says AI sentiment is positive. Their data tells a different story

https://www.playbookatlas.com/research/ai-adoption-explorer
1•jp8585•20m ago•1 comments

Notable Book Covers of 2025

https://www.casualoptimist.com/blog/2025/12/10/notable-book-covers-of-2025/
2•zdw•23m ago•1 comments

Why You Should Never Again Utter The Word, “CIFS” (2012)

https://blog.fosketts.net/2012/02/16/cifs-smb/
2•sipofwater•25m ago•1 comments

Growth of renewable energy is Science's 2025 Breakthrough of the Year

https://www.science.org/content/article/breakthrough-2025
2•g8oz•26m ago•0 comments

Epstein Files Released by DOJ

https://www.cnbc.com/2025/12/19/jeffrey-epstein-files-doj-release-order-maxwell.html
3•donsupreme•27m ago•1 comments

Transition of Adobe eBook Platform to Harman

https://helpx.adobe.com/enterprise/kb/eol-faq-adobe-digital-editions.html
1•tech234a•30m ago•0 comments

Shriram Krishnamurthi's Pedagogy Recommendations

https://parentheticallyspeaking.org/articles/pedagogy-recommendations/
2•azhenley•30m ago•0 comments

Epstein

https://www.justice.gov/queue/view?c=usdoj&e=usdojsearch&ver=javascript-5.0.1&cver=11&man=www.jus...
3•dboreham•31m ago•1 comments

Trust the Process

https://thinkhuman.com/trust-the-process/
2•jamesgill•31m ago•0 comments

Trending Django Projects in 2025

https://django.wtf/trending/?trending=365
1•reowii•32m ago•0 comments

EB1 visa gives some hope after H1B changes

https://www.geteb1.us/
2•gauze•32m ago•0 comments

Pound – Light-weight reverse proxy, load balancer and HTTPS front-end

https://github.com/graygnuorg/pound
2•smartmic•32m ago•0 comments

Show HN: Merview – OSS Mermaid and Markdown Editor and Viewer

https://merview.com
1•mickdarling•33m ago•0 comments

Ceratizit Agrees to Pay $54M to Settle Evaded Customs on PRC Tungsten Carbide

https://www.justice.gov/usao-edmi/pr/ceratizit-usa-llc-agrees-pay-544m-settle-false-claims-act-al...
1•737min•34m ago•0 comments

Show HN: ScreenCaptureKit-rs – Safe Rust bindings for macOS screen capture

https://github.com/doom-fish/screencapturekit-rs
1•doomfish•34m ago•0 comments

Stanford computer science grads find their degrees no longer guarantee jobs

https://www.latimes.com/business/story/2025-12-19/they-graduated-from-stanford-due-to-ai-they-can...
3•bookofjoe•35m ago•2 comments

How to have polygenically screened children using IVF

https://www.lesswrong.com/posts/yT22RcWrxZcXyGjsA/how-to-have-polygenically-screened-children
2•jelsisi•35m ago•0 comments