Аудит устойчивости кэша Caffeine к аномальным входам
testing
audit-adversarial-input is a Claude Code skill that analyzes Caffeine cache behavior under adversarial or extreme API inputs. Across seven categories, it constructs concrete input values and traces the resulting code paths: integer and long overflows for entry weights, maximum sizes, and timestamps; expiry edge cases including zero, negative, and MAX→0 transitions; frequency sketch saturation when all accesses hit the same key or 4-bit counters overflow; concurrency extremes such as 10,000 threads on a single computeIfAbsent call; and pathological key types with constant hashCode, slow equals, or mutating identity. Each scenario is evaluated for whether it produces incorrect behavior, OOM, infinite loops, degraded throughput, or graceful handling. The skill is aimed at teams auditing cache robustness and surfacing silent defects under stress.
- #cache
- #adversarial-input
- #edge-cases
- #robustness
- #auditing