3 ms·
I realise you probably meant this for the more general case, but if you are building an API it should not accept YAML. If you are not building an API and are us
by speleding 14y ago
I realise you probably meant this for the more general case, but if you are building an API it should not accept YAML. If you are not building an API and are using YAML to de-serialze stuff you serialised yourself (i.e. use YAML as intended) then there is no issue anyway.
So having "dangerous_load" is not going to help much with YAML: if it's exposed to untrusted input then grep for "YAML" not for "dangerous_load".