Security
Security covers the risks a component brings in through its dependencies, its own code and the way it is built and published. Most of the aspects come from the Open Source Health model, which rates the third-party dependencies.
Vulnerabilities
What it means
Known security vulnerabilities in the versions of the dependencies the component uses. A vulnerable dependency can make the whole component vulnerable.
How the checker measures it
- Open Source Health, measured with a vendored analysis script that reads the lockfiles and queries OSV.dev, Packagist, the npm registry and PyPI.
The Open Source Health check reads the production dependencies from composer.lock, package-lock.json and requirements.txt at the repository root. Development dependencies are left out.
Each locked version is looked up in the OSV.dev vulnerability database. The worst known severity per dependency counts.
5 stars: no vulnerability of moderate severity or higher. 4 stars: nothing above moderate. 3 stars: at most 2 dependencies with a high or critical vulnerability. 2 stars: at most 5. More gives 1 star. Only the 4-star level is published; the others are derived by the checker.
None at all rates 5.5. Within a star level the rating falls on a straight line with the count, down to the bottom of the level at the most it allows, so more findings never raise it. A level that allows any number rates the middle of its band. The property's rating is the lowest of its classes. One dependency with a high or critical vulnerability rates 3.0, two rate 2.5 and five 1.5; a moderate one rates 4.0.
Sources
Dependency freshness
What it means
How far the versions in use are behind the latest release of each dependency. Old versions miss fixes and make upgrades harder later.
How the checker measures it
- Open Source Health, measured with a vendored analysis script that reads the lockfiles and queries OSV.dev, Packagist, the npm registry and PyPI.
The Open Source Health check reads the production dependencies from composer.lock, package-lock.json and requirements.txt at the repository root. Development dependencies are left out.
For each dependency the check compares the release date of the version in use with the latest release, using the package registries.
4 stars: at most 34.2% of the dependencies more than 1 year behind, at most 19.1% more than 2 years, at most 11.1% more than 3.5 years, and none more than 5 years. A dependency more than 5 years behind caps the rating at 3 stars.
Each bound gets a rating from 0.5 to 5.5 on a straight line between its star limits, like the maintainability properties: no dependency above the bound rates 5.5, a share exactly at the 4-star limit rates 3.5, and a share between two limits rates between them. The property's rating is the lowest of its bounds. A dependency more than 5 years behind caps it at 3.49, the top of 3 stars.
The guidance publishes only the 4-star limits. The 5, 3 and 2-star limits are derived by the checker: 5 stars halves each share limit, 3 stars doubles it and 2 stars multiplies it by four.
Sources
Dependency activity
What it means
Whether the dependencies are still maintained. A dependency that has not released anything for years may no longer get security fixes.
How the checker measures it
- Open Source Health, measured with a vendored analysis script that reads the lockfiles and queries OSV.dev, Packagist, the npm registry and PyPI.
The Open Source Health check reads the production dependencies from composer.lock, package-lock.json and requirements.txt at the repository root. Development dependencies are left out.
For each dependency the check takes the date of its latest release from the package registry.
4 stars: at most 21.4% of the dependencies with no release for more than 1 year, at most 13.0% for more than 2 years, at most 9.6% for more than 4 years, and none for more than 5.5 years. A dependency without a release for more than 5.5 years caps the rating at 3 stars.
Each bound gets a rating from 0.5 to 5.5 on a straight line between its star limits, like the maintainability properties: no dependency above the bound rates 5.5, a share exactly at the 4-star limit rates 3.5, and a share between two limits rates between them. The property's rating is the lowest of its bounds. A dependency without a release for more than 5.5 years caps it at 3.49, the top of 3 stars.
The guidance publishes only the 4-star limits. The 5, 3 and 2-star limits are derived by the checker: 5 stars halves each share limit, 3 stars doubles it and 2 stars multiplies it by four.
Sources
Dependency licences
What it means
The legal risk of the licences of the dependencies. Some licences put conditions on how the component may be used or distributed.
How the checker measures it
- Open Source Health, measured with a vendored analysis script that reads the lockfiles and queries OSV.dev, Packagist, the npm registry and PyPI.
The Open Source Health check reads the production dependencies from composer.lock, package-lock.json and requirements.txt at the repository root. Development dependencies are left out.
The check reads each dependency's licence from the lockfile or the registry and puts it in a risk class. AGPL is critical; non-commercial and share-alike Creative Commons licences are high; GPL, MPL and no-derivatives Creative Commons licences are medium; LGPL, CDDL and EPL are low. When a dependency offers a choice of licences, the lowest risk counts.
5 stars: no risky licence. 4 stars: no critical, high or medium risk and at most 3 low. 3 stars: no critical or high risk. 2 stars: no critical risk. A critical risk gives 1 star.
None at all rates 5.5. Within a star level the rating falls on a straight line with the count, down to the bottom of the level at the most it allows, so more findings never raise it. A level that allows any number rates the middle of its band. The property's rating is the lowest of its classes. One low-risk licence rates 4.17 and three 3.5; a medium risk rates 3.0, a high risk 2.0 and a critical risk 1.0.
Sources
Dependency management
What it means
Whether third-party code comes in through a package manager. Code copied into the repository by hand is easy to forget when it needs an update.
How the checker measures it
- Open Source Health, measured with a vendored analysis script that reads the lockfiles and queries OSV.dev, Packagist, the npm registry and PyPI.
The Open Source Health check reads the production dependencies from composer.lock, package-lock.json and requirements.txt at the repository root. Development dependencies are left out.
The check counts the third-party libraries committed into the repository, such as vendor or third_party directories and minified files, as a share of all dependencies.
5 stars: none. 4 stars: at most 6%. 3 stars: at most 12%. 2 stars: at most 24%. More gives 1 star. Only the 4-star level is published; the others are derived by the checker.
The rating runs on a straight line between those limits, like the maintainability properties: none rates 5.5, 6% rates 3.5 and 100% rates 0.5.
Sources
Container images
What it means
Known vulnerabilities in the container images a municipality runs when it installs the component's Helm chart. This covers the operating system packages and libraries inside the images, which the repository dependency scan does not see.
How the checker measures it
- Helm chart on Artifact Hub, images scanned, measured with the Trivy security report that Artifact Hub publishes for the chart.
Only for container components: a component that publishes a container image, found by the Docker image criterion, or that has a Helm chart. A Dockerfile alone, for development or tests, does not count. For a Nextcloud app or a library the criterion does not apply: it counts in no score, rating or verdict, and the repository dependency scan stays the check that counts.
The checker looks for the component's Helm package on Artifact Hub. A link to the package in the README or publiccode.yml counts first, then the repositoryID in artifacthub-repo.yml, then a package whose links point at the repository, then a package with the chart's name from the same owner. The result says how the package was matched.
Artifact Hub scans the images of every chart version with Trivy. It takes the images from a dry run of the chart with its default values, or from the artifacthub.io/images annotation in Chart.yaml. The latest version is scanned again every day.
Pass: the latest version has no critical vulnerabilities. The result shows the counts per severity per image, the date of the scan and the link to the package. Fail: no package on Artifact Hub, or at least one critical vulnerability.
Not measured, shown as a warning and never as a pass: the version is older than one year, it uses more than 15 images, the images are private or excluded, the scanner is switched off, or there is no report yet. Artifact Hub skips images over 4 GiB without saying so; the checker names every image that is missing from the report.
A pass rates 5.5, a warning 3 and a fail 0.5. The criterion is mandatory from 19 May 2027. Until then a fail is a warning and does not count against the verdict.
Sources
Secrets
What it means
Whether passwords, API keys, tokens or private keys are committed to the repository. A committed secret can be found and used by anyone who reads the code.
How the checker measures it
- No committed secrets, measured with gitleaks 8.30.1.
gitleaks scans the files of the repository, honouring the project's own .gitleaks.toml and .gitleaksignore. Findings are reported by rule and location, never with the secret itself.
No finding passes, a finding fails. When gitleaks cannot run, the criterion warns. A pass rates 5.5, a warning 3 and a fail 0.5.
Sources
Secure coding
What it means
Whether the code avoids common insecure patterns, such as running dynamic code, injecting unescaped HTML, starting shell commands, unsafe deserialisation, weak hashing and switching off TLS verification.
How the checker measures it
- OWASP Secure Coding, measured with the checker's own pattern scan (a heuristic, not a full static analysis).
The check searches the source files for a fixed list of risky patterns. No finding passes, a few findings warn, and more findings than the threshold fail.
A pass rates 5.5, a warning 3 and a fail 0.5. A heuristic finds likely problems, not proven ones, so a finding is a reason to look, not a verdict.
Sources
Supply chain
What it means
How well the project protects the way its code is built and released, and whether it says what it contains. This is what a user relies on when installing a release.
How the checker measures it
- OpenSSF Scorecard, measured with the public OpenSSF Scorecard API (GitHub repositories only).
- SBOM, measured with a search of the repository for an SPDX or CycloneDX document.
The OpenSSF Scorecard rates practices such as branch protection, code review, pinned dependencies and signed releases on a scale from 0 to 10. The checker maps the score to stars with its own bands: 9 or more is 5 stars, 7 or more is 4, 5 or more is 3, 3 or more is 2, and less is 1.
The SBOM criterion passes when the repository holds a software bill of materials in SPDX or CycloneDX format, and rates 5.5 for a pass and 0.5 for a fail. It checks that the document is there, not what it lists.
The aspect rating is the weighted mean of both criteria.