2 ms·
> Is there any package manager system that isn't vulnerable to an individual being compromised? One that comes closer is vcpkg [1], which is the Microsoft-run
by quietbritishjim 8y ago
> Is there any package manager system that isn't vulnerable to an individual being compromised?
One that comes closer is vcpkg [1], which is the Microsoft-run package manager for native C++ packages. It works by having the list of packages and recipes to build them (which it calls "ports") stored in a single repository. All requests to update them are submitted as pull requests and must be approved by Microsoft to enter the main repository.
I'm not necessarily saying whether this is a good or bad idea. Certainly it is a very different situation: only libraries that are already popular are considered, often the ports are submitted/maintained by different people than the library authors, and writing a port to build a library on multiple platforms may require significantly more work than just pointing at an existing GitHub repo. I just point to it as an alternative idea that has had some success.
- ttsda 8y agoThat's how Homebrew[1] works as well. Any external file pulled during installation requires a matching hash in the main homebrew repo to prevent tampering after publishing. [1] https://brew.sh/ https://brew.sh/