الخميس 03 ديسمبر 2026 14:55:31 GMT+01:00

Netcrook

الرئيسيةالبيان
الأخبار
Techcrook
Geocrook
WikicrookالفريقAppاتصال
EnglishItaliano

WIKICROOK

Safe loading

A restricted parsing method that limits which types or objects can be created from input.

Safe loading is a restricted way to parse structured input, such as YAML, that limits which classes or objects can be created. Instead of reconstructing arbitrary application objects from user-provided data, the parser accepts only permitted types, reducing the chance that parsing triggers dangerous behavior.

It matters in cyber security because unsafe deserialization can expose services to code execution or other unintended actions. In a package upload workflow, for example, attacker-controlled YAML should be parsed with safe-loading rules before it is used. Restricting object creation is a key defense, alongside checking authorization early and treating uploaded data as untrusted.

← فهرس WIKICROOK