# CLEAN — actix-web Scanned 2026-03-29 for CWE-407 (algorithmic complexity). ## Findings - `actix-web/src/middleware/logger.rs` — `exclude` is `HashSet`: O(1) per-request lookup. CLEAN. - `actix-web/src/http/header/accept_encoding.rs` — `supported_set` collected as `HashSet<&Encoding>` before iteration. CLEAN. - `actix-web/src/introspection.rs` — `update_unique` uses `Vec::contains()` for HTTP methods/guards/patterns, but these lists are bounded to <10 items each and only called once at app startup (route registration), not per request. Not actionable. - All other `contains()` calls use bitflags, ranges, or string substring checks — not collection membership. **Result: No actionable CWE-407 defects.**