Audit Serialization audit-serialization

Audit serialization proxy correctness and round-trip safety

Works in Claude, ChatGPT, Codex and more
Our test
—
not tested yet
GitHub stars
18k
ben-manes/caffeine
Added by
0
members
Updated
Dec 6
commit a618bb9
Content
1 file
no scripts · 1 KB
License
Apache 2.0
free to use

What our test found

Not tested yet. Our model tries every skill on a realistic request and scores the result, the most popular skills first. Until then, the safety checks on the right still apply.

View on GitHub ↗
name: audit-serialization
description: Audit serialization proxy correctness and round-trip safety
context: fork
agent: auditor
disable-model-invocation: true

Audit the serialization/deserialization behavior of the cache.

  1. Proxy completeness: Does the proxy capture ALL configuration? Check: max size/weight, expiration, key/value strength, weigher, loader, removal/eviction listener, ticker, scheduler, executor, initial capacity.
  1. State transfer: Are entries serialized or only configuration? If entries: are expired entries filtered? async values handled? weak/soft refs dereferenced? If not: is this documented?
  1. Deserialized consistency: Correct initial state for frequency sketch, timer wheel, drain status, deques, weight counters? Correct node types?
  1. Cross-version compatibility: serialVersionUID present? Can older proxies deserialize in newer versions? Default values correct for missing fields?
  1. Security: Can crafted serialized form create inconsistent state? Are inputs validated? Is the proxy pattern correctly implemented?
  1. Edge cases:
  2. Serializing during in-flight operations
  3. Serializing with pending removal notifications
  4. LoadingCache with non-serializable CacheLoader
  5. AsyncCache with incomplete futures

For each defect: state the field/behavior affected, before/after across round-trip, severity (data loss, incorrect behavior, security risk).