Commit graph

1 commit

Author SHA1 Message Date
chopratejas
8f0754a622 Fix security vulnerabilities in memory and CCR systems
- Fix race condition in BatchContextStore.stats() by acquiring lock
- Add atomic dict snapshot in get_memory_stats() to prevent RuntimeError
- Add metadata key validation to prevent JSON path injection in SQLite
- Parameterize LIMIT/OFFSET in SQLite queries to prevent SQL injection
- Strengthen CCR hash validation to require exactly 24 hex characters
- Add comprehensive security validation tests
2026-02-04 12:05:50 -08:00