Betterleaks
3 findings- Critical
- 0
- High
- 3
- 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:38.306Z
Critical
20
| Security domain | Actual score | Target |
|---|---|---|
| Secrets and credentials | 40 | 100 |
| [BETA] Access control and repository settings | 100 | 100 |
| Vulnerability and patch risk | 0 | 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)Snyk
20 findings across 5 source types.
20 findings across all sources.
| Severity | Check | Details | Fix | Location | Source |
|---|---|---|---|---|---|
| High | kubernetes-secret-yaml | Possible Kubernetes Secret detected, posing a risk of leaking credentials/tokens from your deployments | Not reported |
hmps-auth-secret.yaml
|
betterleaks |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:27: pin your Docker image by updating ghcr.io/ministryofjustice/hmpps-node:24-alpine-runtime to ghcr.io/ministryofjustice/hmpps-node:24-alpine-runtime@sha256:9eb51dd47bba4349062c7563e95cf0f12f5e369dd291fbcaf0dd7f7ae9cd6e35 | Not reported |
Dockerfile:27
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:2: pin your Docker image by updating ghcr.io/ministryofjustice/hmpps-node:24-alpine to ghcr.io/ministryofjustice/hmpps-node:24-alpine@sha256:d92af0dde9d73608c7e1f33b2a5fdb0adf8322b9b7f48382411e1a775e1c07be | Not reported |
Dockerfile:2
|
scorecard |
| Medium | DL3018 | Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>` | Not reported |
Dockerfile:20
|
hadolint |
| Medium Development dependency | snyk:lic:npm:axe-core:MPL-2.0 | axe-core@4.13.0 is vulnerable: MPL-2.0 license (via hmpps-digital-prison-reporting-mi-ui@0.0.1) | No upgrade or patch reported |
package-lock.json
|
snyk-component-vuln |
Highest severity: High . Findings: 3.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
cypress-tests/acceptance-tests/cypress.config.js
|
| High | generic-api-key | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. | Not reported |
hmps-auth-secret.yaml
|
| High | kubernetes-secret-yaml | Possible Kubernetes Secret detected, posing a risk of leaking credentials/tokens from your deployments | Not reported |
hmps-auth-secret.yaml
|
Highest severity: Critical . Findings: 3.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Critical | conftest-npmrc | root .npmrc property "ignore-scripts" has value "true", expected "false" | Not reported | Location not reported |
| Critical | conftest-npmrc | root .npmrc is missing "min-release-age" (expected "7") | Not reported | Location not reported |
| Critical | conftest-npmrc | root .npmrc is missing "allow-git" (expected "none") | 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:20
|
Highest severity: High . Findings: 12.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/bump-version.yml:1 | Not reported |
.github/workflows/bump-version.yml:1
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline.yml:18 | Not reported |
.github/workflows/pipeline.yml:18
|
| High | Token-Permissions | Warn: topLevel 'contents' permission set to 'write': .github/workflows/pipeline.yml:17 | Not reported |
.github/workflows/pipeline.yml:17
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/pull-request.yml:1 | Not reported |
.github/workflows/pull-request.yml:1
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/schedule.yml:1 | Not reported |
.github/workflows/schedule.yml:1
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/schedule.yml:53 | Not reported |
.github/workflows/schedule.yml:53
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/schedule.yml:39 | Not reported |
.github/workflows/schedule.yml:39
|
| High | Token-Permissions | Warn: jobLevel 'packages' permission set to 'write': .github/workflows/schedule.yml:97 | Not reported |
.github/workflows/schedule.yml:97
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/schedule.yml:83 | Not reported |
.github/workflows/schedule.yml:83
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/schedule.yml:67 | Not reported |
.github/workflows/schedule.yml:67
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:27: pin your Docker image by updating ghcr.io/ministryofjustice/hmpps-node:24-alpine-runtime to ghcr.io/ministryofjustice/hmpps-node:24-alpine-runtime@sha256:9eb51dd47bba4349062c7563e95cf0f12f5e369dd291fbcaf0dd7f7ae9cd6e35 | Not reported |
Dockerfile:27
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:2: pin your Docker image by updating ghcr.io/ministryofjustice/hmpps-node:24-alpine to ghcr.io/ministryofjustice/hmpps-node:24-alpine@sha256:d92af0dde9d73608c7e1f33b2a5fdb0adf8322b9b7f48382411e1a775e1c07be | Not reported |
Dockerfile:2
|
Highest severity: Medium . Findings: 1.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Medium Development dependency | snyk:lic:npm:axe-core:MPL-2.0 | axe-core@4.13.0 is vulnerable: MPL-2.0 license (via hmpps-digital-prison-reporting-mi-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 | 24-alpine | No | 0 | 2026-11-27T13:05:18.756Z |
| ghcr.io/ministryofjustice/hmpps-node | 24-alpine-runtime | No | 0 | 2026-11-27T13:05:18.756Z |
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.13.0 | Yes | 1 | 2026-11-27T13:05:18.756Z |
Showing 9 of 9 unpinned or vulnerable components.