Disabling downloads isn't a fix: CWE-bench requires patches to preserve functionality

krishnan · x · 2026-11-02

Krishnan explains CWE-bench's repair contract: a patch passes only if it blocks the tested exploits AND the repo's existing functionality tests still pass. Disabling downloads may stop path traversal, but it also removes the very service the file server exists to provide — that is not a repair.

Related event: CWE-bench Benchmarks AI Security Agents and Fix Validity(7 posts)→

Original post →

More from Safety

Safety channel →