t05: Vulnerable web service -- GPT-6.1 Sol vs Claude Opus 5.5


Security check of a small Node.js notes service: find and fix the holes, keep every feature working.
Opus: 99.7 s. Sol: 830.0 s. Sol took 8.3 times as long.
Opus (s)Sol (s)
Hidden tests: Opus 11 of 11, Sol 11 of 11.
Blind judge pick: Sol (clear).
"Solution B [Sol] correctly uses asynchronous file system operations, whereas Solution A [Opus] introduces synchronous fs calls (fs.realpathSync, fs.statSync) that block the Node.js event loop and create a Denial of Service vector. Solution B [Sol] also includes significantly more comprehensive tests and handles HTTP edge cases like aborted requests and early Content-Length checks."
"An excellent and comprehensive security audit that correctly identifies and fixes all vulnerabilities while maintaining functionality."
"An exceptionally thorough and robust security audit that correctly identifies and fixes all vulnerabilities while adding comprehensive tests."