Get the latest tech news
A valid HTML zip bomb
<h1 id="a-valid-html-zip-bomb"><a tabindex="0" class="anchor" href="/notes/html_zip_bomb">A valid HTML zip bomb</a></h1><p><img src="/notes/res/zip_bomb_file.svg" alt="Illustration d'une bombe zip" height="150" width="150"></p><a href="/notes/html_zip_bomb"></a>
Many sites have been affected by the aggressiveness of web crawlers designed to improve LLMs.I’ve been relatively spared, but since the phenomenon started, I've been looking for a solution to implement.Today, I present a zip bomb gzip and brotli that is valid HTML. So, I set up a small shell script (in fish) to create an HTML file with a 10 MB 'H' comment. Firefox struggles a lot and ends up crashing cleanly with an NS_ERROR_OUT_OF_MEMORY error, visible only in the developer tools.
Or read this on Hacker News