Files
pruefwerk/docs
Sharang ParnerkarandClaude Opus 5.5 f514f34056
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 7m55s
feat(issues): critical and high CVEs as issues in managed repositories
For a target from a managed git source, every critical or high CVE in
its components becomes one Gitea issue per package and CVE:
"[CVE] okhttp@3.12.0: CVE-2021-0341", labelled pruefwerk, cra:annex-i,
severity:<x> and the new `cve`, with the summary, severity, the fixed
version where the advisory names one, the CRA requirements (cra-ai-22,
cra-ai-33) and a link to the target. Stored per target, package and CVE,
so a second version of the package opens no second issue. A complete scan
that no longer finds the CVE closes the issue with a comment; it reopens
when the CVE comes back. A scan with a CVE gap closes nothing.

So severity and the fix are known at all: OSV's batch endpoint returns
only advisory ids, so every GHSA alert had no summary, severity or fix.
The CVE stage now reads each advisory once (8 at a time) for its summary,
GitHub severity, aliases (the CVE id of a GHSA) and the fixed versions of
the matched package (by purl). NVD is asked for a CVSS score only where
the advisory rates nothing, sparing its rate limit. CveAlert gains
`aliases` and `fixed_versions` and `cve()`.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-05 19:40:58 +02:00
..
2026-03-08 13:59:50 +00:00