What Changes When Agents Write the Code: Gabriel Brolo (Yalo) on Software Factory Security
Gabriel Brolo · Staff Security Engineer at Yalo
Gabriel Brolo, Staff Security Engineer at Yalo, joins us live at AI Security Summit in San Francisco to explain how you secure a software factory whose product is other agents. Yalo builds AI sales agents for its customers, and its newest tool is an agent that builds agents, so securing that one agent means securing the factory. Gabriel walks through the layers: role-based access and authorization on APIs and services that predate agents, so anyone prompting the factory gets only the scope they should have; agent firewalls at the edge that redact PII and block off-limits conversations in microseconds, backed by asynchronous LLM judges; red teaming against prompt injection and the OWASP LLM Top 10; and scanning every skill for leaked credentials and exfiltration paths. He's also candid about what feels like a hard problem: blocking a misbehaving agent at runtime.
Listen on
Transcript
DownloadRead the full transcript
Allie Howe All right, welcome to another episode of the Insecure Agents podcast. I'm your host, Allie Howe, and today I'm super excited to be here at the AI Security Summit. I'm here with Gabriel. He is a staff security engineer at Yalo. Gabriel, do you wanna introduce yourself?
Gabriel Brolo Yeah, awesome. Thanks for having me here. My name is Gabriel. I'm a staff security engineer at Yalo, where we basically have created an intelligence sales platform to empower our customers to grow their sales through using AI agents. So, in short, what we do is that we create AI agents for our customers for different verticals and use cases. So, e-commerce, sales is one of them. It's, like, the most powerful one, but different stuff as well. FAQs financial use cases, so there's several stuff that we are, are good at. But yeah, that's like the short elevator pitch a bit. I'm also a university professor. I really like computer science stuff.
I'm a computer science engineer, so I teach stuff around compilers contr- construction, algorithms, that kind of stuff, and are very enthusiastic towards engineering processes solving complex problems. So I really love all of that stuff, yeah. Nice being here, and thanks for having me.
Allie Howe Yeah, thanks so much for coming on. What brought you to the AI Security Summit?
Gabriel Brolo Oh, that's a great question. So Snyk brought us. Basically, we're Snyk customers. We have been design partners with Snyk from around two years or so. So it's been an amazing journey where we've had the chance to design products with them, test their new stuff incoming stuff and so on. COS traditional SDLC scans and that kind of stuff. But more in the agentic era we've been working with, with Snyk on tailoring down and designing several pieces, new pieces like red teaming agents red teaming or pen testing complete systems, that kind of stuff malicious code defense. So, so yeah, it's been a, a really great journey. So that's what brought us here.
We were here yesterday discussing that on a customer summit as well. So yeah, we gather with several different customers. We shared how our software factory works as well a bit, how we do secure it. So it was an interesting conversation. It was phenomenal, great, and yeah.
Allie Howe Okay. I'd love to hear more about the how you're securing your software factory, 'cause a couple days ago Keycard and Docker and with support of Snyk and others released a, a software factory reference architecture. We came up with like four different like key security boundaries, like network, sandbox, identity and access, and a few others. So yeah, what are your thoughts on how to secure that?
Gabriel Brolo Yeah. So many of the stuff you said is like core principles of how a software factory should work. At least us at Yalo, like we have several pieces on that, but maybe what I can tell you is that since we build agents for our customers we also have like an agent that builds agents, you know? So securing this agent is like securing the factory, for saying so, because this is the one that you can ask it to do stuff, and it will create, build, and create new agents and so on. So it relies on securing the authorization. So these basically call services that were before the agentic era, for example, and have been, I don't know, changing and transforming and migrating to, to this new, new set.
So having role-based access controls having authorization on APIs, on services, on processes so that when someone logs onto this agent and decides to create something, they're only have their scope that they should have. So that's one piece of it. We also have controls on the edge, for example. So there's concepts of stuff like an agent firewall, for instance, where you can have stuff like obfuscating credit card numbers or obfuscating PII information, data, stuff like this. There's also other concepts, for example, that of an agent firewall. So whenever you create an agent These agents should not respond or should not engage on conversations it shouldn't for certain topics.
You know, like racial discussions or abusive conversations or stuff like that. So, these concepts on relying on the edge before like the messages are incoming in through, through the systems and consuming tokens or that kind of stuff. So it's being able to detect that very fast, like in microseconds. Be able to decide upon that, block certain behaviors and so on. If you're not able to block it right away because you don't have like this confidence threshold with automata theory and finite and discrete stuff, then you can let messages go, but you keep an eye on that. Like asynchronously running processes like an LLMS judging or something with more context about the conversation, and then you can decide to block it or whatever, right?
So there's like several pieces around that. There's the traditional, I'm gonna say, red teaming on agents as well. So crafting thousands of conversations onto the agents, trying to exploit them see if they're vulnerable to prompt injections misconfiguration, misalignments, misinformation, OWASP LLM Top 10, and all of that guidelines, right? But yeah doing that once you have like those results, it's also a process of looping in through that, mitigating that from a guardrail perspective. So we do have like a core set of guardrails and so on that abide all agents at Yalo. So, and the idea is basically tailor that down as well. So yeah, it's like several pieces working in together into the puzzle.
But yeah, that's like the overall picture.
Allie Howe Very cool. Yeah, and factory that builds other agents is a lot to secure, a lot to think about.
Gabriel Brolo A lot to think about actually, and it's very recent is what I'm gonna say. Because up until Certain months ago, like it was very deterministic in the sense of how you want to build an, an agent. It's basically a flow. So imagine you want, I don't know, you have, you want to have an agent on WhatsApp. So you would go into a platform our studio platform, that's what we call it. You would select or drag and drop stuff and connect this with this and create a, a deterministic flow, you know? But that still engages too much knowledge on doing stuff. Or there are certain flows that could allow people to code in Lua script, for example, to do, I don't know, connect to an API, to a service.
So we wanted to engage more, not only on the customer side, but also on Yalo side, on not building their agents per se, but also empowering them to build them by, by themselves. Yeah. So that's when the idea of this Yalo Code came in, and it's basically this agent that empowers and helps into constructing them. So, so yeah, it's a, it's a whole new journey, but it's something that's definitely empowering in a better sense and reshaping how agents are built and constructed. Yes. And securing them, it's very, very, very, very important, obviously. It's not just these processes that I already told, but it's also other kind of talks.
Like we have people that it's going to be a- available to create their agent. So what are their use cases? What is it going to be used for? And all this kind of stuff. So that's when these pieces come into the puzzle, okay. You have an agent firewall, you have these sort of, red teamings that ensure that stuff like EU AI Act are applied, for example. So, it's, it's, it's a complete set of holistic pictures, not just one or two checklist items, right? So
Allie Howe Yes, for sure. You have to have a defense in depth when securing something like that.
Gabriel Brolo Totally.
Allie Howe And it's kind of aligned with the agent baseline outcomes with, that we described in that reference architecture for production agents, where you need to be able to, like, discover what's running, define what the capabilities are, and be able to constrain the agents, authorize them at runtime, validate that the software packages that they're ingesting and also the skills that they're ingesting are safe. And be, also be able to observe behavior that's happening in the factory.
Gabriel Brolo Yep.
Allie Howe And then when something goes wrong in the factory, an agent becomes maligned, the ability to respond and to take away access for that agent.
Gabriel Brolo Exactly.
Allie Howe Is that ability to respond something you feel like you have today?
Gabriel Brolo Like, can you expand more on...?
Allie Howe Yes, exactly. So, like, when we think about the outcome respond from agent baseline, it calls for the need to be able to immediately revoke access and credentials, like, for that agent.
Gabriel Brolo Oh, okay. Okay, okay, okay.
Allie Howe Because it's really hard for an agent to continue to do work if it doesn't have access to data, tools, skills, registries. I mean, if you, when you cut that access off, it's really difficult, and it, it, especially w- this really only works when you have the brains and the hands architecture set up where you've got the model and the harness, which is like the brain, and it's separate from the tools itself.
Gabriel Brolo Right.
Allie Howe And if, like, the model and the harness is operating within a sandbox, then you keep the secrets outside of the sandbox, outside of its reach.
Gabriel Brolo Yeah. Totally.
Allie Howe You just attach the egress proxy, and then it makes those tool calls. So in that way, the agent nor its deployment ever sees that secret, so you can cut it off.
Gabriel Brolo Totally. Yeah, so much of what you've said, it's the journey of what we've done architecturally on not doing that kind of stuff. So it's been a, an iteration process around that. For stuff more dynamic or, like, more live it's still an ongoing process of controlling that, but we are on a, we're on a point in time where there's effort certainly on that. There's certain stuff as- Being a, being able to detect, like, if there's a malicious conversation on this agent that builds agents, for example. But as to block that live and so on, it's still something that we're working on. But yeah, it's definitely something that it's on the picture.
It's something that should be concerned about. So yeah thanks for raising that. All the live detection of, of it, it's very important. We would see live conversations of people, like, just messing up with agents or like trying to extract or tailor it on, I don't know, anything. So, so yeah, it's something that being able to detect that on time, it's very important. For other use cases or other agents that we have for other customers serving millions of people and so on, is that we also have, like, traditional WAF in front of them. So many of that, like rate limiting or many of those kind of conversations is something that can also be cut at the edge point.
So it's something that we have also done. It's something that works as well. Maybe not that granularly, but it's still a good layer of defense, so I wouldn't take it out of the picture. But yeah, it's something that works.
Allie Howe And when you think about who's able to talk to the factory or prompt the factory. That could be a human, that could be an agent, that could be the factory could respond to async work and say, "Okay, now I kick off this task."
Gabriel Brolo Awesome.
Allie Howe Like, how do you track all of, like, the delegation hops and make sure that the permissions the agents have don't supersede the caller?
Gabriel Brolo Totally. So, that's a great question. We are an AI-first company as well, so much of our way of thinking is allowing or enabling agents to do this type of job as well. So we have lots of efforts in the company around building agents that craft code and can connect with the services itself as well. There's been several versions of that. So we've had one in the past that worked and so on. But it's going to be changed in a few months or, or so for something more tailored down. But yeah, definitely having agents that are able to create pull requests or definitely push code right away.
I haven't seen in the past months To be very honest, a pull request from a human at Yalo for something related with UI, for example. So that's been crafted by an agent and pushed in the pull, for instance. But there are several other pieces that still kind of need human intervention in the loop. But it's been faster now and that interaction, it's not that I'm saying it's less every time, but it's more focused. For example, like engineers are now more empowered and tailored around to review something that it's more well prepared, for example, because the team has built a harness around it and set up guidelines and instructions on how things should work and how things should be coded by these agents or using LLMs or whatever, right?
So, definitely that. And yeah, like from the platform perspective, so it's a tool that internally can be used by people with a chat interface and whatever. And I want to build an agent that does this and this workflow for this customer or depending on the access that you have, right? But also to the customers. So this is where we wanted to push it further. So, we already have several customers using the, the platform where they can build their agents and connect to their systems and create their use cases and so on. And our intention is basically, yeah, being able to Launch this on a massive, more massive scale and letting people build their agents, so.
Allie Howe Yes. So you have, like, these two versions of it, right? That makes sense. Yeah, it seems like a lot of, like, identities to keep track of, of like-
Gabriel Brolo Yeah. Yeah, totally. A lot of identities, and also there's, like serious work on refactoring and architecting, like, the core of that, you know? So we've been having tons of efforts into securing our authentication systems, pipelines, like, the RBAC system, scoping everything correctly, the services, how they talk within each other, and so on. So yeah, it's efforts in all of engineering on all of the places. It's a, a win situation for all teams across Yalo. Like we've been engaging on all teams. So yeah it's, it's been a, a tiring journey, but it's definitely turning the product into something way better. And now with security more on top of it and in the minds of everyone other stuff we do as well is that we scan basically the ski- the skills that go into this agent, right?
So whenever there's engineers that want to create skills that would be used, for example, by a customer or by internal people as well, so it's, there's also a job on scanning the skills, ensuring there's not only stuff like credentials and that, which is bad, but also, like, the flows of information. Like, okay, this service should be calling this other one, or is there something that could exfiltrate information or data in some kind? So that's a work that, that's always has to be there, so something that we also do. But yeah, it's, as I told, several pieces, modularity working in all together to, to secure this core.
Allie Howe Yes, absolutely. Looking forward, what's one improvement or security's side of the software factory that you're looking on, like, improving next?
Gabriel Brolo Wow, that's a great question. I would, I would say it as an ongoing iteration process, because- The way we've seen it at Yalo is that we always learn and change stuff very fast because things evolve very fast. Models change, and there's stuff that changes around that. There's several pieces that are constantly changing, so I would reframe it as constantly re-securing these same processes, like the authentication processes, like the edge processes, network processes databases, whatever, because we also see new zero days every day and/or every week or stuff like that. So, I would say it's an ongoing effort on reshaping that and not doing that entirely from zero, but, like, maintaining it better, you know.
So that, that's what I would say. If we don't pay attention or maybe build a system that not by itself does it, but at least kinda, kinda tries to refix stuff and so on I think it's gonna be very hard. So maybe something like that, like something that constantly reevaluates and reimagines certain pieces of, of the puzzle, you know. That's what's been working for us.
Allie Howe Absolutely, yeah. Making that iteration process faster, knowing you can trust the code that was produced or having a set review process, making sure it follows your ways of working for the view.
Gabriel Brolo Totally.
Allie Howe One problem that I s- heard recently which was like caught my attention, was, you know, we're very familiar with, okay, like we need to have a coding agent and maybe a review agent or a monitoring agent.
Gabriel Brolo Yeah.
Allie Howe We have all these agents that goes and, like, try to help us with the review problem.
Gabriel Brolo Yep, yep.
Allie Howe But sometimes because they share different goals they end up creating, like, a lot of comments, or they make that process of review just, like, actually much longer. Like, how are you dealing with that?
Gabriel Brolo It comes in hand with the reit- reiteration process because I remember that like, early on this year, there was, like, this first version of this coding agent plugin that engineers could use to give it a PRD of something that was want to be done, and it took it, it took the PRD, created tickets to document and track the process, and then created a version of the code that deployed it ensured that the tests were passing and s- stuff like that, right? You know. We plugged in Snyk, for example, over there to scan if there was vulnerabilities, the MCP and if there was any, then it would automatically fix them and redo and all of that.
So there was that, like, that first version of it and as you said, like, there were sever- several pieces of stuff that- Perhaps was not, like, the same solution each time. Or it would change if you would run it twice or stuff like that. It was good, but still not the whole company used it or, like, whole engineering used it. Yeah. There were teams that had their, like, own internal processes better and we're gonna use Claude or something else definitely to create code, but more tailored down to our needs or, like, how several different pieces of services work. So, like, all of these variables and this can change, this other thing can change, how do you plug the RAM i- into this agent and so on, is what is pushing down to the new construction of this complete system, which is effectively going on right now.
So I know there's efforts on building this from what we built on the, on the past. But yeah, with more mind on being it completely automated and like, yeah, definitely somehow giving it a PRD or definition or something, but more connected to the different pieces of how services work. Like, more tailored down to how Yalo works because it's how the services work and how future services might work as well. So yeah, there's definitely this change on configurability into that as well, you know? So that, that's what I've been seeing it's been worked on. I, I think it's a good strategy as well. And yeah, also on how to secure it, so putting stuff as code scanning rebuilding stuff if there's a vulnerability or issue or whatever.
Not only that, but also, like, on the edge, there's different types of vulnerabilities that are not seen at an app sec level. Yeah. So doing, like, an automated pen testing once the f- the, the feature or whatever is deployed, so do a pen test on it. There's... Be- because we're building an agent that builds agents, so, so it's like anything can happen, so a pen test on how the services could effectively be misbehaving or something on the backside, right? So it's several pieces, not just one scan. That doesn't work, it, in my opinion, so.
Allie Howe Yeah. That makes sense. Yeah. Where can people connect with you if they wanna learn more about how you secure your software factory or Yalo?
Gabriel Brolo Awesome. Yeah. You can find me on LinkedIn. I'm at, like, Gabriel Brolo. I can also leave you my email my Yalo email if, if, if you want that. My personal email as well. But yeah.
Allie Howe Amazing. No, thank you so much for coming on the podcast and promoting here at AI Security Summit. I'm glad we got the chance to talk and super excited to continue to follow you and see where this work leads you.
Gabriel Brolo Thank you. Awesome. Yeah. Thank you.
Auto-generated and lightly edited for clarity. Plain-text version