Since you started in 2020, a few things have happened in the software development world, and including coding agents. And you've said that coding agents on average pull 50% more open-source software than humans. First, why is that, do you think? And then what should companies be doing about that?
So an agent will often reach for a dependency because it's the fastest path to solving a problem. And they're also trained on, you know, huge corpuses of open source code. And so there's a lot of open source code that, you know, informs how agents write their own code. And so, you know, in this world of, you know, like I was talking about earlier, in this new world where there's just dependencies flying around everywhere and our apps are built on this mountain of open source code, it's not really a surprise that you have agents, you know, basically building software in the same manner as the human code on which they were trained. There's also some risks that come with that.
So, you know, obviously we all know about hallucinations. I think, you know, that's gotten a lot better over, you know, as models have gotten more powerful, but we do still see models making up package names that don't exist. It's almost like hopeful or wishful thinking where they say, "Hey, this problem I'm trying to solve, you know, it would be a lot easier if this package existed. I'm just going to pretend it exists and let's try to go install it." And of course, attackers have realized that they can now go and typo squat the names and hope that, you know, agents will come and actually install those. And so this is why it's really important to change the traditional security model we've had, where in the past people really focused on what are called known vulnerabilities or CVEs, sometimes you'll hear them referred to as, and these are the typical software vulnerabilities or basically bugs or accidents in software. But what we really need to do is think about a much more expansive definition of trust, because when an agent is looking to install something and that package, let's say, has, you know, 50 downloads, like no one's using it, effectively it's a very, very niche, maybe it was published five days ago, right? No one has heard of it. In the traditional security scanner world, before Socket, tools that companies would use would scan that code and say, "Hey, there's no known vulnerabilities. Like I haven't found any reports saying that this is vulnerable." But the reason for that is nobody's bothered to look at this code. No one is using it, right? It's literally, you know, completely random, you know, code. And so, but that doesn't mean it's safe just because it has no known issues, right? There's probably a lot of security vulnerabilities in it. Not to mention the entire package itself could be malicious or could be designed as bait for, you know, your AI agent to install. And so, you know, that was a big part of the shift when we started the company was we wanted to make sure that people could, from first principles, take an untrusted piece of code and make a determination about whether they want to use it in their application or not.
Yeah. And I think that's such an important point. And Pierre, one of the founders at Torio, asked, you know, GitHub stars can now be kind of bought via marketing, and, you know, sometimes popularity can also be bought via marketing and other things that are spoofed. What are the real signals that either you're looking for or developers should look for on these?
Yeah. Well, I think that the source of truth at the end of the day is what does this code do when we run it? At the end of the day, this code is going to, open source code is going to be, you know, bundled into your application that you're shipping to your users, right? Or that you're pushing into production. And, you know, the operating system doesn't care whether you wrote the code or whether an attacker wrote the code or whether an open source maintainer wrote the code. It's all part of your code at the end of the day. You know, people need to sort of have a mindset shift around this. Because for a long time people thought, well, it's open source, it's not my problem, right? I'm sure the community will take care of it, or it must be good because others are using it, right? But we've seen with things like Axios, it doesn't matter how many people are using it, hundreds of millions of people could be using it, and it could still get compromised, right? And so, you know, superficial metrics like stars, even download counts can be faked, right? We saw this malicious skill that was, it was called "What Would Elon Do," and a lot of people were installing it to sort of inject a little bit of that Elon energy into their AI responses, and it became the number one skill because it turns out the skills marketplace that was hosting it, I'm not going to call it which one it was, but they just had a trivially exploitable kind of download. It was very easy to inflate the download counts, and so they became the number one skill even though they didn't really have any organic usage. And of course, then they got a whole bunch of people installing it because it was number one on the leaderboard. And so these metrics are often gameable. We've built some detections to figure out when people are buying stars, when we see like unnatural star networks and things like that. But to answer your question, what should people look for? You need to have something that is ungameable and tied to ultimately what is the code going to do. And so I'll, you know, shout out Socket because like what we do there is we look at the code and we figure out does this code access the network? Does it read your file system? Does it read your API keys and your environment variables? What is the code doing? Right? That really tells you whether or not you should trust it. All the other things around it, they can be useful indicators, but ultimately there's no replacement for just reading the code.
And obviously we can't, humans can't read the code because of the scale we're operating at, but we can have, you know, AI like Socket's AI look at every line of code and ensure that nothing is getting in that hasn't been vetted. Right.
Right. And again, you're doing the work so that everyone can benefit from that. Okay?
And we can afford, by the way, to do quite a big investment into the work we're doing because once we assess a package that's often used by large numbers of our customers, and so we can afford to put an unreasonable amount of tokens into really trying to understand and characterize whether one of these things is trustworthy before a customer even requests it.
Great. Okay, let's move to vibe coding. So what is the process you recommend for an organization to put between a vibe coder who may not be technical at all and the environment?
Yeah, that's a really great question because we're seeing so many non-technical folks now vibe coding and building apps, and it's awesome. I mean, I love to see it. As someone who taught computer science for a number of years, I really love to see more people, you know, coding, and I think it's going to help more people get into the field and just empower people. It's awesome. That said, you know, like we've been talking about, developers haven't necessarily done a very good job of assessing risk of third-party code. And so how are we supposed to expect, you know, someone in sales or marketing, no offense to those folks, but like to understand what this code is doing, right? And so, you know, we need guardrails that are in place to sort of let them loose and to let them, you know, have the power of all these tools without having any of the downsides. And so the simple solution is something that we've, again, like I feel like I'm just an ad for Socket, but like I really, we've been thinking about these problems, and so I do think we have a lot of the, you know, best solutions here. There's something called Socket Firewall that I mentioned a moment ago that you can put in place, and it will make sure that nothing the agent does as it relates to third-party code, you know, is unsafe. So that the agent can't go out and fetch this untrusted package that we've been talking about. It can't go and install this random, you know, library that nobody should be using. You know, it's going to guard against that. And that's really powerful because it means you also can let your teams experiment with whatever AI tools they want because we're doing this at kind of the network level. Yeah.
We don't need to be hooked into every new AI tool or have like a, you know, approval. You don't need to approve what tools your team is using. You can kind of put this one control in place, and then it doesn't matter what AI they're using. It's all ultimately going to transit the firewall, and we're going to be able to see it and act on it.
Great. Okay, great. Another new thing since you started is LLMs. And Zack Stone at Google had asked a little bit about why haven't we seen more bad stuff via prompt injection, and is that something you think about?
Yeah, I think attackers always look for the easiest route into an organization, and they're always, they're really great at hunting for soft targets. This is one of the things, you know, by the way, about security that makes it fun is that it's this cat-and-mouse game where there's attackers, there's defenders, and when an attacker improves, a defender can respond, and when a defender improves defenses, the attackers respond and go somewhere else where the defenses are lighter. And so what I think what we're seeing with prompt injection is that, you know, it's just not the easiest way into organizations right now because it's sort of finicky to get them to work. You know, it's often unclear how to get data out when you've done a prompt injection. And I think like things like the supply chain have just become like, why...
Yeah. Why prompt inject one organization when you can take over Axios and, like, you know, have tens of millions of installs?