Medium security finding. src/codex32/correction.py uses an unbounded process-global @cache for _syndrome_alignment, keyed by caller-controlled HRP and length. Long-lived GUI/service callers can accumulate alignment tables monotonically.
Remediation: remove attacker-specific global caching or use a small bounded LRU with lifecycle clearing; add churn/regression tests.
Parent: #20
Medium security finding.
src/codex32/correction.pyuses an unbounded process-global@cachefor_syndrome_alignment, keyed by caller-controlled HRP and length. Long-lived GUI/service callers can accumulate alignment tables monotonically.Remediation: remove attacker-specific global caching or use a small bounded LRU with lifecycle clearing; add churn/regression tests.
Parent: #20