logoalt Hacker News

packetlost • today at 5:21 PM • 2 replies • view on HN

Except when it's a license violation or in something that ends up having a security vulnerability.


Replies

kragen • today at 7:58 PM

In my experience so far Claude has been meticulous about avoiding license violations.

nonethewiser • today at 5:32 PM

>Except when it's a license violation or in something that ends up having a security vulnerability.

What's more secure isn't so simple. If you vendor something with a vulnerability then it wont be patched. But vendoring may also mean you took the 2% of the library you need and not the 98% which reduces the surface area for vulnerabilities. And it can cut the other way - you may update a package that was previously good and is now vulnerable (regressions, supply chain attacks).

There is a balance that must be struck, and I think LLM's strike a better balance than people do. Dependencies are a convenience with a cost and LLM's can trivially copy or re-implement things that we cant.

➕ show 1 reply