Security

How to Fix AI Code Security When Reviews Fall Behind | Laura Guazzelli, OpenSSF | TFiR

0

AI coding assistants now write code faster than security review can check it, and over 58% of surveyed teams say they ship faster than review can keep up. More code reaches production with less review, while attackers use AI to find the gaps, and the attack surface keeps growing.

In this interview on TFiR, Laura Guazzelli, Security Architect – AI/ML/LLM/Agentic Systems at OpenSSF, walks through how open tooling helps teams find, fix and verify vulnerabilities as AI-written code outpaces security review.

Guest: Laura Guazzelli, Security Architect – AI/ML/LLM/Agentic Systems at OpenSSF
Show: KubeCon+CloudNativeCon
LinkedIn: Laura Guazzelli
Watch the discussion on YouTube

Here is what every developer, maintainer and security team needs to know.

Technical Deep Dive

Q: How can teams close the AI code security gap when security review can’t keep pace?

Laura Guazzelli, Security Architect – AI/ML/LLM/Agentic Systems at OpenSSF, says finding vulnerabilities has become quite trivial, so the real gap is fixing them. Guazzelli points to a framework that came out of the DARPA cybersecurity initiative at DEF CON in 2024 and goes beyond detection. It picks the best patch for the bug and returns a proof of vulnerability with a verified patch, so the result is not just AI slop.

“Finding vulnerabilities has become quite trivial. However, the gap is not there. The gap is in how we fix them.” Laura Guazzelli, Security Architect – AI/ML/LLM/Agentic Systems, OpenSSF

Q: How is AI changing software development for open source maintainers?

Guazzelli says the survey announced at KubeCon showed AI slop landing on large projects, where triaging a flood of low-quality AI contributions becomes a heavy burden. Small projects see less impact because their contribution volume is lower. The bigger shift is in the SDLC, where time moves from writing code to reviewing contributions, and maintainers are using AI themselves to triage and to produce test suites and documentation.

“AI is literally shifting where we focus in the SDLC for software development.” Laura Guazzelli, Security Architect – AI/ML/LLM/Agentic Systems, OpenSSF

Q: How do defenders know they are gaining ground against attackers who use AI?

Guazzelli says defenders gain ground when they use the same tools attackers use. Tools such as OSS-CRS let maintainers proactively patch vulnerabilities in their code and leave attackers a smaller window, or none. Severity ranking matters less than it used to, because attackers can now chain lower-grade vulnerabilities to execute an attack.

“Defenders are gaining ground if we are leveraging the same tools that they are using.” Laura Guazzelli, Security Architect – AI/ML/LLM/Agentic Systems, OpenSSF

Q: How can teams vet AI-pulled dependencies without slowing development?

Guazzelli frames this as a provenance question for containers and any other artifact used in software development. Teams should sign artifacts, verify that the signature is valid, and block unverified artifacts from progressing down the pipeline. She calls this essential hygiene for development and deployment, and it applies to AI artifacts too.

“AI is also code. AI is an artifact.” Laura Guazzelli, Security Architect – AI/ML/LLM/Agentic Systems, OpenSSF

Q: Which OpenSSF tools belong in a secure AI development toolbox?

Guazzelli says OpenSSF bridges regulatory requirements such as the EU’s CRA and the practical steps to meet them. Baseline, the Safe Agentic framework and model signing should be part of security hygiene for development and deployment. The tools are open source and open to contribution, and specs like OSS Model Signing Spec version 1 are becoming industry standards that more mature organizations are adopting.

“We bridge this gap between regulatory requirements, for example, the CRA that Europeans came out with, and how to achieve those requirements.” Laura Guazzelli, Security Architect – AI/ML/LLM/Agentic Systems, OpenSSF

Q: What is OSS-CRS and who should use it?

OSS-CRS targets maintainers and developers who want to run vulnerability campaigns. It is modular, so one model can find vulnerabilities while another triages and patches them, and a campaign can be limited by the number of tokens used. Open source models are an option, and the Safe Agentic framework also offers a skill so developers outside the security field can adopt it with less friction.

“Use the specialized model that gives you more for your buck.” Laura Guazzelli, Security Architect – AI/ML/LLM/Agentic Systems, OpenSSF

Q: Which OpenSSF groups and projects cover AI for security and security for AI?

Guazzelli says the AI/ML Working Group runs several initiatives, including the Safe Agentic framework, which addresses the security of models, data and pipelines and maps to the MITRE ATT&CK framework. It gives teams a way to verify agentic workloads and the threats and risks they introduce. OpenSSF is also publishing a training course in November, Using AI to Find and Fix Vulnerabilities, so maintainers can tighten code before they ship.

“Rather than being reactive and publishing something out there, releasing an artifact, and then finding out about a vulnerability, maintainers can find it early on.” Laura Guazzelli, Security Architect – AI/ML/LLM/Agentic Systems, OpenSSF

Q: What does an AI and agentic security architect at OpenSSF focus on?

Guazzelli’s work covers two pillars, AI for security and security for AI. Under them sit initiatives, education, projects and working groups. She works closely with community members and with the AI/ML Working Group.

“I’m very involved with the community members because they are the pillars of the work that gets done for the projects.” Laura Guazzelli, Security Architect – AI/ML/LLM/Agentic Systems, OpenSSF

Q: How will AI security work across foundations beyond the Linux Foundation?

Guazzelli says the work is going beyond the Linux Foundation. OpenSSF just joined the Mosaic Foundation, whose members include the SANS Institute and NIST, and it works alongside OWASP, including the OWASP AI Exchange. The aim is to fill gaps without duplicating existing work: AI risks mapped to the OWASP Top 10 are welcome, and OpenSSF supplies projects such as Baseline, SLSA and Sigstore to mitigate them.

“We need to collaborate and work together with the industry to come up with those solutions because it’s everybody’s problem.” Laura Guazzelli, Security Architect – AI/ML/LLM/Agentic Systems, OpenSSF

Resources & Documentation

  • OSS-CRS, an OpenSSF project for running modular campaigns to find and patch vulnerabilities
  • Safe Agentic framework, an OpenSSF framework for securing models, data and pipelines, mapped to MITRE ATT&CK
  • OSSF Model Signing Spec, a specification for signing and verifying AI models
  • Baseline, an OpenSSF tool for security in the SDLC

***

👇 Click to Read Full Raw Transcript

Swapnil Bhartiya: As we all know that today teams are using AI coding assistants to write code, and they’re writing it faster than ever, but security is not keeping up. Security reviews, they have not sped up to match this pace. In recent study, over 58% of surveyed teams said they ship code faster than security review can keep up. So more code is reaching production with less security. At the same time, attackers are also using AI and they’re finding the gaps and to attack them. So attack surface is also growing. Closing that gap takes trusted guidance and open source tooling that defenders can actually use and trust. And to talk about all of that today, we have with us Laura Guazzelli, Security Architect for AI, ML, LLM, and agentic systems at OpenSSF. Laura, it’s great to have you on the show.

Laura Guazzelli: It’s great to be here.

Swapnil Bhartiya: It’s my pleasure. If I’m not wrong, you recently joined OpenSSF. Talk a bit about your role there and what specific areas are you going to focus on?

Laura Guazzelli: I am the Security Architect for AI, ML, LLM, and agentic systems at OpenSSF. and I’m not wrong, you recently joined AI for security and security for AI. In those 2 pillars, we have a lot of initiatives and we have education, we have projects and working groups. Those are my main areas of focus.

Swapnil Bhartiya: And who do you work with day-to-day, on day-to-day basis at OpenSSF? And how do those groups shape the way the community approaches AI security from both sides, as you mentioned, security for AI and AI for security?

Laura Guazzelli: We work across with many different folks at OpenSSF and also very involved with the community members because they are the pillars of the work that gets done for the projects. So in that capacity, I work very closely with the AI/ML Working Group, and we have several initiatives in that working group. For example, we have the Safe Agentic framework being one of those projects that is driving the security of not only models but data and pipelines with mapping against MITRE ATT&CK framework. That work is very interesting for us because it’s providing a safe framework for verifying the agentic workload and what kind of threats and risks can come out from that work. We also work with the education, providing training courses for developers, and we are just publishing one. It’s gonna come out pretty soon in November, the Using AI to Find and Fix Vulnerabilities. That’s gonna be a very interesting enabler for maintainers and developers alike. to actually tighten up their code before they ship. So rather than being reactive and publishing something out there and having a release artifact and then finding out about a vulnerability, they can find that early on. So those are some of the initiatives that we have, but we have other projects that I would love to tell you about as well.

Swapnil Bhartiya: Yeah, so let’s start there, you know.

Laura Guazzelli: So for example, One of the most interesting capabilities that we have found is the, you know, finding vulnerabilities has become quite trivial since the Mythos onboarding. And they just released version 2 of Mythos. So a lot of capability around finding vulnerabilities. However, the gap is not there. The gap is in how do we fix them? Right. Those vulnerabilities. And so with that, we have a framework that came out of the DARPA Initiative for Cybersecurity at DEF CON back in 2024. And this is a framework for not only finding vulnerabilities, but providing a patch. And what is unique about this framework is that it finds the best patch possible for that kind of bug. And so it puts together the best one and it has a proof of vulnerability and then it has a patch and it’s verified patch. So it’s not just AI slop.

Swapnil Bhartiya: And if I’m not wrong, of course, your team and of course a lot of Linux Foundation, other projects, they also came up with a study and they announced here at KubeCon. From your perspective, what has stood out the most?

Laura Guazzelli: Well, I think it’s interesting that, you know, the AI slope came across in that survey. So how the maintainers are using AI and what kind of impact it’s having on their software development lifecycle. So for large projects, the burden on the maintainer is very big. when you’re using AI because there is a lot of capabilities with the patches being, with the contributions being provided. But that’s not quality code. That is the AI slop. So I think for the maintainers, it creates a burden that to triage all the contributions becomes very heavy. What we also saw is for small projects, The AI contribution may not be so heavy because they actually don’t have that much volume coming. But where AI is shifting the SDLC is actually in the time spent coding versus the time to review the code contribution. Mm-hmm. In that survey, what we also saw is that maintainers are leveraging AI themselves. to actually triage those contributions and then provide testing suites, documentation. So AI is literally shifting where we focus on the SDLC for software development.

Swapnil Bhartiya: Because of OpenSSF, you know, foundation that you have, Linux Foundation, the umbrella that you have, you are in a unique position to not only become a catalyst, but also to set a stage that this is how things should be done. So what is your advice to people who are looking at AI security? And as you rightly mentioned, AI for security and security for AI. What messages do you have for them?

Laura Guazzelli: That’s a very good point. And I think what’s unique about OpenSSF is that we bridge this gap between regulatory requirements, for example, the CRA that Europeans came out with and how to achieve those requirements. So some of the tools that we have in our toolbox, they talk about security in the SDLC and they should be employed as a part of the security hygiene of development and deployment. And for example, the baseline is one of those SIG stories there. We have this, the SAFe agentic framework and the model signing for, you know, AI, those things should be employed in the toolbox for software development. They shouldn’t be overlooked because they can actually get you the advantage of doing secure development and securing your pipeline. Those are all available to everybody. As you know, it’s open source. We invite contribution. From everybody who wants to participate. And they’re becoming the specs, just like the OSS Model Signing Spec version 1. They’re becoming standards for the industry and people are adopting them, the more mature organizations. So we’re translating a lot of those requirements with actually tools and actionable items Now let’s

Swapnil Bhartiya: just go back to the tech aspect. You know, if you look at the coding assistants, you know, of course they add a lot of external packages. You know, I remember days, you know, when we walk into the Open Source Summit and you asked when containers were very popular, you know, they will spin a container, but they don’t even know what’s in their container. They did not know the hard links that are going on and somebody can change the URL and suddenly you are pulling in malicious code. So can you also talk about while coding agents are writing the code, they’re pulling in all the dependencies, but the security review teams cannot keep up with that as well. What should teams do to vet those dependencies without slowing or blocking the development at all?

Laura Guazzelli: I think that talks to the provenance of those containers, and any kind of artifact that is used in software development, And remember, AI is also code. AI is an artifact. So in that regard, we have the signature, the OMS is very important because you can not only sign, but you need to verify if that signature is valid and you can block the progression of that artifact down the pipeline. So I think that’s a very concrete example of what developers can do and any kind of enterprise can do to assure that what they’re consuming is actually safe and is a supply chain provenance for that artifact. This should be essential hygiene for software development and deployment.

Swapnil Bhartiya: As we were talking earlier that now even bad actors are using AI, of course, good actors, defenders are also using AI, but do you have any metrics or, Any signal, or how do we measure that defenders are actually gaining ground and not giving up ground to the bad actors?

Laura Guazzelli: Defenders are gaining ground if we are leveraging the same tools that they are using. And so I think the capability is there that we have to make sure we have those assurances and leverage tools like the OSS-CRS for phishing, fixing the vulnerabilities where they can proactively come and patch those vulnerabilities in their code and then leave a smaller window or try to eliminate the window for the attackers to come in. Because what you see is in the past, we used to classify the criticality of a vulnerability was very important and relevant. And now the attackers can chain lower-grade vulnerabilities to execute an attack. And so we should use the leverage and leverage the massive scale of AI to actually close some of those gaps in terms of vulnerabilities.

Swapnil Bhartiya: And since you mentioned, and you mentioned earlier also, OSS-CRS, you know, it’s an open-source sandbox project at OpenSSF. Talk a bit about, I want to just go a bit detailed so people, you know, who just heard the term, they understand What problem does it solve and who is the target audience for it?

Laura Guazzelli: The OSS-CRS target are the maintainers and developers, so they can actually run those campaigns. And it’s a very modular framework where you may point to a different model to find vulnerabilities, but then you have another one to triage the vulnerabilities and want to patch. So you don’t necessarily use the same model across the board. Use the specialized model that gives you more for your buck. And you can also limit the campaigns by the number of tokens you use. You can use open source models if you want, or you leverage all those capabilities. So maintainers would benefit from knowing how to use this. Speaking of leveraging capabilities, for example, the Safe Agentic Framework that we have actually has a skill available to developers as well. So we’re trying to remove the friction for adoption of some of those tools that we have in the projects and provide that capability to developers and people who are not necessarily in the cyberspace. So a developer can easily leverage that in using their own projects.

Swapnil Bhartiya: When we look at AI, the challenges that happens or we hear again and again is token cost. Of course, security is a big, and then of course governance, you know, hallucination as well. Now the challenge is that one can lead into other and that can in the end become a security problem in general. How is OpenSSF looking? Is it looking at this problem in an isolated container, no pun intended, or is it also working with other Linux Foundation projects? Tokenomics is there, you know, other Linux Foundation. So as just the way Linux Foundation has become an umbrella foundation to solve every problem, you know, whatever problem you have, there is a project for that. And, but these projects don’t work in silos, they work together to, So when it comes purely to agentic AI and AI, what kind of vision do you see 1 or 2 years from now where you see these are the core Linux Foundation projects that you do see will work together to solve at least these problems that we are noticing right now, security, the whole governance and cost?

Laura Guazzelli: I think where we are going is beyond the Linux Foundation. What we are trying to do is actually collaborate with other organizations that are aiming to achieve security for AI. For example, OpenSSF just joined the Mosaic Foundation, which has members such as the SANS Institute and NIST and other players that they come up in OWASP, for example, OWASP AI Exchange. So we are trying to fill in a gap but not replicate the work that is being done out there. So for example, AI risks mapped to OWASP Top 10, that’s something that we embrace, but we want to provide the tools to mitigate such risk. Mm-hmm. And so where we come in is with the projects that can mitigate that risk. Right. But we need to collaborate and work together with the industry to come up with those solutions because it’s everybody’s problem. And we can collaborate not only within the Linux Foundation by providing the security with those projects, the baseline, the SLSA, Sigstore, and all of that that is coming, but also across the board with other organizations and foundations.

Swapnil Bhartiya: Laura, thank you so much for walking us through the work that OpenSSF is doing in this space. And you rightly mentioned, Linux Foundation is always about industry collaboration. It’s like not— it’s more or less like facilitator to bring people together. And once again, you share the same mission and vision for future as well in the agentic space. Thank you for your time, and I would love to have you back on the show.

Laura Guazzelli: You too. Thank you.

Swapnil Bhartiya: Thank you.

Why AI Racks Take Months Without Bare Metal Automation | Rob Hirschfeld, RackN | TFiR

Previous article

How to Control Shadow AI With an AI Gateway | Ronen Kofman, Mirantis | TFiR

Next article