Skip to content
How to make Django insecure (sps26) episode artwork

Oct 22, 2026 24 min

How to make Django insecure (sps26)

from Chaos Computer Club - recent audio-only feed Hosted by Gaweng Tan

Django is one of the most security-conscious web frameworks in any language. SQL injection, cross-site scripting, CSRF, password hashing - Django handles all of it out of the box, often before you even know the attack exists. But what does Django actually *do*? And what happens when you - accidentally or on purpose - turn those protections off? This talk walks through the OWASP by doing everything wrong first. For each vulnerability, I'll show you the insecure version - the f-string in a raw SQL query, the `|safe` on user input, the `@csrf_exempt` on a money transfer, the `DEBUG = True` in production - and then open Django's source code to show you exactly how the framework prevents it. Not as a black box, but line by line: how the ORM keeps parameters separate from SQL, how the template engine escapes every variable, how the CSRF middleware validates tokens, and why Django hashes your passwords 870,000 times. By the end you'll know where Django protects you, where it can't, and what one management command to run before every deployment. about this event: https://talks.python-summit.ch/swiss-python-summit-2026/talk/FM9WWJ/

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

How to make Django insecure (sps26)

0:00 24:32

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Chaos Computer Club - recent audio-only feed?

This episode is 24 minutes long.

When was this Chaos Computer Club - recent audio-only feed episode published?

This episode was published on October 22, 2026.

Can I download this Chaos Computer Club - recent audio-only feed episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.