Betterleaks
2 findings- Critical
- 0
- High
- 2
- 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:28.774Z
Critical
39
| Security domain | Actual score | Target |
|---|---|---|
| Secrets and credentials | 60 | 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 | 100 | 100 |
| Supply chain and repository health | 0 | 100 |
Last 30 days · daily
CriticalHighMediumLowInfo
Last 30 days · daily
ConftestHadolintScorecardBetterleaksConftest (.npmrc)Conftest (Docker)Snyk
39 findings across 4 source types.
39 findings across all sources.
| Severity | Check | Details | Fix | Location | Source |
|---|---|---|---|---|---|
| Medium | Pinned-Dependencies | Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e_test.yml:66 | Not reported |
.github/workflows/e2e_test.yml:66
|
scorecard |
| Medium | Pinned-Dependencies | Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e_test.yml:56 | Not reported |
.github/workflows/e2e_test.yml:56
|
scorecard |
| Medium | Pinned-Dependencies | Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e_test.yml:53 | Not reported |
.github/workflows/e2e_test.yml:53
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:30: 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:30
|
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:27 | Not reported |
Dockerfile:27
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:20 | Not reported |
Dockerfile:20
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:11 | Not reported |
Dockerfile:11
|
scorecard |
| Medium Development dependency | snyk:lic:npm:axe-core:MPL-2.0 | axe-core@4.10.3 is vulnerable: MPL-2.0 license (via hmpps-strengths-based-needs-assessments-ui@0.0.1) | No upgrade or patch reported |
package-lock.json
|
snyk-component-vuln |
Highest severity: High . Findings: 2.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | generic-credential-uri | Detected a password embedded in a service connection URI, which may expose direct access to the referenced service. | Not reported |
cypress.config.ts
|
| High | generic-api-key | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. | Not reported |
docker-compose.yml
|
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: High . Findings: 31.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/deploy_to_env.yml:1 | Not reported |
.github/workflows/deploy_to_env.yml:1
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/e2e_test.yml:1 | Not reported |
.github/workflows/e2e_test.yml:1
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/ephemeral_cleanup.yaml:1 | Not reported |
.github/workflows/ephemeral_cleanup.yaml:1
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/ephemeral_deployment.yaml:1 | Not reported |
.github/workflows/ephemeral_deployment.yaml:1
|
| High | Token-Permissions | Warn: topLevel 'actions' 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 'actions' permission set to 'write': .github/workflows/pipeline_pr.yml:14 | Not reported |
.github/workflows/pipeline_pr.yml:14
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline_pr.yml:13 | Not reported |
.github/workflows/pipeline_pr.yml:13
|
| High | Token-Permissions | Warn: topLevel 'checks' permission set to 'write': .github/workflows/pipeline_production.yml:11 | Not reported |
.github/workflows/pipeline_production.yml:11
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline_production.yml:10 | Not reported |
.github/workflows/pipeline_production.yml:10
|
| High | Token-Permissions | Warn: topLevel 'actions' permission set to 'write': .github/workflows/pipeline_production.yml:13 | Not reported |
.github/workflows/pipeline_production.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: 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:13 | Not reported |
.github/workflows/security_snyk_scan.yml:13
|
| 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
|
Highest severity: Critical . Findings: 2.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Critical Development dependency | SNYK-JS-ESBUILD-17750822 | esbuild@0.25.4 is vulnerable: Resources Downloaded over Insecure Protocol (via hmpps-strengths-based-needs-assessments-ui@0.0.1) | Upgrade available; Fixed in: 0.28.1 |
package-lock.json
|
| Medium Development dependency | snyk:lic:npm:axe-core:MPL-2.0 | axe-core@4.10.3 is vulnerable: MPL-2.0 license (via hmpps-strengths-based-needs-assessments-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:10.953Z |
| ghcr.io/ministryofjustice/hmpps-node | 24-alpine-runtime | No | 0 | 2026-11-27T13:05:10.953Z |
Showing 10 of 10 unpinned or vulnerable components.
| Component | Version | Pinned | Vulnerabilities | Last seen |
|---|---|---|---|---|
| actions/cache/restore | v6 | No | 1 | 2026-11-27T13:05:10.953Z |
| actions/checkout | v7 | No | 2 | 2026-11-27T13:05:10.953Z |
| actions/checkout | v7 | No | 2 | 2026-11-27T13:05:10.953Z |
| actions/download-artifact | v4 | No | 2 | 2026-11-27T13:05:10.953Z |
| actions/download-artifact | v4 | No | 2 | 2026-11-27T13:05:10.953Z |
| actions/setup-node | v7 | No | 1 | 2026-11-27T13:05:10.953Z |
| actions/upload-artifact | v4 | No | 2 | 2026-11-27T13:05:10.953Z |
| actions/upload-artifact | v4 | No | 2 | 2026-11-27T13:05:10.953Z |
| cypress-io/github-action | v7.4.4 | No | 1 | 2026-11-27T13:05:10.953Z |
| ministryofjustice/hmpps-assess-risks-and-needs-github-actions/.github/actions/cypress/create_timings_file | v1 | No | 0 | 2026-11-27T13:05:10.953Z |
No unpinned or vulnerable helm chart components were found.
Showing 3 of 3 unpinned or vulnerable components.
| Component | Version | Pinned | Vulnerabilities | Last seen |
|---|---|---|---|---|
| axe-core | 4.10.3 | Yes | 1 | 2026-11-27T13:05:10.953Z |
| esbuild | 0.28.2 | Yes | 1 | 2026-11-27T13:05:10.953Z |
| esbuild | 0.25.4 | Yes | 1 | 2026-11-27T13:05:10.953Z |
Showing 15 of 25 unpinned or vulnerable components.