Re:A high-performance, zero allocation, dynamic JSON Threat ...
by zemnmez on Wednesday September 18, 2019 @09:27PM
(#21012329)
what is a 'json threat'? What is the threat actor here? It seems like you do some depth / length checks on arrays and objects but it also 'validate's json somehow? https://github.com/ankur-anand/gojtp/blob/master/jtp.go#L341
[ Parent
| on HN ]
Re:A high-performance, zero allocation, dynamic JSON Threat ...
by ankuranand on Thursday September 19, 2019 @12:53AM
(#21013396)
JavaScript object notation(JSON) is vulnerable to content level attacks. Such attacks attempt to use huge json files to overwhelm the parser and eventually crash the service.
JSON threat protection is terms that describe the way to minimize the risk from such attacks by defining few limits on the json structure.
Yes It also validates the json.