Dependencies¶
This page describes dependency inventory, vulnerability monitoring, dependency triage, and container vulnerability scanning. For published release artifacts, SBOMs, signatures, and provenance attestations, see Release artifacts and verification.
Dependency inventory¶
Weblate dependency information is maintained in several repository files:
Python dependencies are declared in
pyproject.tomland resolved inuv.lock.Frontend dependencies are declared in
client/package.jsonand resolved inclient/yarn.lock.Vendored frontend libraries and generated license data are documented in Subprojectes i codi incrustat.
Release SBOMs are published for Weblate releases as described in Llista de materials del programari.
Docker image and Helm chart dependencies are maintained in the Weblate-owned Docker and Helm repositories listed in Release artifact inventory.
The dependency ranges in pyproject.toml describe the supported runtime
requirements. The lock files describe the tested dependency set used by CI and
release automation.
Seguiment de dependències per a vulnerabilitats¶
Security issues in Weblate dependencies are monitored using Renovate, GitHub dependency review, FOSSA, release SBOMs, and container vulnerability scans.
The Weblate repositories extend the shared Renovate preset from WeblateOrg/meta. That preset enables the dependency dashboard, OSV vulnerability alerts, platform vulnerability alerts, semantic dependency commits, and Renovate custom managers for GitHub Actions, Dockerfiles, Helm chart application versions, and other pinned tool versions. It also configures selected package grouping, schedules, and automerge behavior.
This repository adds main and stable as Renovate base branches.
General dependency updates and lockfile maintenance are disabled on
stable; security update coverage for Weblate releases is described in
Security updates.
GitHub dependency review runs on pull requests to show dependency changes
before they are merged. FOSSA runs on pushes to main and records scan
and policy-test results in the FOSSA service.
Dependency vulnerability triage¶
When a dependency vulnerability is reported by Renovate, GitHub dependency review, FOSSA, a release SBOM review, a container scan, or a vulnerability report, maintainers evaluate whether it affects Weblate. The triage checks include:
whether the affected dependency and version are used by Weblate, a published release artifact, or a maintained deployment artifact;
whether the vulnerable code path is reachable through supported Weblate functionality or supported deployment modes;
whether the issue is in Weblate’s use of the dependency or should be reported to the upstream project;
whether a dependency update, configuration change, mitigation, advisory, or Weblate security update is needed.
Suggeriment
Pot ser que hi hagi vulnerabilitats a les biblioteques de tercers que no afectin Weblate, de manera que no es solucionen amb l’alliberament de versions de correcció d’errors de Weblate.
Dependency and lockfile maintenance¶
Renovate maintains the Python lock file. The uv lock update workflow
verifies it on pushes and checks dependency installation on pull requests. The
frontend dependency lock file and vendored frontend files are maintained by
the yarn update workflow.
Generated changes from the other maintenance workflows are passed through the
Apply maintenance patch workflow. That workflow applies only validated
patch artifacts and limits the paths that each workflow is allowed to update.
Seguretat dels contenidors Docker¶
The Weblate and Weblate Client Docker containers are scanned for security vulnerabilities in CI. This allows us to detect vulnerabilities early and release improvements quickly.
The inspected Weblate Docker and Weblate Client workflows scan built container images with Anchore and Trivy. Results are uploaded to GitHub code scanning as SARIF data. The inspected workflows also store Trivy SARIF artifacts, and the Weblate Client workflow stores Anchore SARIF artifacts.
Known external policy details¶
Some dependency and vulnerability-management details are maintained outside this documentation:
complete Renovate behavior is defined in the shared WeblateOrg/meta preset and repository platform settings;
GitHub dependency graph, Dependabot alert, and branch-protection state are GitHub platform configuration;
FOSSA result history and policy thresholds are stored in FOSSA;
scanner output is stored in GitHub code scanning and workflow artifacts.
Vegeu també