Reading findings
A finding is a single problem FossID reports. For example: a file contains code under a license your policy prohibits, or a dependency has a known vulnerability.
Where findings appear
Problems panel. Every finding is listed under the source FossID. Findings from a custom scan volume are listed under FossID · <volume name>.
- Errors are problems your policy says must be fixed: a prohibited license, or a known vulnerability.
- Warnings need a decision: a license that needs review, or a modified license text.
- Custom volume matches use the severity your organization set for that volume: error, warning or info.
In the editor:
- Squiggles under the matching code. A finding about the whole file (for example, the whole file matches an open-source component) sits at the very start of the file without underlining anything. A license finding about the whole file is placed on the file's own license text instead, when that text is for the same license. For license findings, a match that covers at least 90% of the file counts as a whole-file match. A license text is underlined only as far as it matches the standard license wording, so lines after the last matching word, such as an address at the end of a notice, aren't underlined.
- A whole-file volume match is shown as a coloured band across the first line. See Custom scan volumes.
- Modified license text is highlighted. Added and changed wording gets a yellow wavy underline. The standard wording is shown as red, struck-through ghost text: right after changed wording, and where removed text would have been. A change whose old or new wording contains the word "copyright", in any capitalisation, isn't highlighted, even when it isn't a copyright line.
- Hovering over a squiggle shows the finding.
In dependency manifests, each declared dependency gets a short annotation at the end of its line:
| Annotation | Meaning |
|---|---|
→ 4.17.21 ✓ (green) | Resolved version. Both checks ran (vulnerabilities and licenses) and found no problems in it or anything it depends on. |
→ 4.17.21 (muted, no ✓) | Resolved version, but not fully checked: a dependency rule is turned off, or this is a dev dependency and Include Dev Dependencies is off. |
→ 6.4.4, ⚠ 1 CVE (HIGH) (red) | The dependency has a known vulnerability. (HIGH, via ws) means the vulnerability is in one of its own dependencies. |
🚫 GPL-3.0-only (via leaf) (red) | A license your policy prohibits, in this dependency or one of its dependencies. |
⚠ MPL-2.0 (needs review) (yellow) | A license that needs review under your policy, in this dependency or one of its dependencies. |
CVE lookup failed (muted) | FossID couldn't check this dependency for vulnerabilities this time. It is checked again on the next scan. (via <dependency>) means the lookup failed for one of its dependencies. |
CVEs unknown (not in KB) (muted) | FossID's knowledge base has no record of this version, so its vulnerabilities are unknown. |
An annotation shows red findings before yellow ones. Among red findings, the dependency's own vulnerabilities come first, then those of the packages it pulls in, then licenses, so a more severe vulnerability in a pulled-in package can come after a milder one of its own. A long annotation is shortened. The Problems panel lists every finding on the dependency, with the most severe first.
Dependencies in sections FossID doesn't check get no annotation. See Scanning. A dependency that FossID can't place on a line also gets no annotation, and its findings appear at the top of the file.
The license the manifest declares for your own project, such as the license field in package.json, is checked against your policy too. A flagged license gets a squiggle on the license name, like a license finding in a source file. This also works when the manifest isn't valid JSON; FossID doesn't report the JSON error itself. See What each kind of finding means.
While a manifest is being rescanned, its annotations are dimmed and start with ↻. Annotations disappear as you type and come back after you save.
Following a finding to its source
The code column of a finding in the Problems panel often shows source ↗. Click it to open the most precise source FossID knows. Depending on the finding, that is:
- the matching lines in the upstream repository (GitHub or GitLab);
- the matching file and line in an npm package, on unpkg;
- the component's page in its package registry (npm, crates.io, PyPI);
- the package that carries a flagged license, for a license problem in a dependency;
- the component's homepage;
- the vulnerability's entry in the National Vulnerability Database (NVD);
- the license's page on spdx.org.
Expand a finding in the Problems panel to see related information: the other clauses that were added, removed or replaced in a license text, or the other vulnerabilities and licenses of a dependency. Click an entry to jump to it.
Compare with upstream
A license finding that comes from matched code can open the upstream file next to your file. To compare them:
- Hover over the finding in the editor, and select Compare with upstream. Or open the Quick Fix menu (
Ctrl+., orCmd+.on macOS) and choose Compare with upstream:<component> <version>. - Look at the diff editor that opens. The upstream file is on the left and your file is on the right. FossID highlights the matched code on both sides and scrolls to it.
If the code matches more than one upstream file, the hover has one link for each file. Each link names the component and its version.
FossID gets the upstream file from the server that matched your code. Some matches can't be compared: a file that isn't text, or a file that the server has no copy of. A custom volume that was indexed without mirror support has no copies. FossID then doesn't offer the comparison, or it shows a message and opens nothing.
What each kind of finding means
Each finding comes from a detection rule. The rule's ID is shown as the finding's code when there is no source link. You can turn most rules on or off; see Detection rules.
Prohibited license — fossid/prohibited-license
Error. The file contains code, or a license text, under a license your policy prohibits. For example:
Prohibited license: GPL-3.0-only (inherited from <component> v<version>): the code matches an open-source component under that license.Prohibited license: GPL-3.0-only (snippet matches upstream <component> v<version>): a piece of your file matches a file of that component, and the header of that file names the license. When the whole file matches, the text saysfile matches upstream.Prohibited license: GPL-3.0-only, with no source in parentheses: the file itself carries that license text.Prohibited license: GPL-3.0-only, in a dependency manifest: the manifest declares that license for your own project, for example in thelicensefield ofpackage.json. The license name is underlined. In an expression such asMIT OR GPL-3.0-only, only the flagged license is underlined.Prohibited weak copyleft license: …: your policy prohibits the whole license category.
When your policy gives a reason for the license, the message can end with it, as in … — <policy reason>.
When copied code carries a license, FossID judges each license in the header of the matching upstream file. Each license gets its own finding. FossID uses the component's own license for a whole-component match, and for a match whose upstream header names no license. A permissive license header in your own file doesn't hide a GPL snippet copied into it. A license text elsewhere in your file is treated as the file's own license, not as inherited from the copied snippet. Its message has no source in parentheses.
Requires a license policy.
License needs review — fossid/conditional-license
Warning. As above, but your policy marks the license as warn: allowed under conditions you need to check. The message says that the license needs review. For example:
License needs review: BSD-3-Clause (inherited from <component> v<version>): the code matches an open-source component under that license.License needs review: LGPL-2.1-only (snippet matches upstream <component> v<version>): a piece of your file matches a file of that component, and the header of that file names the license. When the whole file matches, the text saysfile matches upstream.License needs review: OpenSSL, with no source in parentheses: the file itself carries that license text.Weak copyleft license needs review: …: your policy marks the whole license category as warn.
Requires a license policy.
Modified license text — fossid/modified-license-text
Warning. A license text in the file differs from the standard (SPDX) wording by more than the threshold, 5% by default. For example: Modified license: MIT (12% modified). The finding sits on the first added or changed wording, not at the start of the license text.
The percentage is the share of the standard license text, by length, that was removed, replaced or added. Changes to spacing, punctuation or capitalisation don't count. Replaced wording counts the length of the standard words it replaced, whatever you put in their place. Replacing a short word with a long passage therefore adds very little, and replacing a long word with a single letter or an emoji counts the whole word.
If the only changes are to copyright lines (names and years), FossID doesn't report the text as modified. You can change the threshold in Detection rules.
Vulnerable snippet — fossid/vulnerability-snippet
Error. A piece of code in the file matches upstream code with a known vulnerability. There is one finding for each vulnerability in a file. If more than one piece of code in the file matches the same vulnerability, FossID underlines each one. It lists the others under the finding as related information, named Also in this file (region 2) and so on. For example: CVE-2024-12345 (CVSS 9.8) in a vulnerable snippet.
Vulnerable dependency — fossid/vulnerable-dependency
Error, on the dependency's line in a manifest. The resolved version of the dependency, or of something it pulls in, has a known vulnerability. For example:
lodash v4.17.15 — CVE-2020-8203 — HIGH (CVSS 7.4) via …express v4.17.1 — CVE-… — HIGH via express v4.17.1 → … → qs v6.7.0 (transitive, depth 3)
When a dependency has several vulnerabilities, you get one finding with the worst one first, and (+N more). Expand the finding to see the others. Each vulnerability can still be ignored on its own.
Dev dependencies are skipped by default; see Dev dependencies.
License policy in dependencies — fossid/policy-license-dependency
On the dependency's line in a manifest. The dependency, or something it pulls in, is under a license your policy flags. It shows as an error if any of its licenses is prohibited, and a warning if they only need review. For example:
Prohibited license: GPL-3.0-only (inherited from <dependency> v<version>): the dependency you declared carries the license.Prohibited license: GPL-3.0-only (inherited from <package> v<version> via <dependency> v<version>): a package that your dependency pulls in carries it.License needs review: …: your policy marks the license as warn.
When your policy gives a reason for the license, — <reason> follows. When the dependency carries more than one flagged license, the worst one is shown with (+N more); expand the finding to see the others.
Requires a license policy. Dev dependencies are skipped by default.
Known vulnerabilities in a matched component — fossid/cve-in-matched-component
Error. FossID finds a whole open-source component bundled or vendored in your code, not just one file copied from it, and that component has known vulnerabilities. The message names up to three of them. For example: ⚠️ 5 known vulnerabilities — <component> v<version> (<license>): CVE-2021-1234, CVE-2021-5678, CVE-2022-0001 and 2 more. Whole-component match (multiple files attributable). FossID reports each component once, on the first file that matches it in path order.
This is the least certain vulnerability finding: FossID can't confirm that your copy is the affected version. You can ignore each named vulnerability on its own. Ignored vulnerabilities are no longer counted. Once every counted vulnerability is ignored, the finding clears. If the whole rule is too noisy, turn off CVEs in Matched Components in Detection rules.
Custom volume match — fossid/custom-volume-match
The code matches something on one of your organization's custom scan volumes. For example: Matches <component> <version> as <path> in custom volume "<name>" (score N). The severity is set per volume (error by default). A partial match is one step lower.
A volume match is independent of your license policy; license findings for the same code are reported separately.
Several matches of the same component
Popular projects are often mirrored many times, and a snippet can match a project and its forks or vendored copies. For each part of your file that matches, FossID keeps only the match that its server ranks best. So you don't get one finding for every copy.
In one file, each license gives one finding. If several matches carry the same license, or the file's own license text carries it too, you get one finding. When the file's own text and an upstream match name the same license, the finding names the match, for example License needs review: OpenSSL (file matches upstream openssl/openssl v1.0.1j). Findings for different licenses stay separate. The license of a whole component (inherited from) is reported once for the component, on the first file that matches it.
How findings go away
- You fix the problem. When you save, FossID rescans the file and removes findings that no longer apply.
- You accept it. Ignore the finding with a reason and an expiry date. Ignored findings are hidden everywhere, including manifest annotations.
- You exclude the file. Exclude it from scanning.
- You change the rules. Changing the policy or turning off a rule updates all findings right away.
Findings your AI assistant adds to the Problems panel can carry their own check. For example, "this license header is gone" or "this tool now returns nothing". When you save, FossID runs the check and removes the finding if it passes.
Statistics
The Statistics page counts what FossID has found on your computer. Open it from the … menu of the Policies view in the FossID side bar, or run FossID: Show Statistics.
The page covers everything FossID has found on this computer since the date it shows, across all your windows and workspaces. Each finding counts once, the first time FossID finds it. Rescans, saves and other windows don't add to it.
- Scans shows the number of file scans and workspace scans. File scans are the scans of single files that reached your server, whether automatic or started with FossID: Rescan Current File. The statistics don't count the files that Scan Workspace checks as file scans. They also don't count results from the cache or from your AI assistant, or scans while the server can't be reached.
- Findings has two columns for each kind of finding. Found never goes down. Open in this window is what this window shows now. The kinds are:
- license findings;
- license modifications;
- policy violations;
- vulnerabilities;
- vulnerable snippet findings;
- vulnerable dependencies;
- dependencies flagged by policy;
- license violations in dependencies;
- custom volume findings;
- suppressed findings, which are findings that you ignored.
- Policy violations by category breaks the policy violations down by verdict and category, with the same two columns.
Select Export to save the counts as a JSON file named fossid-statistics-<date>.json. The numbers stay on your computer. The export holds counts only: no file names, paths or code. The file has a total and one entry for each workspace. FossID identifies a workspace by an anonymous ID, not by its name or path.