🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.pickle is slow
  2. B.Unpickling can execute code chosen by the attacker
  3. C.pickle cannot store lists
  4. 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 →