Podcast Lookup

#507 Something about security

Python Bytes

  • December 2, 2026
  • 38 min
  • Episode 507
Episode page
About this episodeTopics covered in this episode: AI agents model CPython in Lean and produce 415 bug reports Amazon Athena powered by DuckDB, now available…
Topics covered in this episode:
Watch on YouTube

Michael #1: AI agents model CPython in Lean and produce 415 bug reports

David Andrews and Chao Zhang used AI agents to translate CPython 3.15.2 functions into Lean and check proofs about their behavior. Their November 13 post reports 4,067 accepted functions, 614,384 lines of Lean, and 415 bug reports, including about 55 involving crashes or memory corruption.

  • Coverage is 14.3% of functions worth checking, not a fully verified interpreter. Multithreading is out of scope.
  • Each model faces at least 50,000 differential test inputs, proofs, and review by a second agent before acceptance.
  • A valid Lean proof can still describe the wrong model. Early reviews rejected weak properties that even broken functions could satisfy.
  • 415 reports does not mean 415 newly confirmed upstream bugs: some were already known, and remaining reports are being submitted.
  • I asked what involvement the core team and CPython had with Project Glasswing. I think it was zero. It should be far more involved. Open someone reaches out to OSS Scanner.

Calvin #2: Amazon Athena powered by DuckDB, now available in preview

  • Remember when AWS bought DuckLabs? Here's what they built.
  • Announced Dec 1, 2026 at re:Invent and in preview in 5 regions: us-east-1, us-east-2, us-west-2, eu-west-1 and ap-northeast-1.
  • Athena's serverless query service now runs on DuckDB and splits a single query across many workers when the data outgrows one machine.
  • AWS claims queries are up to 2x faster and up to 50% cheaper than Athena engine v3 on large datasets.
  • Queries use DuckDB's SQL dialect and run against your existing Glue Data Catalog tables, so there's nothing to redefine and no data to move.
  • Results can come back as Apache Arrow through a new streaming API and an ADBC driver, landing in data science tools with no conversion step.
  • A new open-source Athena extension for DuckDB lets you prototype a query in local DuckDB and then run the same SQL on Athena at scale.
  • Supports Apache Iceberg v3 and Parquet tables. To turn it on, create a workgroup or switch an existing one to DuckDB.
  • Related: a separate Redshift extension for DuckDB (Apache 2.0, DuckDB v2.0.1) lets you query Redshift from a local DuckDB session and join the results with local Parquet or CSV files.

Michael #3: Citry

Citry's first stable release puts HTML templates, CSS, browser behavior and Python event handlers in one component class. Built by django-components maintainer Juro Oravec, it aims to give Python web developers Vue-style tooling without maintaining a separate frontend project. Clicks can call Python and replace the component's HTML.

  • The editor catches template typos and wrong component inputs before someone opens the page. Run the checks in CI with citry check; useful feedback for humans and coding agents alike.
  • Uses Vue for browser behavior, rather than eliminating JavaScript. Works with Django, FastAPI, Flask and other ASGI/WSGI apps.
  • Author's error benchmark reports 56 of 61 applicable mistakes before runtime, including nine warnings. Four go undetected, including a secret sent to the browser.
  • Author's speed test: 257 ms until usable for 1,400 entries on the second server load, empty browser cache, local M4 Mac/Chromium. Single-measurement charts, not a general speed ranking.
  • 1.x promises SemVer compatibility; citry-ui remains pre-1.0. django-components enters maintenance mode. Try the browser playground at https://citry.dev/playground/.

Calvin #4: PSF announces a Security Roadmap

  • The PSF's security plan for the coming year (posted Nov 30, 2026) has four focus areas: PyPI malware remediation, "compromise resilience" for PyPI and python.org, more capacity for vulnerability advisories, and post-quantum crypto readiness. Alpha-Omega and Anthropic fund the security staff.
  • Malware: PyPI will lean more on automatic quarantine. Today it fires only when several trusted reporters flag the same project. It handled the Telnyx attack in April, about 2 hours after the first report and 3h 42m after upload. A new "Malware Triager" role will be able to handle reports without full PyPI admin access.
  • Compromise resilience: the goal is for installers to reject tampered artifacts. How that works hasn't been decided, and several proposals are being evaluated. The PSF will also write a "Compromise Recovery Runbook" and test it regularly. A "Secure Python Distributions" program would check that redistributors verify python.org's Sigstore signatures.
  • Vulnerabilities: the PSF says LLMs and agents are driving a sharp rise in known open-source vulnerabilities. The Python Security Response Team is handling about 4x more than a year ago. The PSF will evaluate making the PyPA advisory database the authoritative source, with maintainers able to correct entries.
  • Post-quantum: a draft PEP targets the Python 3.16 feature window (May 2027) and will set a schedule for quantum-safe algorithms in the standard library. It's by Emma Smith, Bénédikt Tran, and Seth Larson and hasn't been published for review yet. PyPI and python.org get post-quantum TLS first. A schedule for retiring quantum-vulnerable key exchange will come later.
  • Extras

Calvin:

Michael:

Joke: Fewer wishes

Transcript

From the publisher

This transcript comes from the podcast’s own feed, shown as the publisher wrote it.

#507 Something about security

00:00—
  1. Calvin Hendryx-Parker

    Welcome from Las Vegas. I'm in beautiful Las Vegas, Nevada.

  2. Michael Kennedy

    I can see the strip behind you. It's incredible.

  3. Calvin Hendryx-Parker

    The high roller right there, right there in the review. It's too bad we can't see the sphere from where we're at because from time to time this week, my picture is on the sphere in Las Vegas.

  4. Michael Kennedy

    Are you serious?

  5. Calvin Hendryx-Parker

    Yeah, the Amazon lined up so that the heroes are part of the attraction of coming to reInvent. So anyone who's listening to a live stream right now or listening to it this week, come find me. I am at reInvent until Friday morning and you can see my picture on the sphere.

  6. Michael Kennedy

    That is really cool. They just had that F1 Grand Prix there two weeks ago, I think it was.

  7. Calvin Hendryx-Parker

    I want to come to that someday.

  8. Michael Kennedy

    It would be super fun. And they have all the drivers up there and they do a whole bunch of stuff with the sphere because they raced right around it.

  9. Calvin Hendryx-Parker

    Yeah.

  10. Michael Kennedy

    And so there's always a bunch of graphics to do with the race. And it's like Max Verstappen, Hamilton, and Calvin Hendrick. And Calvin Hendrick. Got it. Yeah. Got it.

  11. Calvin Hendryx-Parker

    Yeah. We're all up in the sphere. One thing I have in common with those Formula One drivers is our pictures have all been on the sphere.

  12. Michael Kennedy

    You probably also drive cars.

  13. Calvin Hendryx-Parker

    I do drive a car. And sometimes my wife would say I drive it like an F1 driver. But that's her opinion, not mine. Are you ready to kick this off?

  14. Michael Kennedy

    Let's do it.

  15. Calvin Hendryx-Parker

    All right, let's do it. Hello and welcome to Python Bytes, where we deliver Python news and headlines directly to your earbuds. This is episode, what is this, 507, recorded December 1st, 2026. I'm Calvin Hendrix-Parker.

  16. Michael Kennedy

    And I'm Michael Kennedy.

  17. Calvin Hendryx-Parker

    Great to have you, Michael. If you want to support the show, please go visit our sponsors. And this week it is sponsored by Michael and myself. So check out the courses over on Talk Python. It sounds like Michael's still wrapping up some Black Friday sales. So if you want to deal on some Python learning stuff, head over there. And then if you want to check out the awesome brainstorming brainstorm over at Six Feet Up, check us up over on sixfeetup.com. We do lots of cool consulting services around Python and solving hard problems. If you want to connect with Michael or myself, we're also on the socials, various ones, Mastodon, Bluesky, X, and LinkedIn. And then the show is over on Mastodon, Bluesky, and X. If you're watching this live right now, it's because you've joined the live stream at pythonbytesfm.com slash live, and you can be part of that audience too. Finally, if you want the handcrafted digest of every week's show notes in your own inbox, Join our friends of the show list and we will email you the show notes right here to your inbox. Let's get rolling. There's all kinds of news this week. So what is happening in the AI agents world?

  18. Michael Kennedy

    AI agents. Oh, my gosh. Where do I start with this, Calvin? Let me go back. Let me go back a little bit in time. So I'm going to cover an article about this programming language, Lean. If you haven't heard about it, I'll tell you my poor understanding of it a moment before we cover it.

  19. Calvin Hendryx-Parker

    I just heard about it like two weeks ago.

  20. Michael Kennedy

    Yeah, exactly. Same here. So before we get to that, though, remember when Mythos first got announced and it was too dangerous to release? And then there's Project Glasswing. People don't remember Project Glasswing was. Anthropic says, well, hold on a minute. We just found a thing that hacks all the things. We need to let people prepare. And so what they did is they worked with Apple and Microsoft and all these other big companies about, we're going to need to lock down your stuff before it gets hacked. Because once we let this thing out, we've already seen it break into them or something to this effect, right? And I, at the time, went onto social media and I said, core developers in Python, people in control of Python, are you working with the Mythos team? And from what I understood, there were two answers, kind of no, and maybe this is a misunderstanding, but my feeling was it was kind of dismissive, like, no, and we don't want that crap near our Python.

  21. Calvin Hendryx-Parker

    Or we could neither confirm or deny.

  22. Michael Kennedy

    Yes, it could be. I feel like it was like, we don't really want AI in CPython, and we're going to keep, to be clear, Project Glasswing was, we will look for problems and tell you what they are. It's not that we're rewriting your code, right? Well, I don't know if they did or did not. My understanding was they did not work with Mythos. And I feel like now that Fable is out, it should be like going 24-7 on there. But that said, this is a little bit of a, yeah, you might actually want to do that. So there's this article by David Andrews called Formalizing CPython, specifically CPython, not Python language. And what they did was him, David Andrews, and Chao Zhang, I imagine they're like research folks. I don't really understand. I don't really know about their background. But what they did is they used this programming language that is used to prove algorithms and prove correctness. 100% yes, no, like theorems, lemmas, all that kind of business called Lean. And so they rewrote 10% of CPython in Lean. And they actually have an example of here's how you operate a range, like how long is a range, right? Because if you're given a range and someone could tell you like, hey, it's a list. So it's this long or just calculate, you know, how given like a start, a stop. and how many, like how broad the step is, like what does that work out to be and so on. So there's the CPython version, and then they have the Lean version. And the Lean version is completely weird. I don't know or want to learn Lean. It looks weird to me. Like maybe it's amazing, I should learn it. But whatever, it just looks like a weird language. But it's like a more formal way to understand structures, right? Well, here's the TLDR, which they very kindly put at the top. We pointed Opus 5.5, so not even Mythos or Fable, at CPython. And they said, look, CPython runs basically all of Python. This is the way that Python runs. And we had it rewrite its functions in Lean, a language for writing machine-checked proofs of computer algorithms' behavior, and so on. Each rewrite copies original line by line, and it's tested against real Python with 10,000 of inputs to make sure that they behave identically before anything is tried to be asserted about this Lean version, right? So basically, they take the Python, they rewrite it in Lean, and they run a bunch of test data, probably unit tests and performance tests and other stuff against it to prove that it really is the same thing. Once it passes, then they have a second agent come and verify it. This is a really good practice to say, I've written this code. Hey, other agent that has not seen or participated in this, I would like you to evaluate it, right? And tell me if you think this is actually true and so on. So they did that to make sure it works. And they ended up with 600,000 lines of lean across 1,500 files. Here's the part where it gets weird. 18,927 theorems and lemmas.

  23. Calvin Hendryx-Parker

    I'm not even sure what a lemma is.

  24. Michael Kennedy

    I love that they have lemmas. So lemmas are like not quite as strong as a theorem. A theorem is like a big statement. Lemma is like a little bit of a side idea that you combine to make a theorem type of thing. So very fun there. But here's where it gets interesting. It reported 415 verified bugs in python most of which are small but 55 can crash the interpreter or oh my god corrupt memory from

  25. Calvin Hendryx-Parker

    ordinary python code you might want to yeah you might want to look into that when you hear corrupt

  26. Michael Kennedy

    memory and crash the interpreter that is one bit of cleverness away from remote code execution with no authentication right that's a very bad place to be wow so this is completely on their own not associated to the psf or yeah i don't think from what i understand they have nothing to do with the pss that's a nor do they have anything to do with project glasswing like they just used opus they didn't use fable right and they don't say what effort i would imagine yeah there's a certain

  27. Calvin Hendryx-Parker

    magic there's a certain point if there's just good enough you don't even need that much you just need

  28. Michael Kennedy

    its willpower that it doesn't get tired exactly you just need like i want you to rewrite 615 keep going just don't stop please all right so 55 let's put 55 of these as like real pucker puckering you're like because if it's like okay well if you like don't use utfa use this other really bizarre encoding that like only writes an emoji maybe it like doesn't i mean okay right whatever but if it's going to crash the interpreter or corrupt memory that is like it should have your full attention yeah and this is 10 of python so extrapolating that out let's say it's uniformly distributed into the rest of whatever they didn't touch i don't know that it is but that would be 550 potentially CVE level problems that they prove with lean. How interesting is this?

  29. Calvin Hendryx-Parker

    Well, do they just need funding to get the rest? Is that what we're, they're looking for?

  30. Michael Kennedy

    I don't, you know what? I don't know why they stopped.

  31. Calvin Hendryx-Parker

    Why did we stop at 10%?

  32. Michael Kennedy

    Yes. Yeah. Why did we stop? Okay. So it talks about a lot of like why and the proofs and how they prove the proofs.

  33. Calvin Hendryx-Parker

    I mean, this is amazing.

  34. Michael Kennedy

    I know it's really good work. It's very academic. Somewhere at the bottom, it has a where it stands. Okay.

  35. Calvin Hendryx-Parker

    I mean, it sounds a bit like my teenagers. They like starting something but never finishing something.

  36. Michael Kennedy

    Exactly. You know, it's probably enough for their academic paper when they're done.

  37. Calvin Hendryx-Parker

    They're like, cool. I mean, this is great.

  38. Michael Kennedy

    I was like, we proved it. But here's the thing. It says the project is open and help is welcome.

  39. Calvin Hendryx-Parker

    Ah, there we go.

  40. Michael Kennedy

    Most of CPython is still unmodeled. Pick a file whose functions are still marked to do in the coverage slash methods section.

  41. Calvin Hendryx-Parker

    Oh.

  42. Michael Kennedy

    Follow agents.md and send a PR.

  43. Calvin Hendryx-Parker

    Well, that's even easier. That's how you can go give back.

  44. Michael Kennedy

    Exactly. So if you have some understanding of this and you've got some extra Claude credits, like for example, I don't know about you, I have a bunch of extra Claude credits this week because I've been traveling and juggling Thanksgiving and all sorts of stuff and I have not been able to give my Claude as much attention as it normally gets. So if I had the time and energy, I don't right now. But if I did, I could just go, well, let me just sick my Claude on this thing and do as much as it can until it runs out on the last day of my credit. That would be a cool sort of thing to do.

  45. Calvin Hendryx-Parker

    Yeah, I think this is a perfect use case for I don't want AI slop, but I want AI to accelerate us having a better version of the language.

  46. Michael Kennedy

    Yes, and I would like to put a quick follow-up out there. I believe my understanding is that CPython missed Project Glasswing window or whatever. When that happened, too bad they didn't participate, whatever. Everyone listening, CPython people or not, there's a project from Anthropics Red Team side of things called at red.Anthropic.com called OSS Scanner, Open Source Security Scanner, I believe it stands for. And it's a thing that all open source projects can apply for. And if accepted, they'll periodically scan your project with the Project Glasswing methods tooling and send you reports, which I think is awesome. Not publicly, but privately, and say, here's how you fix it. I think you might get some credits in the ability to run Claude in a more aggressive mode. Like, I don't know if you ever ask it to do something, and you're like, nope, can't do that. So you're going to hack something with this. Like, this is my own program. I'm trying to see that no one else will hack it. Will you please help me? You know, that kind of thing.

  47. Calvin Hendryx-Parker

    Right.

  48. Michael Kennedy

    This led it through. So I'm probably going to cover this again in like next week or something a little bit more detailed, but just throwing that out there that it's not all just doom and gloom. Sign up for this thing and you get free resources to work on it.

  49. Calvin Hendryx-Parker

    That's really cool. There's actually some relevant extras from the AWS reInvent this week about this too.

  50. Michael Kennedy

    Yeah.

  51. Calvin Hendryx-Parker

    We'll cover that later. There is. Yeah. One of the items is around supply chain. So I'll talk about that in the extras, but that's really cool. Awesome. Yeah. Yeah.

  52. Michael Kennedy

    And a quick bit of live feedback from Bay. There was an interesting take on AI lean proofs recently that pointed out that it's a bit more nuanced than you might think to understand what if something in lean actually proves. Yes, that's true. And there's a whole section in this article here.

  53. Calvin Hendryx-Parker

    To be honest, it was already nuanced to me.

  54. Michael Kennedy

    Exactly. It says when a correct proof is wrong anyway. And like, how do you actually prove something? I think these are academic folks working with Lean that are just like, let's go try some stuff. I think it's interesting. And I would like to really encourage the CPython folks to sign up for OSS Scanner at theredAnthropic.com or somehow reach out to them. Because clearly there's work to do. And obviously, I mean, who looks at a project, a code base that large and thinks there's nothing to do?

  55. Calvin Hendryx-Parker

    There's stuff to do. All software has bugs. We know it. It's just a truth. It's a law of software. There's bugs everywhere.

  56. Michael Kennedy

    It's like the fourth law of thermodynamics. Or it's a lemma off of the entropy one of it. I don't know. Something like that. We'll get lemma in there.

  57. Calvin Hendryx-Parker

    We'll get lemma in there somehow.

  58. Michael Kennedy

    Do they use lemma at AWS reInvent?

  59. Calvin Hendryx-Parker

    I've not heard the word frequently, but there are lots of things being announced here at AWS reInvent. Today, this morning, was the big keynote here by the CEO. So Matt Garvin got on stage. actually Sam Altman at some point joined him on stage for the conversation, I'll just leave it at that. But the more interesting person they had, the most interesting person in my opinion, they had on stage was actually one of the co-creators of DuckDB. Do you remember Michael when AWS purchased DuckLabs? I think that was back in August. And we're all wondering how that was gonna go and what was gonna come of it. This is actually an announcement about what they built. So they had the creator of DuckDB on stage talking basically about, we've talked a lot about DuckDB and how it's great for analytics and you typically don't really have a big data problem. Most of these problems can be solved with a single node and that's where DuckDB and its analytics engine like really, really shines. The thing they announced before this announcement here was DuckDB now can scale. And so there's DuckDB Scales is the new product and that is now powering under the covers some Amazon products you may be familiar with, such as Amazon Athena. The SQL dialect for Amazon Athena, and I imagine Glue and any other ones that are using the specific DSLs that Amazon puts forward for you to go wrestle with are now going to switch over and use the DuckDB dialect for querying. I think that's gonna make a huge, huge impact on how easy it is to interact with these various services. And that new DuckDB scales part, which means now if you've got truly big data problems, you can now use DuckDB Scales to actually ask the question and then it will do run the query, it figures out how to split it up and run the query across many, many data sets. That part is still open source. The DuckDB Scales piece is built into the latest releases of the DuckDB open source product. You can use it out of the box. There's no enterprise part to it, but Amazon did incorporate now that the serverless query service inside of Athena runs DuckDB and splits a single query across many workers and the data as the data outgrows one machine. And so that's where the open source part gets put back in the community. It's that same technology that they use to do this across multiple workloads and more than one machine we get as a community as a major benefit. What's also nice is that AWS claims, and again, these are AWS's numbers, AWS claims that queries are up to two times faster and 50% cheaper than the Athena engine V3 on large data sets. So the prior query language using the whatever previous technologies, now that they've basically put DuckDB under the covers, it got faster and cheaper to go run those queries. You can use that dialect and run them against glue, glue data catalog tables. So there's nothing to redefine, no data to move, nothing to change. You can just go today, I think it's in preview right now. So I'm not sure when they'll go generally available, I think if you wanted to preview DuckDB queries, you could do that. Results come back as Apache Arrow. So if you're familiar with the Arrow data format, that is a, you know, you can basically in memory transfer that between processes and not to like rerun your queries to move those data sets around.

  60. Michael Kennedy

    And kind of mount it in pandas and pullers and all these things. Yeah.

  61. Calvin Hendryx-Parker

    So this gives you a huge opportunity now. There's a new string API and an ADBC driver landing in the data science tools. So there'll basically be no conversion step. So you can go straight from glue queries in Athena straight into, like you just mentioned, pandas and pullers. And boom, you've got access to your data faster and cheaper. The open source Athena extension for DuckDB lets you prototype a query in local DuckDB and then run the same SQL query on Athena at scale. I think I've actually got the docs pulled up over here as well. Yeah, the docs are updated. Again, this got released today. You can now use Athena powered by DuckDB. It supports Apache, also now supporting Apache Iceberg V3 and Parquet tables. You turn it on, you go create a work group and switch an existing one over to DuckDB. There's also another related release that happened at the same time is that there is a separate Redshift extension for DuckDB. So that's an Apache 2.0 DuckDB version that lets you query Redshift from a local DuckDB session. So no longer do you have to do some fancy cloud whatever shenanigans to get DuckDB to talk to your Redshift. You can actually just connect your Redshift directly from your local machine and run those queries against the Redshift. So I think this is a big deal. It's a great use case for acquiring a company that is behind an open source project and then contributing back to the open source project.

  62. Michael Kennedy

    Yeah, I'm really glad to see that they're doing stuff to keep enhancing DuckDB. publicly in an open source way. It hasn't just got swallowed up into the beast of AWS.

  63. Calvin Hendryx-Parker

    Yeah, this re-invents keynote, I'll say the last couple years that I've gone, the last couple years have been less interesting to me as a developer and even a CTO. But this year's keynote had a lot to offer. And this was one of the big ones. And the other ones were more maybe probably oriented towards CTOs around agentic AI and identity and some other announcements that are in that space. But the developers got a lot out of this too. I'm really excited about that. And yeah, there we go. More open source goodness coming from the Amazon world.

  64. Michael Kennedy

    Yeah, that's super neat. And Parquet stuff sounds amazing. I don't know if people really know, but Parquet has these little headers, header photo things that talk about, well, here are the ranges of the various indexes in this particular file. And so you'll see a lot of the data lakes and stuff will have many, many different Parquet files. And you can do queries across them. super quick because you can just say you already know before you touch the file what lives in them by just learning the headers. And so I had the Duck Lake people on Talk Python not too long ago, and we talked a ton about that. That was super interesting. So if you want to dive in more to it, read this, watch the keynote, check out the Talk Python episode as well. A lot of good stuff here.

  65. Calvin Hendryx-Parker

    Very inspiring. Yeah. All right. Michael, what do you got for us?

  66. Michael Kennedy

    I got some more web stuff because why wouldn't I have web stuff? Citri. So Citri is an interesting project. There's not too many new, new, new ideas in Python web, right? It's more like, well, how does Flask versus FastAPI compare to Django? And believe it or not, FastAPI is not new anymore. Sebastian's joke about they wanted people who had four years of experience could actually be true now. Finally. Finally. But Fitry is pretty new. And the big announcement is 1.0 is here. And it's by Euro Ourobek and says, I'm so glad I get to write this blog post. Citri 1.0 is stable and it is out. So what is this Citri thing? What if you could take something like React or Vue.js components and use that to build your Python web app, basically, is my understanding of it here. So the idea is that you can either run it as part of Django, FastAPI, Flask, or run it as its own web frameworks. So what's interesting is you can keep a lot of your stuff in Flask, but then use these components and, or Django or so on. Right. So it's, it's pretty interesting in that regard. This is like, why did I build this? Because you really get two choices, Django templates or Jinja templates. These are sort of separate HTML files and I'll throw chameleon in there. There's more than this, Jero, but still, it still has the same problem. So it doesn't, you know,

  67. Calvin Hendryx-Parker

    Can you bring Maco templates in?

  68. Michael Kennedy

    Yeah, Maco. Come on, man. There's at least four options, but they all operate the same way, so it's fine. So they're easy to use. What's interesting about this is this comes with type checking and model binding verification across template and code and model. Identic stuff and all sorts of interesting combos there. So obviously you just pass a dictionary and you YOLO it over to your template and hope it works, right?

  69. Calvin Hendryx-Parker

    Well, I've always hated developing my interface or my models twice. So it sounds like this is kind of a bridge where I can avoid that and it builds the front-end pieces for me.

  70. Michael Kennedy

    I'll show you and you tell me what you think.

  71. Calvin Hendryx-Parker

    Okay.

  72. Michael Kennedy

    Also, a separate JavaScript front-end and fewer React is all separate, right? So let's see. So what you do is you create components and you do them all in a single file, which is very React view-like, right? So I create a class, which is a component, and it has arguments that go into it. And it has events that could happen on it, right? like it return a button and so on. And then it has a template, which is HTML, an HTML fragment typically, right? Because it's a component, not a whole page. And it has CSS that applies to that component, which is pretty interesting. Now notice that there's a C-click event handler here. Like what the heck is that? Okay, well, that's the Citri thing. And if you go look in the IDE section, there's actually plugins for VS Code, PyCharm or other, you know, because you could just run it from the terminal. And this will actually both give you autocomplete, hover information, go to definition. So like that C, click, whatever, you could command click on that event and it would take you over to it. Or there's like containers that'll say, this is a part, I'm wrapping it up with another thing. And then I'm embedding this component. If you click on it in HTML, inside your component in Python, in a string, it'll like navigate you over. But it also does a lot of checking, like that the model. I was going to ask,

  73. Calvin Hendryx-Parker

    is other really a set of skills for the AI agents to use? Because obviously most of these models probably have very limited knowledge of Citri if I want to be using them in my IDE.

  74. Michael Kennedy

    A hundred percent. So you should probably definitely like set up. Get the other. Get the other, get the Citri CLI and have it use that, right?

  75. Calvin Hendryx-Parker

    Oh yeah, even better if it's a CLI, it's perfect.

  76. Michael Kennedy

    Yeah, just give it a CLI and have it go off of that. So yeah, pretty interesting. They monitor the vulnerabilities across a whole bunch of different other projects like Svelte, Django, Angular, et cetera, and use agents to verify that they're not vulnerable to any of these styles.

  77. Calvin Hendryx-Parker

    That's super smart, actually.

  78. Michael Kennedy

    Yeah, yeah.

  79. Calvin Hendryx-Parker

    They've already done the hard work.

  80. Michael Kennedy

    Just see what goes wrong with the popular ones and do that. So then at the bottom down here on their homepage, they show you different ways to integrate it into the different frameworks. So for like FastAPI, on the lifespan where it starts, you just initialize it, And then you mount both the app and Citri, and it can have its own little sub use. It's like a little more obvious in Flask, where like you say, mount the app, but also Citri, which has the prefix slash anything to slash Citri so forth. It's kind of like HTMX callback type of stuff. You can add it into Django. You can just treat it as its own web framework and pass it as an AGI, ASGI, or as a WSGI app that gets returned and just plug it into uvicorn or whatever, Granian, hand it off. Anyway, it's pretty neat, right?

  81. Calvin Hendryx-Parker

    It does look really cool. Well, it solves, again, kind of solves my problem where I don't want to write a front end, but I still want to be able to have it be slick and use these events and write it in Python still.

  82. Michael Kennedy

    Yeah. And it has Citri UI. And I believe Citri UI is basically Tailwind or something along those lines, right?

  83. Calvin Hendryx-Parker

    Makes sense.

  84. Michael Kennedy

    But it plugs in like to its components and so on. So you get like a little split button or whatever. Toggles, calendars, I don't know. Calendar you can just use as a component that plugs into these things. So that's kind of cool too. That's an alpha, but...

  85. Calvin Hendryx-Parker

    I feel like I might need to go try this.

  86. Michael Kennedy

    It's interesting, you know? So people can check it out. It's always fun to have a new perspective on...

  87. Calvin Hendryx-Parker

    And it's safe. Safe is the first word that they put into their banner there, which I like.

  88. Michael Kennedy

    Yeah.

  89. Calvin Hendryx-Parker

    Because security is a real deal.

  90. Michael Kennedy

    I know. We kind of opened with that, didn't we? So safe, I think it means, like all those bug validation stuff that I was talking about, and also type checking, runtime checking. So, for example, you can integrate it your continuous integration and it'll tell you before you ever run the code whether or not your template and your model are out of sync that kind of stuff yeah yeah we're seeing i saw a lot of

  91. Calvin Hendryx-Parker

    themes of that this week at reinvent as well but a non-reinvent security announcement i wanted to cover is the psf has announced a security roadmap this was announced just last week there is a in addition to all the activities that they are already doing around security they basically announced over the next five years, they've got some goals around securing Python's software supply chain and distribution infrastructure and responsibly growing and advancing critical Python infrastructure. So there's four major security focuses for the upcoming year, which is that sustainability of PyPI malware remediation. They're establishing a compromised resilience for PyPI and Python.org itself as well. Obviously, they are high value targets. There's the vulnerability remediation and advisory capacity. And then the last one is incredibly interesting because there's been some announcements around cryptography and quantum. So the post-quantum cryptography readiness, that's becoming more and more of an issue as we're seeing error correcting in the quantum world become potentially more and more real. So the team right now, there's basically a Python security response team that handles the reports that are coming in through their normal channels. But that's only going to go so far. There are only so many people. There's only so many folks who can handle those bits as they go. So this is going to actually have PyPI is going to lean more into automatic quarantine. Today, basically, it only hands off to several trusted reporters who can flag the same project and then it basically will you know take down that project but then this is going to be a new malware triager role and they will be able to handle reports without the full pypi admin access so there's going to be a new role added into pypi that this automated tooling will be able to hook into that'll be part of the malware remediation and actually So they're looking at removing malware from existing PyPI published packages too. Underneath the compromised resilience, the goal here is, again, how do we make sure that PyPI and Python.org stay alive, even through the face of attacks and all the various security pieces that are out there. So that is, I'll scroll down to that part of the book.

  92. Michael Kennedy

    That's a tricky job. I don't, honestly, I don't think I'd want that job. There's a lot of different ways.

  93. Calvin Hendryx-Parker

    And they do it with such a skeleton crew of folks. It's amazing how lean the PSF is. I mean, they're very responsible with the funding that they have and the people they put onto this. So that's, again, part of this is to help become compromise resilient. Because there's really a reality that Python.org and PyPI as a result are very much targets. Because if you get a hold of PyPI, you can now do not good things to lots of different packages. Because that's where all the dependencies generally come from. The vulnerabilities in CVEs are increasing, so they're putting in this vulnerability remediation and advisory capacity so they can handle that. And this is the last one I kind of want to mention is the post-quantum bit. I didn't realize that there have been significant improvements to quantum error corrections that were published in the last year. That's a big deal because that means the chances of a cryptographically relevant quantum computer created by 2030 could become real. And then that's when stuff gets very, very real. The goal here is making sure that the Python language has in the standard library options for developers to reach for that are post-quantum capable. So that post-quantum cryptographic algorithms, or PQCs, will be added to all services hosted by the PSF, so PyPI and Python.org, but then also having a PEP drafted so that those things get written into the standard library as well. We want to thank the fine folks. Let's see here. I know Anthropic is behind some of this. And also, who's the other one that's behind that? Oh, Alpha Omega. So Alpha Omega and Anthropic have been funding the security work, well, at least the resources from the PSF to handle a lot of this. So thank them for that. But it sounds like if you want to get involved, there's an end-of-year fundraiser going on. So if you're all tired of shopping for Black Friday and Cyber Monday, Go give some money to the PSF to help them with their endeavors because it's super important.

  94. Michael Kennedy

    Yeah.

  95. Calvin Hendryx-Parker

    And again, it's not to downplay the work that they're already doing. This is in addition to existing bits.

  96. Michael Kennedy

    Yeah, it's definitely important. And if a quantum computer does come out that can break RSA, that's bad.

  97. Calvin Hendryx-Parker

    Yeah.

  98. Michael Kennedy

    Have you been hearing the rumors that there might be some kind of vulnerability discovered by AI in regular dual prime factoring encryption?

  99. Calvin Hendryx-Parker

    No.

  100. Michael Kennedy

    Encryption?

  101. Calvin Hendryx-Parker

    That sounds really, really bad.

  102. Michael Kennedy

    That is like, I'm going to start putting down an offer on a cave in a very remote location if that goes down. Anyway, that would also help here because this is another encryption algorithm that you could reach for that is not prime factors. Okay.

  103. Calvin Hendryx-Parker

    Right.

  104. Michael Kennedy

    Have you got some extras?

  105. Calvin Hendryx-Parker

    Yeah, I do actually have some extras. One of them is related to what you were mentioning this morning or this morning. Okay. It's been a long day here at the conference. I'm sorry. So there are some other...

  106. Michael Kennedy

    It scrambles your brain.

  107. Calvin Hendryx-Parker

    It's Vegas, it does scramble your brain. There are some other interesting announcements from AWS this week. One of them was during the keynote today, which was the AWS Continuum. There's a Continuum product, and it's got multiple stages and multiple kind of subproducts in true AWS and Amazon form for naming things. It's by name terribly. But this one is the AWS Continuum for the software supply chain. Actually, I'll bring that up here. What was interesting about the Continuum for software supply chain is that they're going to have, This is basically a layer you can inject in front of or behind or around your software that will be continually looking for vulnerabilities and threats in open source software or dependencies you have in your existing chain. So that was interesting because there's going to be container images as part of this. There's basically, if you've been following along in the AWS world, they've got their agentic tool called strands. And there's a strands, again, their name is not great because I can't remember it. They're basically a sandbox technology for strands and their agent technology. This includes container images for Python, Node, Java, and Go, all built around Amazon Linux 2027. And so it's basically building a slimmer, slimmer, more secure version that can be easily scanned and checked for these various vulnerabilities so that you can reduce the chance of releasing software into production that is potentially full of vulnerabilities. The other one I thought was interesting, I think they must have announced this either pre-invent or last night at the developer one, which is their credentials daemon. This is a local daemon that keeps AWS credentials and other secrets encrypted on your machine. And it serves short-lived credentials to the CLI, SDKs, and other agents over a local socket. So no plain text credentials. Folks should already be doing this, especially if you should have SSO turned on for your accounts. But this is another technique or trick, or not a trick, but a way you can have your code or your tooling leverage credentials that no longer have to be stored on a file that's unencrypted on your machine. So check out Credentials Demon. It is a public open source product underneath Apache 2.0 license. You can see here there's a bunch of work going into it, but it looks like they just announced it and launched it like two to three weeks ago. So CredsD will launch locally and it gets into the vaults and refreshes and allows you to access secrets.

  108. Michael Kennedy

    Sounds like it also fixed the problem where your AI asks for, I can't log into this. Like, well, here's the page. Like, no, no, no, it's in the chat history. And it freaks out. You need to rotate all your keys. You know what I mean? Like, if it's only good for 10, 20, 30 seconds, like, what matters if it's in the log, you know? It doesn't matter.

  109. Calvin Hendryx-Parker

    Yeah. Yeah, there's, again, this flows in with a lot of the announcements that happened at the keynote this morning around providing user account or agent roles for agents. So these agents can now, there's IIM for agents. So as much as I have a person and I am in the IIM roles for my account, now agents can also have that same credential. So you can now do audit trails, limit roles, limit access, and also now see who did what went and where, I think, which is a big deal. Who gives the agency authority? Because I think a lot of folks are just probably running them as their own user accounts inside of their AWS orgs, which is not a good practice at all.

  110. Michael Kennedy

    Yeah, very good.

  111. Calvin Hendryx-Parker

    Hey, Michael, you got some extras too?

  112. Michael Kennedy

    I want to talk about Lady Bird. Are you familiar with Lady Bird?

  113. Calvin Hendryx-Parker

    I'm not. That's the browser, right?

  114. Michael Kennedy

    The browser. Yes, exactly. So Lady Bird is a project that is trying to create a new, fresh web browser, truly independent, privacy-focused, non-profit that is not something built around Chromium. It's not Firefox. It's not WebKit. It's its own rendering engine from scratch, which I think is pretty interesting. And the big news is it is now available in Alpha for playing around with. So macOS and Linux, if you want to check it out.

  115. Calvin Hendryx-Parker

    You also told us about another browser like two weeks ago. How did this one perform comparatively?

  116. Michael Kennedy

    I've not played with Lady Bird yet. I hear that some of the sites don't work because it's a new rendering engine that didn't exist. So some sites won't work. It'll crash sometimes, whatever. I think it's super early, right? This is alpha. And I've been playing with Helium mostly as my main browser, which is pretty fun. But I've also spent time in Vivaldi. So we'll see. But I don't know about Lady Bird. It's got to come a little farther. But if you want to play with it, I think it's kind of neat that it's out.

  117. Calvin Hendryx-Parker

    It's an interesting journey. I mean, if you go look up videos of the creator talking about this, it's wild.

  118. Michael Kennedy

    Yeah, there's a bunch of sponsors for it, by the way. That's cool. Cloudflare, Shopify, Lovable, Proton, et cetera, et cetera. So it's not just a random hobby thing, right? It's got some real momentum there. Other people, I think, also want to see some kind of alternative, right? All right. Also, Django posted by us. welcome our executive director posted by Jeff Triplett and the DSF board. So we're honored to introduce Paolo Ferraro as the Django Software Foundation's first executive director. And this has been a multi-year project to find somebody to basically lead the foundation in not a technical, but a relationship way to grow Django. So I think that's really great. And if I don't get this wrong, I do believe I see some interesting companies down here who made this possible. Six feet up. Six-year-old friends. Yeah, exactly.

  119. Calvin Hendryx-Parker

    Yeah. This was something...

  120. Michael Kennedy

    Cuddlesoft from Emily Morehouse.

  121. Calvin Hendryx-Parker

    This is something that's been going for well over a year, almost two years in the making. Not this year at DjangoCon, but last year at DjangoCon, Pete from Lincoln Loop approached me and said, we need to get some money together to make this really happen because this is going to be a big mover for the Django Software Foundation and the community at large. Not that it's a real problem for me, I don't like seeing the agencies being the only sponsors of the major aspects of the project. The bigger orgs who are really using Django down deep inside, I'd love to see their names be front and center. But you need this person like this executive director to make that happen.

  122. Michael Kennedy

    Right, right, right. Go ahead and make those relationships. Yeah. You really should support these things. And here's why that'll actually pass the board.

  123. Calvin Hendryx-Parker

    I look forward to meeting Paola.

  124. Michael Kennedy

    Yes, indeed. All right. Congratulations. Let's close it out with a joke.

  125. Calvin Hendryx-Parker

    Yes.

  126. Michael Kennedy

    And I think this is a good one for all the top. This has been a very security-heavy episode, wouldn't you say?

  127. Calvin Hendryx-Parker

    I think lately.

  128. Michael Kennedy

    Unusually high. Unusually high, and I think here we are. So here's the joke. The traditional, you rub the lamp, out comes a genie, you get three wishes, right? Well, as you can imagine, a software developer type has been the one to summon the genie. It says, there's rules. You cannot wish for love. You cannot wish for death of someone, something like that. And you cannot wish for more wishes. Very well. May I wish for fewer wishes? Yeah, maybe. I mean, I don't know why. Why would you do that?

  129. Calvin Hendryx-Parker

    Is that in the spec?

  130. Michael Kennedy

    Is that in the spec? It says, well, I wish for, what was it? I wish for zero wishes or something like that. I can't remember exactly.

  131. Calvin Hendryx-Parker

    That's complicated. We're not sure what that actually works out to.

  132. Michael Kennedy

    Yes, I wish for zero wishes or something like that. And your wish executes. So you've actually used one, but you have zero. And so what happens when you go into negative? Who knew that wishes were an unsigned short int?

  133. Calvin Hendryx-Parker

    Now you've got a wish buffer overflow.

  134. Michael Kennedy

    Yep, you've got an overflow. So now you have like 65,227 wishes. So can I wish for fewer wishes?

  135. Calvin Hendryx-Parker

    Very cool. Thank you, Michael, for the awesome joke. That one's deep.

  136. Michael Kennedy

    It is deep. You got to know your data types very well. Does that work so well in Python? They all like just, they just keep growing or shaking.

  137. Calvin Hendryx-Parker

    Yep, or whatever. Awesome. All right, Michael, we will talk to you all next week.

  138. Michael Kennedy

    Bye.

  139. Calvin Hendryx-Parker

    Bye.