I realize you're being sarcastic but I unironically agree. Code shouldn't constantly churn.
You can still scan for known issues. Rather than checking version strings in the case of full repos you can check branch names or commit hashes. In the case of individual files you can look at checksums. You can even scan your source tree for known snippets.
You mean an automated vulnerability scanner that can sift through bare repos and raw source code to flag known issues? Isn't that exactly what I was describing? Does that not already exist?
I mean yeah probably, I would say custom code that isn't doing critical things like cryptography is more secure. It's a much smaller supply-chain risk, you understand it better, and you can patch it immediately. It's never be easier with LLMs. There's just very little value to a lot of dependencies now.
People also don't consider that most dependencies suck ass. Not on purpose, but because they're trying to be generic libraries. They have edge-cases and legacy baggage out the wazoo, bugs that will never be fixed for political reasons, and shit tons of code. If you just write it yourself, it's likely you can develop something higher-quality and better suited to your needs with 100x less code. No exaggeration on 100x.
You can still scan for known issues. Rather than checking version strings in the case of full repos you can check branch names or commit hashes. In the case of individual files you can look at checksums. You can even scan your source tree for known snippets.