/tor-and-onion-networks:tor-attack-literature-and-threat-modelfrom tor-and-onion-networks
Assesses threats to Tor users and evaluates deanonymization claims against the research literature. Covers end-to-end confirmation, website fingerprinting, guard discovery, Sybil/malicious-relay campaigns, exit attacks, HSDir harvesting, DoS, and client-side compromise.
Ships in tor-and-onion-networks. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Part 5 of 8 of the Tor and Onion Networks reference (plugin
tor-and-onion-networks), covering §11. Sibling skills:tor-protocol-circuits-and-cell-cryptography(§1–§5),tor-network-consensus-guards-and-paths(§6–§7),tor-onion-services-and-hardening(§8–§9),tor-censorship-circumvention-and-bridges(§10),tor-ecosystem-alternatives-and-governance(§12, §14–§16),tor-building-on-tor-software-patterns(§13.1–§13.4, handbook §1),tor-running-relays-bridges-and-hardware(§13.5, handbook §2–§6). Section numbers are shared across the set; a reference written as §N →skillpoints into that sibling skill.Currency: compiled 16 September 2026. The attack taxonomy is durable — these categories have been stable for a decade. Specific accuracy figures, campaign details and CVE numbers are dated. Full citations in §16 →
tor-ecosystem-alternatives-and-governance.
⚠️ Ordered by practical significance, not by how interesting the mathematics is. The category that deanonymizes the most real people is the last one, and it is not a protocol attack.
⚠️ GOTCHA boxes mark where the mental model people carry is wrong — including where the security literature is routinely over-claimed.
The three ideas that organize this document:
- ⚠️ END-TO-END CONFIRMATION IS A DESIGN LIMIT, NOT A BUG (§11.1). Tor is low-latency by choice. Anyone watching both ends can correlate. Every deployed defense raises the required vantage point; none removes the property. Claims that Tor "defeats" a global adversary are wrong at the design level.
- ⚠️ NO GENERAL WEBSITE-FINGERPRINTING DEFENSE SHIPS BY DEFAULT (§11.2). The circuit-padding framework is merged. The defenses built on it are not on. Treat any claim that "Tor defends against WF" as false unless it names a specific enabled machine.
- ⚠️ THE BIGGEST REAL-WORLD CATEGORY IS CLIENT-SIDE (§11.8). Browser exploits, logins, document metadata and plugin leaks deanonymize far more people than traffic analysis. This is why the answer is Tor Browser, Tails and Whonix rather than "point any app at a SOCKS proxy".
Ordered by practical significance. Cited papers are in §16 →
tor-ecosystem-alternatives-and-governance.
The root limitation. Guard pinning helps; distance helps; padding helps marginally. No deployed defense defeats a genuinely global observer — the response is to raise the adversary's required vantage (guards, family/AS diversity research like Waterfilling) rather than to claim impossibility.
A guard-side observer (or ISP) classifies which site a circuit visits from packet sizes/directions/timing alone — kNN (Panchenko), CUMUL, then Deep Fingerprinting (Rimmer et al., CCS 2018) showed CNNs hitting ~95%+ accuracy undefended.
Defenses (WTF-PAD, Walkie-Talkie, Tamaraw) exist in the literature and Tor's circuit padding framework (a state-machine mechanism for negotiated padding) is merged in the client.
⚠️ GOTCHA: as of 2026 no general WF defense is on by default — cost/latency tradeoffs remain unresolved. Treat "WF defenses are deployed" claims skeptically, and note that published accuracy figures are usually closed-world laboratory numbers that degrade substantially in open-world conditions.
See §9.1 → tor-onion-services-and-hardening; mitigated by vanguards (Arti) and shortened
circuit lifetimes.
Real and recurring: the 2020 malicious-exit wave (SSL-stripping; at one point ~23% of exit capacity before eviction), the long-running KAX17 actor (2021 disclosure; hundreds of relays across entry/middle/exit).
Countermeasures: authority-side eviction heuristics, family verification (happy families,
§7.3 → tor-network-consensus-guards-and-paths), bandwidth-authority measurement making
low-capacity Sybils cheap to suspect, and community relay-health monitoring.
Spoofing/poisoning past the exit (the 2014 Spoiled Onions study cataloged HTTPS/SSH MITM,
DNS poisoning, and binary injection attempts). The defense is boring and effective: end-to-end
crypto to the destination, HTTPS-only mode, and checking exits via BadExit reporting
pipelines.
v3's blinded keys largely closed the v2-era enumeration hole (§8.4 →
tor-onion-services-and-hardening); operators should still assume addresses are discoverable
if leaked elsewhere — in a referrer header, a certificate transparency log, a screenshot, or
a search index.
The 2022–2023 intro-flooding campaigns against prominent services motivated PoW (§9.2 →
tor-onion-services-and-hardening) and memory-quota hardening; Conflux queue and
circuit-extension DoS CVEs (e.g., CVE-2026-44600) keep landing. Defensive posture: current
tor, PoW, rate limits, Onionbalance.
The biggest practical category: browser exploits (drive-by against Tor Browser users historically), plugins, document metadata, login reuse, clock skew.
None of these are protocol attacks — they're why Tails/Whonix and Tor Browser's security levels (Standard/Safer/Safest, with NoScript-managed JS/Wasm) exist. A threat model that spends all its attention on traffic analysis and none on the browser has the priorities inverted relative to the historical record.
tor-network-consensus-guards-and-paths.tor-onion-services-and-hardening.tor-ecosystem-alternatives-and-governance.tor-ecosystem-alternatives-and-governance.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
tor, deanonymization, traffic-analysis, threat-model, privacy
npx claudepluginhub the-vibey-project/vibey --plugin tor-and-onion-networks8 skills in this plugin
/tor-building-on-tor-software-patternsUse when writing code that talks to Tor — SOCKS with socks5h and stream isolation, the control port, ephemeral onion services via ADD_ONION or stem, long-lived onion services in torrc, client authorization v3, Onion-Location and Alt-Svc headers, torsocks and its limits, embedding Arti, testing against a private chutney network, and building your own private or custom onion-routing network. Covers §13.1–§13.4, §13.6 and handbook §1. Companion to the other Tor and onion-network skills./tor-censorship-circumvention-and-bridgesUse when reasoning about Tor under censorship — bridges, pluggable transports (obfs4, Snowflake, WebTunnel, meek, Conjure), how bridges are distributed, and how blocking actually works — or when reading a blocking-event report. Includes the 2026 Snowflake DTLS fingerprinting campaign and Iran's 2025 stealth blackout as worked cases. Covers §10. Companion to the other Tor and onion-network skills./tor-ecosystem-alternatives-and-governanceUse when choosing a Tor implementation or client (C tor vs Arti, Tor Browser, Tor VPN, Orbot, Tails, Whonix), picking operator tooling (nyx, stem, txtorcon, chutney), comparing Tor against I2P, mixnets or VPNs, or looking up the specs, proposals and foundational papers. Covers §12, §14–§16. Companion to the other Tor and onion-network skills.Other plugins' skills for the same job