Betterleaks
5 findings- Critical
- 0
- High
- 5
- Medium
- 0
- Low
- 0
- Info
- 0
Repository assurance
Review security findings, scanner evidence and dependency usage for this repository.
Latest scan: 2026-11-27T13:12:31.492Z
Critical
40
| Security domain | Actual score | Target |
|---|---|---|
| Secrets and credentials | 0 | 100 |
| [BETA] Access control and repository settings | 60 | 100 |
| Vulnerability and patch risk | 24 | 100 |
| [BETA] Network and workload exposure BETA | 100 | 100 |
| Container and image security | 84 | 100 |
| Supply chain and repository health | 0 | 100 |
Last 30 days · daily
CriticalHighMediumLowInfo
Last 30 days · daily
ConftestHadolintScorecardBetterleaksConftest (.npmrc)Conftest (Docker)conftest-renovateSnyk
40 findings across 6 source types.
40 findings across all sources.
| Severity | Check | Details | Fix | Location | Source |
|---|---|---|---|---|---|
| Critical | conftest-renovate | Renovate configuration is missing | Not reported | Location not reported | conftest-renovate |
| Critical | conftest-npmrc | root .npmrc is missing | Not reported | Location not reported | conftest-npmrc |
| High | Token-Permissions | Warn: jobLevel 'packages' permission set to 'write': .github/workflows/pipeline.yml:67 | Not reported |
.github/workflows/pipeline.yml:67
|
scorecard |
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/run-regression-tests.yml:1 | Not reported |
.github/workflows/run-regression-tests.yml:1
|
scorecard |
| 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
|
scorecard |
| 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
|
scorecard |
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/security_codeql_scan.yml:1 | Not reported |
.github/workflows/security_codeql_scan.yml:1
|
scorecard |
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security_codeql_scan.yml:13 | Not reported |
.github/workflows/security_codeql_scan.yml:13
|
scorecard |
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/security_npm_dependency.yml:1 | Not reported |
.github/workflows/security_npm_dependency.yml:1
|
scorecard |
| 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
|
scorecard |
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/security_snyk_scan.yml:1 | Not reported |
.github/workflows/security_snyk_scan.yml:1
|
scorecard |
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security_snyk_scan.yml:13 | Not reported |
.github/workflows/security_snyk_scan.yml:13
|
scorecard |
| 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
|
scorecard |
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security_veracode_pipeline_scan.yml:12 | Not reported |
.github/workflows/security_veracode_pipeline_scan.yml:12
|
scorecard |
| 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
|
scorecard |
Highest severity: High . Findings: 5.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
compose/court-case-service.yml
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
compose/user-preferences.yml
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose-full.yml
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
helm_deploy/prepare-a-case/values.yaml
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
README.md
|
Highest severity: Critical . Findings: 1.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Critical | conftest-npmrc | root .npmrc is missing | Not reported | Location not reported |
Highest severity: Critical . Findings: 1.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Critical | conftest-renovate | Renovate configuration is missing | Not reported | Location not reported |
Highest severity: Medium . Findings: 2.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Medium | DL3016 | Pin versions in npm. Instead of `npm install <package>` use `npm install <package>@<version>` | Not reported |
Dockerfile:52
|
| Medium | DL3018 | Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>` | Not reported |
Dockerfile:22
|
Highest severity: High . Findings: 28.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Medium | Pinned-Dependencies | Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-regression-tests.yml:62 | Not reported |
.github/workflows/run-regression-tests.yml:62
|
| Medium | Pinned-Dependencies | Warn: third-party GitHubAction not pinned by hash: .github/workflows/run-regression-tests.yml:45 | Not reported |
.github/workflows/run-regression-tests.yml:45
|
| Medium | Pinned-Dependencies | Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-regression-tests.yml:37 | Not reported |
.github/workflows/run-regression-tests.yml:37
|
| Medium | Pinned-Dependencies | Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-regression-tests.yml:31 | Not reported |
.github/workflows/run-regression-tests.yml:31
|
| Medium | Pinned-Dependencies | Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run-regression-tests.yml:25 | Not reported |
.github/workflows/run-regression-tests.yml:25
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:68: 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:68
|
| 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
|
| Medium | Pinned-Dependencies | Warn: npmCommand not pinned by hash: Dockerfile:52 | Not reported |
Dockerfile:52
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:48 | Not reported |
Dockerfile:48
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:34 | Not reported |
Dockerfile:34
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:20 | Not reported |
Dockerfile:20
|
| Medium | Pinned-Dependencies | Warn: npmCommand not pinned by hash: hmpps-user-preferences/Dockerfile:11 | Not reported |
hmpps-user-preferences/Dockerfile:11
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: hmpps-user-preferences/Dockerfile:1: pin your Docker image by updating node:20.10-slim to node:20.10-slim@sha256:5c714c3e90f66a2cbfa266b90a4d7adcd63453cd730aa2d13cba84b260bea2e6 | Not reported |
hmpps-user-preferences/Dockerfile:1
|
Highest severity: High . Findings: 3.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | SNYK-JS-MOMENT-19821607 | moment@2.30.1 is vulnerable: Directory Traversal (via package.json@) | Upgrade available; Fixed in: 2.31.0 |
integration-tests/package-lock.json
|
| Medium | snyk:lic:npm:axe-core:MPL-2.0 | axe-core@4.11.1 is vulnerable: MPL-2.0 license (via package.json@) | No upgrade or patch reported |
integration-tests/package-lock.json
|
| Medium Development dependency | snyk:lic:npm:axe-core:MPL-2.0 | axe-core@4.14.0 is vulnerable: MPL-2.0 license (via prepare-a-case@1.0.0) | 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:12:04.477Z |
| ghcr.io/ministryofjustice/hmpps-node | 24-alpine-runtime | No | 0 | 2026-11-27T13:12:04.477Z |
Showing 5 of 5 unpinned or vulnerable components.
| Component | Version | Pinned | Vulnerabilities | Last seen |
|---|---|---|---|---|
| actions/cache | v4 | No | 1 | 2026-11-27T13:12:04.477Z |
| actions/checkout | v4 | No | 1 | 2026-11-27T13:12:04.477Z |
| actions/setup-java | v4 | No | 1 | 2026-11-27T13:12:04.477Z |
| actions/upload-artifact | v4 | No | 1 | 2026-11-27T13:12:04.477Z |
| browser-actions/setup-chrome | v1 | No | 1 | 2026-11-27T13:12:04.477Z |
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:12:04.477Z |
Showing 14 of 14 unpinned or vulnerable components.