# Negative and Security Tests
Negative tests prove invalid or unsafe inputs are rejected without crashes, hangs, leaks, or partial authorization.
Families:
- malformed packet/envelope;
- invalid annotation syntax and unsafe @next;
- truncated/oversized HTTP;
- invalid method/version/framing;
- invalid generation values;
- resource exhaustion;
- traversal and malformed percent encoding;
- compiler/parser rejection.
Every case has a bounded runtime and explicit expected rejection.
The fixtures for these families live in [`../regression/corpus/`](../regression/corpus/README.md) and run with the regression set.