#521: Red Teaming LLMs and GenAI with PyRIT
Talk Python To Me29 Syys 2025

#521: Red Teaming LLMs and GenAI with PyRIT

English is now an API. Our apps read untrusted text; they follow instructions hidden in plain sight, and sometimes they turn that text into action. If you connect a model to tools or let it read documents from the wild, you have created a brand new attack surface. In this episode, we will make that concrete. We will talk about the attacks teams are seeing in 2025, the defenses that actually work, and how to test those defenses the same way we test code. Our guides are Tori Westerhoff and Roman Lutz from Microsoft. They help lead AI red teaming and build PyRIT, a Python framework the Microsoft AI Red Team uses to pressure test real products. By the end of this hour you will know where the biggest risks live, what you can ship this quarter to reduce them, and how PyRIT can turn security from a one time audit into an everyday engineering practice.

Jaksot(541)

#534: diskcache: Your secret Python perf weapon

#534: diskcache: Your secret Python perf weapon

Your cloud SSD is sitting there, bored, and it would like a job. Today we’re putting it to work with DiskCache, a simple, practical cache built on SQLite that can speed things up without spinning up R...

13 Tammi 1h 14min

#533: Web Frameworks in Prod by Their Creators

#533: Web Frameworks in Prod by Their Creators

Today on Talk Python, the creators behind FastAPI, Flask, Django, Quart, and Litestar get practical about running apps based on their framework in production. Deployment patterns, async gotchas, serve...

5 Tammi 1h 1min

#532: 2025 Python Year in Review

#532: 2025 Python Year in Review

Python in 2025 is in a delightfully refreshing place: the GIL's days are numbered, packaging is getting sharper tools, and the type checkers are multiplying like gremlins snacking after midnight. On t...

29 Joulu 20251h 18min

#531: Talk Python in Production

#531: Talk Python in Production

Have you ever thought about getting your small product into production, but are worried about the cost of the big cloud providers? Or maybe you think your current cloud service is over-architected and...

18 Joulu 20251h 21min

#530: anywidget: Jupyter Widgets made easy

#530: anywidget: Jupyter Widgets made easy

For years, building interactive widgets in Python notebooks meant wrestling with toolchains, platform quirks, and a mountain of JavaScript machinery. Most developers took one look and backed away slow...

13 Joulu 20251h 11min

#529: Computer Science from Scratch

#529: Computer Science from Scratch

A lot of people building software today never took the traditional CS path. They arrived through curiosity, a job that needed automating, or a late-night itch to make something work. This week, David ...

3 Joulu 20251h 17min

#528: Python apps with LLM building blocks

#528: Python apps with LLM building blocks

In this episode, I’m talking with Vincent Warmerdam about treating LLMs as just another API in your Python app, with clear boundaries, small focused endpoints, and good monitoring. We’ll dig into patt...

30 Marras 20251h 16min

#527: MCP Servers for Python Devs

#527: MCP Servers for Python Devs

Today we’re digging into the Model Context Protocol, or MCP. Think LSP for AI: build a small Python service once and your tools and data show up across editors and agents like VS Code, Claude Code, an...

10 Marras 20251h 6min