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:08:23.631Z
Critical
54
| 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
54 findings across 5 source types.
54 findings across all sources.
| Severity | Check | Details | Fix | Location | Source |
|---|---|---|---|---|---|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:26: 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:26
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:1: 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:1
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:21 | Not reported |
Dockerfile:21
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:15 | Not reported |
Dockerfile:15
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:9 | Not reported |
Dockerfile:9
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:5 | Not reported |
Dockerfile:5
|
scorecard |
| Medium | DL3018 | Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>` | Not reported |
Dockerfile:30
|
hadolint |
| Medium Runtime dependency | SNYK-JS-HIGHLIGHTJS-22744612 | highlight.js@11.12.0 is vulnerable: Regular Expression Denial of Service (ReDoS) (via hmpps-arns-assessment-platform-ui@0.0.1) | No upgrade or patch reported |
package-lock.json
|
snyk-component-vuln |
| Medium Development dependency | snyk:lic:npm:axe-core:playwright:MPL-2.0 | @axe-core/playwright@4.14.0 is vulnerable: MPL-2.0 license (via hmpps-arns-assessment-platform-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-api-key | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. | Not reported |
docker/docker-compose.base.yml
|
| High | generic-credential-uri | Detected a password embedded in a service connection URI, which may expose direct access to the referenced service. | Not reported |
docker/docker-compose.test.yml
|
| High | generic-credential-uri | Detected a password embedded in a service connection URI, which may expose direct access to the referenced service. | Not reported |
playwright.config.ts
|
Highest severity: Critical . Findings: 4.
| 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 property "engine-strict" has value "false", expected "true" | 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:30
|
Highest severity: High . Findings: 44.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | Token-Permissions | Warn: topLevel 'checks' permission set to 'write': .github/workflows/component_test.yml:8 | Not reported |
.github/workflows/component_test.yml:8
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/deploy_to_env.yml:5 | Not reported |
.github/workflows/deploy_to_env.yml:5
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/docker_build_multiplatform.yml:21 | Not reported |
.github/workflows/docker_build_multiplatform.yml:21
|
| High | Token-Permissions | Warn: topLevel 'checks' permission set to 'write': .github/workflows/e2e_test.yml:22 | Not reported |
.github/workflows/e2e_test.yml:22
|
| High | Token-Permissions | Warn: topLevel 'checks' permission set to 'write': .github/workflows/pipeline_main.yml:11 | Not reported |
.github/workflows/pipeline_main.yml:11
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline_main.yml:10 | Not reported |
.github/workflows/pipeline_main.yml:10
|
| High | Token-Permissions | Warn: topLevel 'checks' permission set to 'write': .github/workflows/pipeline_pr.yml:9 | Not reported |
.github/workflows/pipeline_pr.yml:9
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline_pr.yml:8 | Not reported |
.github/workflows/pipeline_pr.yml:8
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline_release.yml:9 | Not reported |
.github/workflows/pipeline_release.yml:9
|
| High | Token-Permissions | Warn: topLevel 'checks' permission set to 'write': .github/workflows/pipeline_release.yml:10 | Not reported |
.github/workflows/pipeline_release.yml:10
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/security_codeql_actions_scan.yml:1 | Not reported |
.github/workflows/security_codeql_actions_scan.yml:1
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security_codeql_actions_scan.yml:13 | Not reported |
.github/workflows/security_codeql_actions_scan.yml:13
|
| 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:12 | Not reported |
.github/workflows/security_npm_dependency.yml:12
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/security_snyk_scan.yml:1 | Not reported |
.github/workflows/security_snyk_scan.yml:1
|
Highest severity: Medium . Findings: 2.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Medium Runtime dependency | SNYK-JS-HIGHLIGHTJS-22744612 | highlight.js@11.12.0 is vulnerable: Regular Expression Denial of Service (ReDoS) (via hmpps-arns-assessment-platform-ui@0.0.1) | No upgrade or patch reported |
package-lock.json
|
| Medium Development dependency | snyk:lic:npm:axe-core:playwright:MPL-2.0 | @axe-core/playwright@4.14.0 is vulnerable: MPL-2.0 license (via hmpps-arns-assessment-platform-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:08:06.286Z |
| ghcr.io/ministryofjustice/hmpps-node | 24-alpine-runtime | No | 0 | 2026-11-27T13:08:06.286Z |
Showing 10 of 10 unpinned or vulnerable components.
| Component | Version | Pinned | Vulnerabilities | Last seen |
|---|---|---|---|---|
| actions/cache | v6 | No | 1 | 2026-11-27T13:08:06.286Z |
| actions/checkout | v7 | No | 2 | 2026-11-27T13:08:06.286Z |
| actions/checkout | v6 | No | 2 | 2026-11-27T13:08:06.286Z |
| actions/create-github-app-token | v3 | No | 1 | 2026-11-27T13:08:06.286Z |
| actions/download-artifact | v8 | No | 1 | 2026-11-27T13:08:06.286Z |
| actions/github-script | v9 | No | 1 | 2026-11-27T13:08:06.286Z |
| actions/setup-node | v7 | No | 1 | 2026-11-27T13:08:06.286Z |
| actions/upload-artifact | v7 | No | 2 | 2026-11-27T13:08:06.286Z |
| actions/upload-artifact | v7 | No | 2 | 2026-11-27T13:08:06.286Z |
| slackapi/slack-github-action | v4.0.0 | No | 1 | 2026-11-27T13:08:06.286Z |
No unpinned or vulnerable helm chart components were found.
Showing 2 of 2 unpinned or vulnerable components.
| Component | Version | Pinned | Vulnerabilities | Last seen |
|---|---|---|---|---|
| @axe-core/playwright | 4.14.0 | Yes | 1 | 2026-11-27T13:08:06.286Z |
| highlight.js | 11.12.0 | Yes | 1 | 2026-11-27T13:08:06.286Z |
Showing 15 of 23 unpinned or vulnerable components.