Skip to content
Back to skills

Audit Serialization

ASecurity

Audit serialization proxy correctness and round-trip safety

  • 17,959 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
securitynodesecurity

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add ben-manes/caffeine --skill audit-serialization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Audit Serialization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Audit Serialization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ben-manes-audit-serialization/badge)](https://www.skillsdirectory.com/skills/ben-manes-audit-serialization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

2. **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?

3. **Deserialized consistency**: Correct initial state for frequency sketch,
   timer wheel, drain status, deques, weight counters? Correct node types?

4. **Cross-version compatibility**: serialVersionUID present? Can older
   proxies deserialize in newer versions? Default values correct for missing fields?

5. **Security**: Can crafted serialized form create inconsistent state?
   Are inputs validated? Is the proxy pattern correctly implemented?

6. **Edge cases**:
   - Serializing during in-flight operations
   - Serializing with pending removal notifications
   - LoadingCache with non-serializable CacheLoader
   - AsyncCache with incomplete futures

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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.