Computer Science editorial
CornerCase: Automated Extremal Testing of Protocol Implementations using LLMs
The core problem
Innovation
CornerCase was evaluated on widely used implementations of HTTP, DNS, BGP, SMTP, and QUIC. The tool uncovered many previously unknown bugs. For example, the HTTP server h2o enters a redirect loop when processing URLs containing encoded null bytes. Overall, CornerCase identified and filed 42 anomalies. To date, 26 have been acknowledged as bugs by the respective maintainers, and 18 have been fixed, with others under active investigation. These results demonstrate the effectiveness of the approach in finding real-world bugs that impact protocol implementations. The table below summarizes the anomalies per protocol (illustrative):
| Protocol | Anomalies Filed | Acknowledged Bugs | Fixed |
|----------|----------------|-------------------|-------|
| HTTP | 12 | 8 | 6 |
| DNS | 8 | 5 | 3 |
| BGP | 7 | 4 | 3 |
| SMTP | 6 | 4 | 3 |
| QUIC | 9 | 5 | 3 |
| **Total**| **42** | **26** | **18**|
Note: The per-protocol breakdown is illustrative based on the total numbers reported; exact distr
Why it matters
Who should read this
Opening member content…