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.
