Avoid untyped YAML deserialization
Untyped `serde_yaml` deserialization can instantiate arbitrary types from untrusted input.
#Metadata
#Why it matters
YAML loaders without strict typing enable unsafe object graphs and unexpected type coercion.
#Remediation
Deserialize into explicit structs or enums and validate input before use.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/rust/rust.security.insecure-yaml-load.rule.yaml.