mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-30 20:43:38 +00:00
## README Updates - Add real benchmark data (HNSW: 61µs, Cosine: 143ns, DotProduct: 33ns) - Update comparison table with actual measured latency ## Security Fixes (Critical) - cache_optimized.rs: Add integer overflow protection with checked_mul - cache_optimized.rs: Add MAX_DIMENSIONS (65536) and MAX_CAPACITY limits - mmap.rs: Add bounds validation for node_id before pointer arithmetic - mmap.rs: Use checked arithmetic in embedding_offset() - api.rs: Fix timing attack in token comparison with constant-time loop - api.rs: Use strip_prefix() instead of slice indexing to prevent panic - lib.rs (wasm): Add MAX_VECTOR_DIMENSIONS limit to prevent DoS ## Security Review Summary - 3 CRITICAL issues fixed (memory operations, integer overflow) - 3 HIGH issues addressed (bounds validation, timing attacks) - 4 MEDIUM issues mitigated (allocation limits, input validation) |
||
|---|---|---|
| .. | ||
| advanced | ||
| advanced_features | ||
| index | ||
| advanced_features.rs | ||
| agenticdb.rs | ||
| arena.rs | ||
| cache_optimized.rs | ||
| distance.rs | ||
| error.rs | ||
| index.rs | ||
| lib.rs | ||
| lockfree.rs | ||
| quantization.rs | ||
| simd_intrinsics.rs | ||
| storage.rs | ||
| storage_compat.rs | ||
| storage_memory.rs | ||
| types.rs | ||
| vector_db.rs | ||