Infra

Securing the Software Supply Chain with LLMs

Feross Aboukhadijeh, Joel de la Garza, and Derrick Harris Posted May 3, 2024

In this episode of the AI + a16z podcast, Socket founder and CEO Feross Aboukhadijeh, and a16z partner Joel de la Garza, discuss the open-source software supply chain. Feross and Joel share their thoughts and insights on topics ranging from the recent xz Utils attack to how large language models can help overcome understaffed security teams and overwhelmed developers.

Despite some increasingly sophisticated attacks making headlines and compromising countless systems, they’re optimistic that LLMs, in particular, could be a turning point for security blue teams. Here are some highlights:

[14:25] Joel de la Garza: “The whole new microservices and decomposed development model has been awesome at making sure that whatever method developers are using is the correct method. Because the problem before that was that people would roll their own methods of implementing things. . . . This new methodology actually means that people, when they implement these things, they’re probably using an approved cryptographic method. It’s probably implemented mostly correctly. . . .

“I think it’s made a lot of things better, but it has just created a new attack surface, and it’s created a new set of issues around actually managing the things that are going in there and making sure that you’re validating the correctness of these things.”

[19:03] Feross Aboukhadijeh: “The way we think about gen AI on the defensive side is that it’s not as good as a human looking at the code, but it’s something. . . . Our challenge is that we want to scan all the open source code that exists out there. That is not something you can pay humans to do. That is not scalable at all. But, with the right techniques, with the right pre-filtering stages, you can actually put a lot of that stuff through LLMs and out the other side will pop a list of of risky packages.

“And then that’s a much smaller number that you can have humans take a look at. And so we’re using it as a tool . . . to find the needle in the haystack, what is worth looking at. It’s not perfect, but it can help cut down on the noise and it can even make this problem tractable, which previously wasn’t even tractable.”

[29:23] Feross Aboukhadijeh: “What we see . . . every day is that the bar is so low. It’s not like you’re not dealing with a two-year, state-backed kind of an attack. You’re dealing with somebody, they added five lines of code to the bottom of one of the files of the open source project that you’re using, and it just steals your environment variables and sends them off to the attacker. And it’s right there. And if anyone had looked, they would have seen it. It was right there in the file and literally no one looked. And it’s not just that your company didn’t look. It’s that no one in any company looked. That’s the kind of thing that we see hundreds of per week coming through the feeds. . . .

“And people have this mistaken assumption that, ‘Oh, it’s open source, so it’s safe.’ ‘Oh, I didn’t write that code; I wrote the app code and I just used this dependency, so it’s not my problem.’ But it is your problem. At the end of the day, it’s going to run in the same process as the rest of your app and it’s going to ship into products and it’s going to affect all your users. So, it is your problem.”

[36:05] Joel de la Garza: “I do think that a lot of the attackers, they do have cost constraints and they do have resource constraints that a lot of the blue teams don’t have. And, generally, the adage has always been that the red team always wins. But I do think that with this generative AI wave, and if we do believe that we can do meaningful, agentic-type products that will at least be the level of an intern, perhaps even a level-one analyst . . . I think that if you can deploy 10,000 of those and give them an infinite amount of time, things will get better. I do actually see a path here for things to get markedly better, even though the adversaries [also] have access to these tools.”

About the Contributors
AI + a16z

Artificial intelligence is changing everything from art to enterprise IT, and a16z is watching all of it with a close eye. This podcast features discussions with leading AI engineers, founders, and experts, as well as our general partners, about where the technology and industry are heading.

Learn More
Want More a16z Infra?

Analysis and news covering the latest trends reshaping AI and infrastructure.

Learn More
Recommended For You
Infra

Performance and Passion: Fal’s Approach to AI Inference

Burkay Gur, Batuhan Taskaya, and Jennifer Li
Infra

How to Vibe Code Securely

Feross Aboukhadijeh and Joel de la Garza
Infra

AI Is Upending SaaS Pricing

Scott Woody and Martin Casado
Infra

AI’s Unsung Hero: Data Labeling and Expert Evals

Manu Sharma and Matt Bornstein
Infra

AI, Data Engineering, and the Modern Data Stack

Tristan Handy, Jennifer Li, and Matt Bornstein

Want More Infra?

Analysis and news covering the latest trends reshaping AI and infrastructure.

Sign Up On Substack

Views expressed in “posts” (including podcasts, videos, and social media) are those of the individual a16z personnel quoted therein and are not the views of a16z Capital Management, L.L.C. (“a16z”) or its respective affiliates. a16z Capital Management is an investment adviser registered with the Securities and Exchange Commission. Registration as an investment adviser does not imply any special skill or training. The posts are not directed to any investors or potential investors, and do not constitute an offer to sell — or a solicitation of an offer to buy — any securities, and may not be used or relied upon in evaluating the merits of any investment.

The contents in here — and available on any associated distribution platforms and any public a16z online social media accounts, platforms, and sites (collectively, “content distribution outlets”) — should not be construed as or relied upon in any manner as investment, legal, tax, or other advice. You should consult your own advisers as to legal, business, tax, and other related matters concerning any investment. Any projections, estimates, forecasts, targets, prospects and/or opinions expressed in these materials are subject to change without notice and may differ or be contrary to opinions expressed by others. Any charts provided here or on a16z content distribution outlets are for informational purposes only, and should not be relied upon when making any investment decision. Certain information contained in here has been obtained from third-party sources, including from portfolio companies of funds managed by a16z. While taken from sources believed to be reliable, a16z has not independently verified such information and makes no representations about the enduring accuracy of the information or its appropriateness for a given situation. In addition, posts may include third-party advertisements; a16z has not reviewed such advertisements and does not endorse any advertising content contained therein. All content speaks only as of the date indicated.

Under no circumstances should any posts or other information provided on this website — or on associated content distribution outlets — be construed as an offer soliciting the purchase or sale of any security or interest in any pooled investment vehicle sponsored, discussed, or mentioned by a16z personnel. Nor should it be construed as an offer to provide investment advisory services; an offer to invest in an a16z-managed pooled investment vehicle will be made separately and only by means of the confidential offering documents of the specific pooled investment vehicles — which should be read in their entirety, and only to those who, among other requirements, meet certain qualifications under federal securities laws. Such investors, defined as accredited investors and qualified purchasers, are generally deemed capable of evaluating the merits and risks of prospective investments and financial matters.

There can be no assurances that a16z’s investment objectives will be achieved or investment strategies will be successful. Any investment in a vehicle managed by a16z involves a high degree of risk including the risk that the entire amount invested is lost. Any investments or portfolio companies mentioned, referred to, or described are not representative of all investments in vehicles managed by a16z and there can be no assurance that the investments will be profitable or that other investments made in the future will have similar characteristics or results. A list of investments made by funds managed by a16z is available here: https://a16z.com/investments/. Past results of a16z’s investments, pooled investment vehicles, or investment strategies are not necessarily indicative of future results. Excluded from this list are investments (and certain publicly traded cryptocurrencies/ digital assets) for which the issuer has not provided permission for a16z to disclose publicly. As for its investments in any cryptocurrency or token project, a16z is acting in its own financial interest, not necessarily in the interests of other token holders. a16z has no special role in any of these projects or power over their management. a16z does not undertake to continue to have any involvement in these projects other than as an investor and token holder, and other token holders should not expect that it will or rely on it to have any particular involvement.

With respect to funds managed by a16z that are registered in Japan, a16z will provide to any member of the Japanese public a copy of such documents as are required to be made publicly available pursuant to Article 63 of the Financial Instruments and Exchange Act of Japan. Please contact compliance@a16z.com to request such documents.

For other site terms of use, please go here. Additional important information about a16z, including our Form ADV Part 2A Brochure, is available at the SEC’s website: http://www.adviserinfo.sec.gov.