Home▸Cybersecurity▸IPFS Bitswap Privacy Leak: Want-List Metadata (2D)

IPFS Bitswap Privacy Leak: Want-List Metadata (2D)

Interactive 2D top-down simulation of the IPFS Bitswap protocol: watch want-list broadcasts reveal which content a peer is requesting to everyone in the swarm, and see how a private network (swarm.key) closes that metadata leak while public DHT publishing reopens it. Drag to pan, scroll to zoom.

Cybersecurity2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-exp-ipfs-security ↗ Open standalone

IPFS looks up files by content hash rather than server address, but that lookup itself carries a hidden cost: the Bitswap protocol broadcasts a "want-list" of the CIDs you are requesting to every peer you are directly connected to, and a DHT provider-record publish makes that same information globally queryable. This top-down 2D simulation renders a live swarm — a requester, a ring of trusted peers, an eavesdropper, and the public DHT — and lets you toggle between a public swarm and a private, swarm.key-gated network, adjust swarm size and request rate, and separately enable public DHT publishing, watching a live privacy score track exactly how many of your requests were exposed and through which channel.

⚙ Under the hood

Interactive 2D top-down simulation of the IPFS Bitswap protocol: watch want-list broadcasts reveal which content a peer is requesting to everyone in the swarm, and see how a private network (swarm.key) closes that metadata leak while public DHT publishing reopens it. Drag to pan, scroll to zoom.

IPFSBitswapDHTmetadata leakpeer-to-peerprivacyswarm.key

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)