← Quiz: Secure Development and Careers: all 10 questions
Quiz: Secure Development and Careers · Question 7 of 10
Why is loading untrusted data with Python's pickle dangerous?
Why is loading untrusted data with Python's pickle dangerous?
- A.pickle is slow
- B.Unpickling can execute code chosen by the attacker
- C.pickle cannot store lists
- D.pickle only works on Linux
Answer & explanation
Correct answer: Unpickling can execute code chosen by the attacker
Use JSON with validation for data from outside.
Can you get the rest right without peeking?
Take the timed Quiz: Secure Development and Careers quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →