HomeCybersecurityEclipse Attack Defense: P2P Sybil Resistance

Eclipse Attack Defense: P2P Sybil Resistance

Interactive 3D simulator: a victim peer picks its connection table from a pool of honest and Sybil-controlled nodes. Toggle reputation scoring and subnet-diversity defenses and watch the eclipse probability P = f_eff^k respond live.

Cybersecurity3DModerate60 FPS
exp-p2p-security ↗ Open standalone

A peer-to-peer overlay has no central authority to vouch for identities, which is exactly what makes it vulnerable to Sybil attacks: an adversary mints many cheap fake nodes and tries to occupy every slot in a victim's peer table, isolating it inside an attacker-controlled view of the network — an eclipse attack. This simulator renders a victim node and a 3D pool of candidate peers, some honest (green) and some Sybil-controlled (red), and repeatedly runs the victim's peer-selection process. Two independent, real-world defenses — reputation-based trust scoring and subnet/ASN diversity capping — can be toggled on to see how each lowers the effective Sybil fraction the selection process actually encounters, with the eclipse probability P = f_eff^k, live peer-table composition, and a running eclipsed/rounds tally updating after every reselection.

⚙ Under the hood

Interactive 3D simulator: a victim peer fills its connection table from a pool of honest and Sybil-controlled nodes. Toggle reputation scoring and subnet-diversity defenses and watch the eclipse probability P = f_eff^k respond live.

p2psybil-attackeclipse-attacknetwork-securityreputation-systemsdistributed-systems

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)