# nifi — CWE-407 Scan Result: CLEAN Scanned 2026-03-29. ## Findings `StandardControllerServiceReference.findRecursiveReferences` uses `HashSet` as the visited guard — O(1) lookup. All `contains()` calls on `missingComponentIds`, `versionedClientIds`, etc. operate on `Set` (HashSet-backed) or `List` with small bounded sizes (reporting tasks, registry clients — typically < 50). `AbstractPolicyBasedAuthorizer` calls `policy.getUsers().contains(...)` but `getUsers()` returns a `Set` per policy (confirmed by interface contract). No graph traversal with ArrayList visited sets found. **Verdict: CLEAN** — no CWE-407 defects warranting a patch.