Behind the scenes: GitHub security alerts - The GitHub Blog
12-Dec-2019 2189
Vulnerability alerts rely on two pieces of data: an inventory of all the software that your code depends on, and a curated list of known vulnerabilities in open-source code. Any time you push a change to a dependency manifest file, GitHub has a job that parses those manifest files, and stores your dependency on those packages in the dependency graph. If you’re dependent on something that hasn’t been seen before, a background task runs to get more information about the package from the package registries themselves and adds it. We use the information from the package registries to establish the canonical repository that the package came from, and to help populate metadata like readmes, known versions, and the published licenses. On GitHub Enterprise Server, this process works identically, except we don’t get any information from the public package registries in order to protect the privacy of the server and its code. The dependency graph supports manifests for JavaScript (npm, Yarn), .NET (Nuget), Java (Maven), PHP (Composer), Python (PyPI), and Ruby (Rubygems). This data powers our vulnerability alerts, but also dependency insights, the used by badge, and the community contributors experiences.
Behind the scenes: GitHub security alerts - The GitHub Blog #ruby #rubydeveloper #rubyonrails #Behind #scenes: #GitHub #security #alerts #GitHub #blog #github #security https://www.rubyonrails.ba/link/behind-the-scenes-github-security-alerts-the-github-blog