Ars OpenForum

Faanchou

Ars Tribunus Angusticlavius
9,227
This can go too far, though. I did some work for a large company that had a strict policy that all packages and updates needed to go through a manual cyber-security and legal review before they could be added to the local repository. When dealing with packages and their dependencies (and dependencies of dependencies) this became a real headache.

Getting a package and all its dependencies approved could take months, and once a package was in the local repository, it was essentially considered "blessed", and the approval was never revisited.

This ultimately meant that developers never wanted to update to new versions. A simple package upgrade was a giant hassle, involving forms and reviews, and developers just wanted to get their job done. Over time, the local repositories fell further and further behind the master repositories. New packages often wouldn't work because the versions of their dependencies in the local repository were too old, and upgrading the dependencies would break some other outdated package. To resolve this, repositories ended up splintering per-project, and nobody knew what versions were actually being used across the business.

Even worse, the "once blessed, always blessed" philosophy meant that many of the package versions in the local repository had critical vulnerabilities that everybody conveniently ignored. The package had been vulnerability-free at the time of approval, so it was fine. Any vulnerabilities found after that review may as well not exist.

The company touted all this as evidence of its bullet-proof cyber-security posture, and boasted about its rigorous processes to stakeholders... all while forcing developers to use four year old packages with multiple vulnerabilities with a CVE score >7. But they'd been reviewed years ago, and found to be fine, so it's all good.

The company I now work for has a tool to deal with all this. It scans incoming packages on-demand, maintains the local repository, flags new vulnerabilities, catches typo-squatted packages... and isn't cheap. But it actually works. In fact, it kind of feels like cheating after dealing with the previous approach.
If a package included in the dependencies has a security update, you do "go through a manual cyber-security and legal review" required for it to meet the new, fixed position and then research all the changes needed for things depending on it needed to support the change. That's the baseline, not the end goal.

I have no idea what the rest of your message was supposed to be about given that. Are you running your codebase from github?
 
Upvote
-26 (2 / -28)