Deserialising untrusted data
Lesson 15 of 27 · Secrets, crypto and data handling · 2 min Get the course to watchTidepool lets customers import a saved invoice template. The assistant picks the quickest way to turn a file back into a Python object, one function call, and it round trips perfectly. The trouble is that the same call also happily runs whatever code the file contains.
The rest of this lesson
- Data that is secretly a program
- Seeing it
- Plain data then validate
- Other formats with the same trap
- When you really must pickle
- What to keep
The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with Secure the code AI writes.