Betterleaks
1 findings- Critical
- 0
- High
- 1
- Medium
- 0
- Low
- 0
- Info
- 0
Repository assurance
Review security findings, scanner evidence and dependency usage for this repository.
Latest scan: 2026-11-27T13:05:24.051Z
Critical
21
| Security domain | Actual score | Target |
|---|---|---|
| Secrets and credentials | 80 | 100 |
| [BETA] Access control and repository settings | 60 | 100 |
| Vulnerability and patch risk | 52 | 100 |
| [BETA] Network and workload exposure BETA | 100 | 100 |
| Container and image security | 92 | 100 |
| Supply chain and repository health | 0 | 100 |
Last 30 days · daily
CriticalHighMediumLowInfo
Last 30 days · daily
ConftestHadolintScorecardBetterleaksConftest (.npmrc)Conftest (Docker)conftest-renovateSnyk
21 findings across 6 source types.
21 findings across all sources.
| Severity | Check | Details | Fix | Location | Source |
|---|---|---|---|---|---|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:29: pin your Docker image by updating ghcr.io/ministryofjustice/hmpps-node:26-alpine-runtime to ghcr.io/ministryofjustice/hmpps-node:26-alpine-runtime@sha256:9796deadbb45ae719d907683afbb4c086867350ad87370de6a505c5d47832a3a | Not reported |
Dockerfile:29
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:2: pin your Docker image by updating ghcr.io/ministryofjustice/hmpps-node:26-alpine to ghcr.io/ministryofjustice/hmpps-node:26-alpine@sha256:4e02512e0c7484fca14725a7bf8e67458bd9363fbcc1a22a961f244c6e929219 | Not reported |
Dockerfile:2
|
scorecard |
| Medium | Pinned-Dependencies | Warn: npmCommand not pinned by hash: Dockerfile:13 | Not reported |
Dockerfile:13
|
scorecard |
| Medium | DL3018 | Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>` | Not reported |
Dockerfile:9
|
hadolint |
| Medium Development dependency | snyk:lic:npm:axe-core:MPL-2.0 | axe-core@4.14.0 is vulnerable: MPL-2.0 license (via hmpps-accredited-programmes-ui@0.0.1) | No upgrade or patch reported |
package-lock.json
|
snyk-component-vuln |
| Medium | Pinned-Dependencies | Warn: npmCommand not pinned by hash: script/bootstrap:22 | Not reported |
script/bootstrap:22
|
scorecard |
Highest severity: High . Findings: 1.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose.yml
|
Highest severity: Critical . Findings: 1.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Critical | conftest-npmrc | root .npmrc property "ignore-scripts" has value "true", expected "false" | Not reported | Location not reported |
Highest severity: Critical . Findings: 1.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Critical | conftest-renovate | Renovate configuration "renovate.json" must extend at least one approved preset: ["github>ministryofjustice/hmpps-renovate-config:base", "github>ministryofjustice/hmpps-renovate-config:jvm", "github>ministryofjustice/hmpps-renovate-config:node", "github>ministryofjustice/hmpps-renovate-config:node-preview"] | Not reported | Location not reported |
Highest severity: Medium . Findings: 1.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Medium | DL3018 | Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>` | Not reported |
Dockerfile:9
|
Highest severity: High . Findings: 16.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/branch-name-validator.yml:1 | Not reported |
.github/workflows/branch-name-validator.yml:1
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/cancel_outdated_workflows.yml:1 | Not reported |
.github/workflows/cancel_outdated_workflows.yml:1
|
| High | Token-Permissions | Warn: jobLevel 'actions' permission set to 'write': .github/workflows/cancel_outdated_workflows.yml:10 | Not reported |
.github/workflows/cancel_outdated_workflows.yml:10
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline.yml:21 | Not reported |
.github/workflows/pipeline.yml:21
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/security_npm_dependency.yml:1 | Not reported |
.github/workflows/security_npm_dependency.yml:1
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security_npm_dependency.yml:11 | Not reported |
.github/workflows/security_npm_dependency.yml:11
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/security_snyk_scan.yml:1 | Not reported |
.github/workflows/security_snyk_scan.yml:1
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security_snyk_scan.yml:12 | Not reported |
.github/workflows/security_snyk_scan.yml:12
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/security_veracode_pipeline_scan.yml:1 | Not reported |
.github/workflows/security_veracode_pipeline_scan.yml:1
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security_veracode_pipeline_scan.yml:11 | Not reported |
.github/workflows/security_veracode_pipeline_scan.yml:11
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/security_veracode_policy_scan.yml:1 | Not reported |
.github/workflows/security_veracode_policy_scan.yml:1
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security_veracode_policy_scan.yml:11 | Not reported |
.github/workflows/security_veracode_policy_scan.yml:11
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:29: pin your Docker image by updating ghcr.io/ministryofjustice/hmpps-node:26-alpine-runtime to ghcr.io/ministryofjustice/hmpps-node:26-alpine-runtime@sha256:9796deadbb45ae719d907683afbb4c086867350ad87370de6a505c5d47832a3a | Not reported |
Dockerfile:29
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:2: pin your Docker image by updating ghcr.io/ministryofjustice/hmpps-node:26-alpine to ghcr.io/ministryofjustice/hmpps-node:26-alpine@sha256:4e02512e0c7484fca14725a7bf8e67458bd9363fbcc1a22a961f244c6e929219 | Not reported |
Dockerfile:2
|
| Medium | Pinned-Dependencies | Warn: npmCommand not pinned by hash: Dockerfile:13 | Not reported |
Dockerfile:13
|
Highest severity: Medium . Findings: 1.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Medium Development dependency | snyk:lic:npm:axe-core:MPL-2.0 | axe-core@4.14.0 is vulnerable: MPL-2.0 license (via hmpps-accredited-programmes-ui@0.0.1) | No upgrade or patch reported |
package-lock.json
|
One continuous timeline of recorded component usages. Parent-package relationships are not stored by the inventory.
Showing 2 of 2 unpinned or vulnerable components.
| Component | Version | Pinned | Vulnerabilities | Last seen |
|---|---|---|---|---|
| ghcr.io/ministryofjustice/hmpps-node | 26-alpine | No | 0 | 2026-11-27T13:05:09.421Z |
| ghcr.io/ministryofjustice/hmpps-node | 26-alpine-runtime | No | 0 | 2026-11-27T13:05:09.421Z |
No unpinned or vulnerable github action components were found.
No unpinned or vulnerable helm chart components were found.
Showing 1 of 1 unpinned or vulnerable component.
| Component | Version | Pinned | Vulnerabilities | Last seen |
|---|---|---|---|---|
| axe-core | 4.14.0 | Yes | 1 | 2026-11-27T13:05:09.421Z |
Showing 12 of 12 unpinned or vulnerable components.