There's an enormous difference between serializers that make any effort at all to be safe, and those like Ruby's YAML library, which make no effort. Python's YAML, for example, exposes a safe_load() method.
It's really criminally negligent that no such method exists in Ruby's YAML library.
It's really criminally negligent that no such method exists in Ruby's YAML library.