# Lucas Beyer argues software dependencies should shrink, with agents replacing libraries

> Original title: Musings on supply chain/libraries/dependencies.

- Source: Lucas Beyer
- Published: 2026-10-23T06:59:24.000Z
- Bad Influence: https://badinfluence.news/items/lfnwhzlh8qmjlspzg5ont6s7s
- Original: https://x.com/giffmana/status/2113525683016143176

## Summary

Lucas Beyer says recent major security incidents are often supply chain attacks, where malicious code reaches widely used dependencies. He argues that easy package installs like pip and npm spread such attacks quickly, unlike the older, slower process of adding and updating libraries. He suggests fewer libraries and more code written directly into projects, with agents making that practical, and proposes a new language and ecosystem without a package manager.

## Post

Musings on supply chain/libraries/dependencies.

It's very interesting to me that a good fraction of the recent major security incidents are supply chain attacks, ie something got evil code into a dependency/library that many relied on.

The interesting thing is that in the past it was NOT the norm to depend on tons of libraries, always use the latest version by default and so on.

It used to be a big deal and good chunk of work to add a library dependency to your thing (remember autotools, FindXYZ.cmake?) and it was also a good amount of work to update a dependency to a newer version; it didn't just happen with the next install command.

All this made supply chain attacks unlikely, and if they happen, they couldn't spread much/quickly.

Of course, the super simple pip/npm install style now increased developer velocity A LOT, but i have always felt a bit uneasy about it and thought this all realized heavily on vast majority of pelle being nice and the few evil people often lazy and not super smart. Well, turns out agents precisely fix lazyness and increase smartness.

I think we might need to reconsider dependencies as a whole. I think maybe way fewer libraries should exist, and way more things should just be implemented in the codebase itself, with agents this works really well now.

This would allow us all to focus on only few core infrastructure libraries. No ˋnpm install left-pad`

And i think such change can't happen by transition. We need a new start. Maybe a new language and ecosystem for this style of work, WITHOUT package manager.

## Quoted post @kimmonismus

> Whats happening right now is probably way worse than the Hugging Face incident. 
> 
> AI-powered attacks are hitting real organizations while major platforms disclose breaches and critical flaws.
> 
> - Microsoft reports AI agents targeting hundreds of organizations, reaching privileged cloud access in under three hours in multiple cases. It attributes the ConnectWise compromise to the same group.
> 
> - CrowdStrike documented four operators running successful AI-agent campaigns. One compromised at least 15 Argentine healthcare organizations.
> 
> - PHP2Shell: AI helped turn longstanding PHP flaws into working exploits. Cloudflare’s CEO reports millions of exploitation attempts. Their AI involvement is unknown.
> 
> - Railway disclosed possible access to customer secrets. LiteLLM shipped a backdoored release. Zeabur confirmed another breach and is shutting down.
> 
> - GitLab patched a maximum-severity flaw affecting 12 years of releases. Node.js patched a serious code-execution vulnerability, with Vercel deploying firewall protections.
> 
> Feels like a turningpoint.

https://x.com/kimmonismus/status/2113141875368468508
