frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

I Stored a Website in a Favicon

https://www.timwehrle.de/blog/i-stored-a-website-in-a-favicon/
83•theanonymousone•2h ago

Comments

superjose•2h ago
Pretty cool tbh!!! Would have loved seeing the decoder code!!!

It's also pretty interesting to think how an attacker could exploit images on his behalf. Never thought that would be a way!!!

Thanks!

schobi•1h ago
I guess the decoder is more than the 208 bytes that this page uses..

But maybe you can misuse this and store a session ID / cookie in a favicon (give everyone a unique one) and survive some cookie cleanup and evade privacy restrictions?

Maybe you can still make it that the favicon looks like an image a little to not raise suspicion?

Favicons seem to be cached across private browsing sessions. Oh no

franciscop•1h ago
Is this timing coincidence? I just submitted 1h (30 mins before this) ago a website I just made about storing your stock porfolio in a URL + favicon!

https://news.ycombinator.com/item?id=48606396

sheept•1h ago
You can use the favicon cache as storage too, by redirecting users across domains. It's been proposed as a potential fingerprinting risk[0], and if a browser naively reuses the cache for incognito mode, it could be used to track users across browser profiles.

[0]: https://www.schneier.com/blog/archives/2021/02/browser-track...

koolala•1h ago
Wasn't this fixed or mostly fixed?
Tepix•1h ago
Instead of going via pixels, why not use a SVG favicon and directly store markup inside it and extract it?

Use this favicon.svg:

    <svg xmlns="http://www.w3.org/2000/svg">
    <circle cx="50%" cy="50%" r="50%" fill="orange"/>
    <p>hello HN!</p>
    </svg>
use this in your <head> to use a svg favicon:

    <link id="favicon" rel="icon" href="favicon.svg" type="image/svg+xml">
finally, use this in your <body> to extract it and add it to your document body:

    <script>
    fetch(favicon.href).then(r => r.text()).then(t => document.body.innerHTML += t.match(/<p[\s\S]*p>/)[0]);
    </script>
weetii•1h ago
Hey, yeah, I wrote the article. This (of course) would be more practical. Thanks for pointing it out. I wanted the payload to "live" in actual pixel data rather than hidden text inside an XML file. That’s why I went this way :)
peter-m80•1h ago
The ico file format allows multiple resolution icons, so a lot of data
weetii•1h ago
Good point, I might add a section in the article where I list alternative approaches. Thanks
bozdemir•1h ago
Very cool. I wonder is it possible to make a simple game with also leveraging the webassembly?
weetii•1h ago
Yes, probably. I guess, you’d need a bigger favicon since the minimal Rust WASM binary is around 20KB+ (?)
alex_suzuki•26m ago
You might find my tinkering useful: https://strich.io/blog/posts/embedding-webassembly-in-qrcode... A QR code isn’t much different from a favicon I guess. :)
laladrik•13m ago
The link is 404
Walf•1h ago
PNG has comment chunks tEXt, zTXt, and iTXt. You can have a completely normal image whose file is stuffed with as much content as you want. That is less fun, I suppose.
weetii•1h ago
Yes, that would also work, thanks for pointing it out
shaharamir•1h ago
Amazing!
beardyw•1h ago
I would have used a minimal service worker to unpack the web data and present it as if it were just a normal page being loaded.
fitsumbelay•1h ago
very cool and interesting after reading just the title I wrongly assumed this would be about svg
jibal•1h ago
Surprised that a minimal "website" only requires a small image = few pixels = few bytes to store it? Um, ok.
ab_wahab01•1h ago
Fascinating concept! Thanks for sharing this!
esquivalience•39m ago
I found the agressively staccato, clearly LLM-generated content extremely difficult to read.
estetlinus•37m ago
It’s the new internet. So, so annoying.
scottmcdot•35m ago
Which bit? The short sentences?
noduerme•33m ago
Yeah, but it's kinda weird. The typical LLM headers and bullet points are there, but it's like someone took an axe to the rest of the spew. I too would rather read someone's original bad writing than their bad editing of AI writing, but it's kinda interesting how this all shakes out.
bartvk•11m ago
I wish people would include their prompts.
scoot•32m ago
Would have been more fun if the blogpost was rendered from the favicon.
soanvig•30m ago
Honestly it didn't interest me, but I do remember from back in the days full websites rendered by a browser from... Empty files. https://mathiasbynens.be/notes/css-without-html

I built a CLI poker game that you don't need to install to play

https://filiph.net/text/pokerd.html
1•mindracer•1m ago•0 comments

Who Owns the Code Claude Wrote?

https://www.oreilly.com/radar/who-owns-the-code-claude-wrote/
1•Garbage•2m ago•0 comments

Show HN: PHWalls – High-res stock wallpapers from Android and global phone brand

https://phwalls.com/en
1•fenggit•2m ago•0 comments

Show HN: Chrome Extension – Donor Metrics Checker with Recommendations

https://github.com/avldokuchaev/selinkpro-seo-extension
1•avldokuchaev•8m ago•0 comments

Interactional foundations for critical AI literacies

https://zenodo.org/records/19560684
1•aix1•8m ago•0 comments

Choosing a GGUF Model: K-Quants, IQ Variants, and Legacy Formats

https://kaitchup.substack.com/p/choosing-a-gguf-model-k-quants-i
2•theanonymousone•8m ago•0 comments

Nothing dream phone concept [video]

https://www.youtube.com/watch?v=ZpPiZiqWjyA
1•ivanjermakov•11m ago•0 comments

New Steam Controller reservations won't be fulfilled until 2027

https://store.steampowered.com/news/group/45479024/view/697641379212297809
2•haunter•15m ago•0 comments

Show HN: I made a startup idea validator for founders who move fast

https://ideas.trk7.app/use-cases/startup-idea-validation
1•cosmok•15m ago•0 comments

Claude Code scans your whole drive, admits it when caught

https://github.com/anthropics/claude-code/issues
2•cashmawy•18m ago•1 comments

OpenMW 0.51

https://openmw.org/2026/openmw-0-51-0-released/
1•haunter•18m ago•0 comments

Show HN: An online crate digging tool to discover music you can buy and stream

https://www.wedig.fyi
1•bepitulaz•19m ago•0 comments

Spanish electricity providers comparison tool

https://elemetric.comtom.engineering/
1•comtom•21m ago•0 comments

Show HN: Reachpad – document and knowledge sharing for your agents

https://reachpad.dev/
1•sakuraiben•22m ago•0 comments

I made ChatGPT look like a Google Doc

https://gptdisguise.vercel.app
1•yuljg•23m ago•1 comments

Show HN: StayUp – keep a Mac awake (lid closed) while AI agents are working

https://getstayup.app
1•nongknot•24m ago•0 comments

HorseWood Reviews: Is It Worth Considering in 2026?

https://finance.yahoo.com/sectors/healthcare/articles/horsewood-urgent-report-2026-horse-19110038...
1•tarikaus•24m ago•0 comments

Trump administration to pay £765M to cancel 4 more wind projects

https://www.nytimes.com/2026/06/17/climate/trump-wind-farms-cancel-millions.html
1•asplake•29m ago•1 comments

How animals communicate to work together across species boundaries

https://phys.org/news/2026-06-animals-communicate-species-boundaries.html
1•the-mitr•35m ago•1 comments

GLM-5.2 Beat Fable 5 at Website Design

https://twitter.com/Designarena/status/2068030598028087788
3•tosh•39m ago•0 comments

TOML Schema

https://toml-schema.org/
1•pramodbiligiri•45m ago•0 comments

Show HN: Make every bug perfectly reproducible

https://workers.io/
5•chaitanyya•46m ago•0 comments

Coding a Brick Tower

https://www.youtube.com/watch?v=DAMiS2PGTEE
2•dvrp•52m ago•0 comments

Show HN: Self-hostable academic paper manager (linxiv)

https://github.com/linxiv-dev/linXiv
2•jeuribe•52m ago•0 comments

Brain-computer interface trials are taking off

https://www.technologyreview.com/2026/06/19/1139270/brain-computer-interface-trials-are-taking-off/
1•joozio•59m ago•0 comments

Ask HN: Will we start seeing tools for LLM use?

1•bonigv•1h ago•1 comments

Federal regulators order grid operators speed power2energy-hungry AI datacenters

https://apnews.com/article/power-electricity-ai-plants-data-centers-grid-506e3d206871111f15c3c62f...
1•latentframe•1h ago•0 comments

Show HN: A Context Brain for You (and Your AI Agent)

https://gcontext.ai
1•bsampera•1h ago•0 comments

GitHub Copilot and Dev Productivity: An Observational Dose-Response Analysis

https://arxiv.org/abs/2606.00438
2•theanonymousone•1h ago•0 comments

Britain Learned and Unlearned Nuclear

https://worksinprogress.co/issue/how-the-uk-learned-and-unlearned-nuclear/
2•leonidasrup•1h ago•0 comments