# buildkit — CWE-407 Scan Result: CLEAN Scanned 2026-03-29. ## Findings No custom slice-contains helpers. `slices.Contains` and `slices.ContainsFunc` used in bounded contexts (compression type checks, platform filtering, annotation repository dedup per descriptor — the `existingRepos` list is rebuilt from comma-separated annotations per descriptor, not accumulated across descriptors). Graph traversal in `remotecache/v1/parse.go` uses a `map[int]struct{}` visited set. **Verdict: CLEAN** — no CWE-407 defects warranting a patch.