Asked by GIANSH GUPTA KHUNDKER · BIRLA BRAINIACS
Answer: B. Deserializing a malicious pickle file can execute arbitrary code on the host machine instantly.
Answer: B) Deserializing a malicious pickle file can execute arbitrary code on the host machine instantly.
Explanation: The pickle module is not secure. When pickle.loads() processes an archive, it can invoke the object's __reduce__ method. If an attacker crafts a malicious pickle payload, they can force the application to execute arbitrary shell commands the exact moment the file is opened.
Answering after opening this box earns no Practice Points.