1 Repo
Mechanisms to restrict the complexity of parsed documents to prevent denial-of-service attacks.
Distinct from Document Validation: Existing candidates focus on content extraction or schema validation, not resource-exhaustion prevention via node counting.
Explore 1 awesome GitHub repository matching security & cryptography · Parser Resource Limits. Refine with filters or upvote what's useful.
js-yaml is a JavaScript library providing a programmatic interface for parsing and dumping YAML data. It functions as a parser and serializer that converts YAML strings into JavaScript objects and transforms JavaScript objects back into YAML format. The library includes a command-line interface for parsing or dumping YAML data via direct input or data pipes. It also features an abstract syntax tree transformer to modify the structure of data during serialization. The project provides capabilities for multi-document processing and the definition of custom schemas and tags to handle specialize
Implements node counting to reject overly complex documents and prevent resource exhaustion.