Security findings
Find which repositories use vulnerable or malicious packages, read why a finding applies, and dismiss or fix it.
Corfedo checks the dependencies of every indexed repository against published advisories, such as the GitHub Advisory Database, OSV and OpenSSF Malicious Packages. A match is a finding: one advisory for one package version in one dependency file of one repository. Security in the sidebar shows them across every repository you can see. A repository's Security tab shows its own.
You see security data for repositories where you have at least the Security reader role, see Repositories.
Work through findings
Start from the overview
Open Security. Overview shows the most severe open findings first, and Malicious packages detected when there are any.
Filter the findings
Open Findings and filter, for example by Severity, Repository or Package.
Read a finding
Open a finding. Declared in and Resolved in name the dependency file and the lockfile, Path shows the chain of packages that brings it in, Affected the affected versions and Fix the version to upgrade to. Show in dependencies opens the package in the repository's dependency tree.
Check: the finding names the file and version your repository uses and the fix.
What a finding's state means
| State | Meaning |
|---|---|
| Open | The indexed code uses an affected version |
| Uncertain | The version the build uses cannot be known from the files, for example a declared version without a lockfile or a moving tag. Uncertain on the finding says why. |
| Dismissed | Someone dismissed it, with a reason |
| Resolved | The latest indexed code no longer uses an affected version, a new check of the indexed code found none, or the advisory was withdrawn or no longer covers this version. The timeline says which. |
Classification is Vulnerability, Malware or Withdrawn for an advisory its publisher withdrew. For malware, Fix says to remove the package, because no fixed version applies.
Dismiss a finding
On the finding, open the ⋯ menu and select Dismiss finding…. Choose False positive, Not used or Risk accepted, add a comment if you like, and select Dismiss finding. This needs at least the Triage role on the repository.
The dismissal covers this finding only, not other instances of the advisory in the repository. Reopen finding in the same menu undoes it.
Look up an advisory
Open Advisories and search by GHSA or CVE ID, package or title, such as CVE-2021-44228, or filter by Severity and Affects › This workspace. An advisory's page lists the repositories it affects in this workspace.
Ask Corfedo on a finding, an advisory or a package starts a conversation about it, for example "Is the affected function called in our code?".
Troubleshooting
| What you see | Why | What to do |
|---|---|---|
| Security figures are being prepared. | The overview is computed after indexing | Wait up to 15 minutes |
| No repository has been analysed yet | No repository has finished indexing | Check repository statuses |
| A repository shows No dependency could be checked | Its dependency files use formats or sources Corfedo cannot match | See what is not checked |
| A finding shows Analysis failed | The latest analysis failed and the finding uses earlier evidence | Ask a repository administrator to check the repository's Processing tab |
| This finding changed. Review it before trying again. | Someone changed it while you had it open | Review the reloaded finding |
Related
- Dependencies and packages shows what each repository uses.
- Search filters find repositories by package or advisory, such as
affected_by:CVE-2021-44228.