Multi-tenant prefix-cache side-channel auditor.
Reproduce prefix-cache timing leakage and compare shared, tenant-isolated, and selectively isolated serving policies.
- Ordered multi-tenant request simulation with explicit cache ownership
- Shared, fully isolated, and sensitivity-aware selective policies
- Attacker probe inference, cross-tenant hit, latency-gap, and reuse reporting
- CLI, JSON API, visual timeline, Docker, tests, and GitHub Actions
python -m venv .venv && source .venv/bin/activate
python -m pip install -e .
cacheisolate demo
cacheisolate serveOpen http://127.0.0.1:8090.
A victim primes one private prefix. Three attacker candidates reveal the correct value through an 86 ms hit/miss gap under a shared cache. Tenant isolation blocks the leak but removes public reuse; selective isolation blocks the private leak while preserving the cross-tenant public-system-prefix hit.
This deterministic harness establishes the attack mechanism. Production results depend on network jitter, continuous batching, scheduler behavior, routing, quantization, and the serving engine.
python -m unittest discover -s tests -vMIT licensed.

