{
  "slug": "prefix-siphoning",
  "term": "Prefix siphoning",
  "aliases": [
    "Range-filter key disclosure"
  ],
  "definition": "Prefix siphoning is a timing side channel in which certain LSM-tree range filters expose information about stored key prefixes through point-query response times.",
  "note": "The ATC 2023 study examines SuRF and prefix Bloom filters. Its threat model permits chosen point queries before authorization and observable timing differences; range queries are not required. Denying a value read does not necessarily conceal its key. [paper]\n\nEvidence differs by experiment: the SuRF timing demonstration ran clients and storage on one server with constrained memory and background reads. The prefix Bloom evaluation used idealized filter classification. Neither establishes vulnerability of every current RocksDB deployment. [paper]\n\nThe authors discuss authorization before storage lookup, separating point and range filters, and rate limits. These change architecture, memory or throughput; they are not a universal confidentiality proof. [paper]\n\nHesela's synthetic counterexample gives two designs the same 20/200 false-positive fraction. One splits positives 10/100 and 10/100 across query groups; the other splits them 20/100 and 0/100. Equal aggregate rates therefore do not determine group-conditioned behavior. This exact arithmetic is not a replication or an observed timing channel. [example]",
  "status": "research",
  "advantages": [],
  "limitations": [
    {
      "text": "A scalar false-positive rate is insufficient evidence of confidentiality; query semantics, authorization order and observable execution paths also need review.",
      "citationIds": [
        "paper"
      ]
    }
  ],
  "related": [
    "prefix-bloom-filter",
    "succinct-range-filter",
    "bloom-filter",
    "lsm-tree",
    "sstable"
  ],
  "citations": [
    {
      "id": "paper",
      "title": "Kaufman, Hershcovitch and Morrison. Prefix Siphoning: Exploiting LSM-Tree Range Filters For Information Disclosure. USENIX ATC 2023, sections 4, 9-11.",
      "url": "https://www.usenix.org/system/files/atc23-kaufman.pdf",
      "accessed": "2026-12-02"
    },
    {
      "id": "example",
      "title": "Hesela: equal aggregate false-positive rates, different conditional behavior; synthetic exact counterexample and tests (CC0).",
      "url": "https://hesela.dev/research/filter-rate-conditioning/README.md",
      "accessed": "2026-12-02"
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-02",
  "provenance": [
    "Primary-source synthesis and a separate Hesela arithmetic counterexample. No attack execution, production scan, native engine experiment or benchmark replication."
  ]
}
