VOOZH about

URL: https://thenewstack.io/javascript-gets-supply-chain-security-with-chainguard-libraries/

⇱ JavaScript Gets Supply Chain Security With Chainguard Libraries - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-09-25 12:00:57
JavaScript Gets Supply Chain Security With Chainguard Libraries
AI Agents / JavaScript / Security

JavaScript Gets Supply Chain Security With Chainguard Libraries

Chainguard launches closed beta of JavaScript libraries rebuilt from source to eliminate malware risks as recent npm attacks prompt companies to halt development.
Sep 25th, 2025 12:00pm by Darryl K. Taft
👁 Featued image for: JavaScript Gets Supply Chain Security With Chainguard Libraries
Featured image by Planet Volumes for Unsplash+.

Chainguard is expanding its supply chain security platform with the launch of Chainguard Libraries for JavaScript, a collection of thousands of JavaScript dependencies rebuilt from source to eliminate malware injection risks.

The company announced the closed beta today, accelerating its timeline in response to recent security incidents affecting the JavaScript ecosystem, Patrick Donahue, Chainguard’s SVP of Product, told The New Stack.

Multiple malware attacks hit popular npm packages in recent weeks, causing some companies to freeze development while they figure out their exposure.

“We’re essentially bypassing that whole portion where attacks typically happen,” Donahue said who joined the company three weeks ago from Cloudflare. “It’s never been done before at this scale. It’s such a big effort, but that’s why our customers are looking to us.”

Recent Attacks Highlight JavaScript Risks

The announcement comes amid heightened concern over JavaScript supply chain security. Multiple malware attacks in recent weeks compromised popular npm packages used by millions of developers, prompting some companies to halt development entirely while they assess their exposure, said Donahue.

The attacks exploited a fundamental weakness: JavaScript packages from npm often get bundled and redistributed to users’ computers, so one bad dependency can sink an entire application.

“The challenging thing about JavaScript in particular is it gets redistributed,” Donahue explained. “You might have 1,000 libraries that you’re using, but if any one of them is compromised, it can cause a problem with your entire application.”

Some of the recent attacks got creative, deploying malware that would scan infected systems for AI development tools and use them to gather secrets and spread further.

Donahue used an aviation analogy to illustrate the vulnerability.

“I’m about to fly on an Airbus A380. That plane’s got 4 million different parts, 1,500 suppliers, 30 different countries. If any one of those parts is the wrong part, or an important part goes bad, the plane’s coming down,” he said. “Software is obviously kind of very similar to that.”

Source-Built Approach

Chainguard’s approach cuts out the risky middle step. Instead of trusting pre-built packages, they grab source code directly from GitHub and rebuild everything on secure infrastructure.

“The stuff that ends up on npm are typically built by somebody and then published by a whole bunch of people,” Donahue explained. “Individual developers will download them or write them and then push them up. And that’s kind of the attack vector — it’s not the source code in the repository on GitHub that’s typically affected. It’s once it’s on their machine and pushed into npm.”

What Chainguard is providing, he said, is like having “one supplier that could guarantee the parts were authentic and tamper-resistant and delivered to them without anybody changing them on the way there.”

It’s a massive undertaking. Rather than trying to rebuild every JavaScript package immediately, Chainguard is starting with the most popular libraries and expanding based on what customers need. Donahue acknowledged the scale of the undertaking when he said a customer recently told them, “Wait, let me get this right. You’re going to build everything from source, upstream, like that’s an enormous effort. And we said, yes, it is.”

“You can go about this and kind of boil the ocean and do every last package, or you can focus on the packages used by the customers that are ready to get going with you,” Donahue said.

The company is using AI agents to speed up the rebuilding process, letting human developers manage multiple automated tasks at once, he said.

Growing Market Concern

The JavaScript problem keeps getting bigger. It’s still among the most popular programming languages — surveys show 69% of professional developers use it heavily. AI coding tools have made it even easier to spin up JavaScript applications, often by developers who don’t think much about security. Gartner predicts the cost of supply chain attacks will triple from $46 billion in 2023 to $138 billion by 2031. The firm expects 85% of large companies will deploy supply chain security tools by 2028.

Enterprise Demand

Companies are lining up for access to Chainguard’s JavaScript offering. Some have put development on hold while they wait. Some customers have reportedly suspended development work until they can implement more secure dependency management.

“We expect that list to grow quite a bit later this week, because everyone has been asking us for it,” Donahue said. Some early customers are “so worried about this, they’re saying we are pulling the plug until we can get something like this in place.”

Donahue’s move to Chainguard was motivated by what he calls “unfinished business” from his time at Cloudflare. “There’s only so much you can do at the network layer or the web request layer, because you can block an attack, but an attacker is going to find a way around it, and if you’re running a vulnerable library, it’s game over,” he said. “That’s just a race that we couldn’t win.”

At Chainguard, Donahue said he sees an opportunity to “secure companies from the inside out. I love building security products for developers. It’s kind of that intersection where I work with CTOs, I work with CSOs, and if you can essentially satisfy both of them, we’re in a really privileged position to transform the market.”

“The thing about security is, you become a trusted vendor, and people want to do more with you,” Donahue said. “We’ve established this incredible goodwill and trust with our customers.”

For developers, Chainguard positions the service as a productivity enhancement rather than a security burden. The libraries integrate with existing artifact managers and development workflows, requiring no changes to how applications are built and deployed.

“The pitch for developers is it’s a productivity game for them,” Donahue explained. “They don’t have to worry about where the libraries are coming from if they’re getting them from us. And then security teams are happy, because they know it’s a trusted source.”

The closed beta launches with an initial set of commonly used JavaScript libraries, with coverage expanding based on customer feedback and demand.

TRENDING STORIES
Darryl K. Taft covers DevOps, software development tools and developer-related issues from his office in the Baltimore area. He has more than 25 years of experience in the business and is always looking for the next scoop. He has worked...
Read more from Darryl K. Taft
SHARE THIS STORY
TRENDING STORIES
Chainguard is a sponsor of The New Stack.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.