|
|
|
|
|
by paulddraper
2394 days ago
|
|
How do you normally trust something? PostgreSQL has 1257 source files [1], 1,250,000 lines of code [2], and ~400 authors [3]. So...however you'd normally audit that. Probably look at the number of users, check for CVEs, and cross your fingers. [1] find . -name '*.c' | wc -l
[2] find . -name '*.c' | xargs cat | wc -l
[3] git log | grep -o 'Author: \S\+ \S\+' | sort -u | wc -l
|
|
These dependencies are 242 projects, privately managed and unvetted.
I can choose to "trust" the PostgreSQL project, as it's a mature project with high visibility. I can't practically choose to "trust" those 242 projects and gauge the trustworthiness of 179 separate contributors; doing so would take vastly more time than most people have.
Dependency bloat is a huge and frustrating problem, especially for people who want to know where their code is coming from and don't want to have to decide to trust hundreds of people for a random cli tool.