Expand description
JSON validation utilities to prevent DoS attacks
This module provides functions to validate JSON structure before deserialization, preventing Denial of Service attacks through deeply nested JSON structures.
Constants§
- MAX_
JSON_ DEPTH - Maximum allowed JSON nesting depth
Functions§
- validate_
json_ depth - Validate JSON nesting depth to prevent
DoSattacks