The scan phase "CRA-Anforderungen zuordnen" could read as legal advice. It is now "Bezug zu CRA-Themen ermitteln (technischer Hinweis)"; the finding detail says "CRA-Themen, auf die dieser Befund hinweist" and "CRA-Themen (Anhang I)"; the CRA status page and the CRA tiles say "Technische Hinweise, keine rechtliche Bewertung". The docs use the same wording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 KiB
Understanding Findings
A finding (Befund) is one issue a scan found in a target: a weakness in the code, a committed secret, a component with a known vulnerability, and so on. This page explains the findings list, the finding page and the statuses you use to record what you decided.
Findings List
Open Befunde (Findings) in the sidebar to see the findings of all your targets. The number in the Befunde column of the Prüfobjekte list opens the same page filtered to that target.
Filtering
The filter bar has a search field (Befunde durchsuchen …) and four filters, plus a fifth when an app has variants:
- Alle Prüfobjekte -- one target, or all
- Alle Schweregrade -- Kritisch, Hoch, Mittel, Niedrig or Info
- Alle Arten -- the kind of finding, e.g. Codeanalyse (SAST), Zugangsdaten im Code, Bekannte Schwachstelle (CVE), SPS-Steuerungslogik
- Alle Status -- one of the statuses below
- Alle Varianten -- one variant of the app (see below); only shown when the findings in view have variants
Filters can be combined. The list shows 20 findings per page.
Columns
| Column | Description |
|---|---|
| Schweregrad (Severity) | Kritisch, Hoch, Mittel, Niedrig or Info |
| Titel (Title) | What was found; a click opens the finding. The tool that found it is shown beneath, and the app variant when there are several. |
| Art (Type) | The kind of finding |
| Prüfobjekt (Target) | Only when the list shows all targets |
| Fundstelle (Location) | File and line |
| CRA | The CRA Annex I requirements the finding is evidence for, plus "+N weitere Kontrollen" for controls from the BreakPilot catalog. Shown only when a finding in view is mapped. |
| Status | The current status |
The Schweregrad, Titel, Art and Status headers sort the list.
App variants
A repository can hold several variants of one app: a phone and a tablet app
side by side (Eclipse/ADT), several Android app modules, product flavors with
their own sources (app/src/tablet/), or several app targets of one Xcode
project. Prüfwerk recognises them (the target page lists each as
app_variant under Erkannte Merkmale) and labels every finding with the
variant whose files it is in. Code all variants share (src/main/) belongs to
none.
The same flaw in the phone and the tablet app stays two findings, each with its variant, because each variant ships and is fixed on its own; their issues in the tracker are separate too (the variant is in the title, and the body has a Variant line). When one rule fires often enough to become a single finding, its list of places names each place's variant, and the variant filter finds it under every variant it touches.
Changing several findings at once
Tick the findings (or the box in the header for the whole page) and choose a status under Markieren als (Mark as). Statuses that need a reason (Risiko akzeptiert and Fehlalarm – Zuordnung) are not offered here; set them on each finding's page.
Finding Detail
A click on a finding's title opens its page. At the top: the title, the tool, the type and the status, and badges for severity, CWE, CVE, CVSS score and the Konfidenz (confidence) of the automated review, where present. Below that, in this order:
- Beschreibung (Description) -- what the issue is.
- Fundstelle (Location) -- the Prüfobjekt (a click opens its CRA status), Datei (file and line), Werkzeug (tool), Regel (rule) and CRA-Themen (Anhang I): the CRA Annex I topics the finding points to (a technical hint, not a legal assessment), each with its title. Controls from the BreakPilot catalog are folded under +N Kontrollen aus dem BreakPilot-Katalog; click it to see each control with what it requires.
- Einschätzung (Triage rationale) -- the automated review's reasoning, where there is one.
- Code (Code evidence) -- the lines where the issue was found. A committed secret is shown shortened.
- Reproduktion -- steps to reproduce, for findings from manual tests.
- Behebung (Remediation) and Vorgeschlagene Korrektur (Suggested fix), where present.
- Verknüpftes Ticket (Linked issue) -- the ticket in your issue tracker, if one was created.
- Status ändern (Update status) -- one button per status.
- Verlauf (History) -- every status change.
- Ihre Einschätzung (Developer feedback) -- a free-text note, saved when you leave the field.
Severity Levels
| Severity | Description | Typical Examples |
|---|---|---|
| Kritisch (Critical) | Immediate exploitation risk | SQL injection, remote code execution, hardcoded secrets |
| Hoch (High) | Serious weakness, exploitation probable | XSS, authentication bypass, SSRF |
| Mittel (Medium) | Exploitation requires specific conditions | Insecure deserialization, weak crypto |
| Niedrig (Low) | Limited impact | Information disclosure, verbose errors |
| Info | No direct security impact | Best-practice notes |
Finding Types
The most common types in a scan of source code:
| Type | Source |
|---|---|
| Codeanalyse (SAST) | Semgrep; for C and C++ also cppcheck |
| Zugangsdaten im Code (Secrets) | Betterleaks |
| Bekannte Schwachstelle (CVE) | Components of the SBOM matched against OSV.dev and NVD |
| Datenschutz (Privacy / GDPR) | Prüfwerk's own pattern rules |
| OAuth | Prüfwerk's own pattern rules |
| Code-Qualität (Lint) | Linters, where the deployment runs them |
| SPS-Steuerungslogik (PLC control logic) | Prüfwerk's PLC analyser, see SPS / PLC (CODESYS) |
| Penetrationstest, Dynamische Prüfung (DAST) | Entered or imported by hand, see Befunde aus manuellen Tests |
Statuses
The status records what you decided about a finding. Change it with the buttons under Status ändern; the change takes effect at once.
| Status | Meaning |
|---|---|
| Offen (Open) | New, not yet decided. |
| Zu prüfen (Needs review) | The automated review doubts the finding: the AI triage dismissed it or was not confident, or the control check did not confirm the CRA requirements it was mapped to. It stays in the list until a person decides; no finding is ever hidden automatically. |
| Bewertet (Triaged) | Reviewed and confirmed as a real issue, still to be fixed. The AI triage also sets this when it confirms a finding. |
| Behoben (Resolved) | Fixed. A scan also sets it when it no longer finds the issue (see Closed by the scan). |
| Fehlalarm – Regel (False positive – rule) | The rule fired on code that is not a problem. The finding is not real. |
| Fehlalarm – Zuordnung (False positive – mapping) | The finding may be real, but it does not violate the CRA requirement it was mapped to. Needs a reason. The finding keeps its CRA references, so it stays on record which mapping was wrong. |
| Risiko akzeptiert (Accepted risk) | Known and deliberately not fixed, e.g. because the device runs only on an isolated network. Needs a reason. |
| Ignoriert (Ignored) | Set aside without a reason. |
The two kinds of false alarm
- Fehlalarm – Regel: the tool was wrong. The flagged code is fine.
- Fehlalarm – Zuordnung: the tool may be right about the code, but the finding was assigned to the wrong CRA requirement. You are asked why the finding does not violate that requirement before the status is saved.
How statuses affect the CRA status and counts
- A finding with Fehlalarm – Regel, Fehlalarm – Zuordnung or Behoben no longer counts against its CRA requirements.
- Risiko akzeptiert and Ignoriert still count against them: the issue is still in the product.
- The Offene Befunde (open findings) figures count findings that are Offen, Bewertet or Zu prüfen.
Reasons and history
Risiko akzeptiert and Fehlalarm – Zuordnung ask for a Begründung (reason) before they are saved; the button stays disabled until you enter one. Every status change, with or without a reason, is added to the finding's Verlauf (history): the status, who set it, when, and the reason.
Closed and reopened by the scan
When a scan completes, it sets Behoben on every finding it reported earlier but no longer finds, as long as nobody has decided about it yet (Offen, Bewertet or Zu prüfen). The Verlauf shows Prüfwerk-Scan and why:
- Bei der Prüfung nicht mehr gefunden -- the code was changed or removed.
- Liegt jetzt in Herstellercode -- the file now counts as vendor code, which is left out of the findings.
A finding marked Behoben (by you or by the scan) that a later scan finds again goes back to Offen (Bei der Prüfung erneut gefunden).
What the scan never changes:
- Fehlalarm, Risiko akzeptiert and Ignoriert: those are your decisions.
- Findings you entered or imported by hand (penetration test, DAST).
- Findings of a tool that did not complete in that scan (it is listed under Nicht ausgeführt): a failed analysis says nothing about the code.
- Findings of the linters and of the AI checks, and of SPS/PLC projects (not yet).
- A scheduled scan that finds no new commits (or unchanged uploaded files) does not scan, so it closes nothing.
Findings are tied to the code they flag, not to its line number: the rule, the file, the flagged line without its whitespace (for a secret, the match), and how many identical lines come before it in the file. When code moves (lines added above it, re-indented), the finding stays the same: its status, assessment and tracker issue stay with it, and it shows the new line. Only a change of the flagged line itself (or a rename of the file) makes it a new finding and closes the old one. Findings stored before this was introduced keep their status and issue on the first scan after it.
Recommended Flow
- A scan finds something new. It starts as Offen, or as Bewertet or Zu prüfen after the automated review.
- Read the Einschätzung and the Code.
- Decide: Bewertet if it needs fixing, one of the two false-alarm statuses if it does not apply, Risiko akzeptiert if you will not fix it.
- After the fix, scan again: the scan sets Behoben when the issue is gone. You can also set it yourself; if a later scan finds the issue again, it is reopened.
Human in the Loop
Prüfwerk uses AI to review findings, but people make the decisions:
- The AI reviews -- each new finding gets a confidence, a short rationale and, where possible, a remediation. Findings it doubts become Zu prüfen.
- You review -- read the rationale next to the code.
- You decide -- you set the status, with a reason where one is required.
The AI does not learn from your statuses or notes; they are records for your team.
Confidence
The automated review rates its confidence from 0 to 10. The value is lowered for findings in test, example, generated or vendored files. A finding the review does not confirm with a confidence of at least 3 becomes Zu prüfen. Use the confidence to order your review; it is not a verdict.