Betterleaks
8 findings- Critical
- 0
- High
- 8
- Medium
- 0
- Low
- 0
- Info
- 0
Repository assurance
Review security findings, scanner evidence and dependency usage for this repository.
Latest scan: 2026-11-27T13:11:34.917Z
Critical
25
| Security domain | Actual score | Target |
|---|---|---|
| Secrets and credentials | 0 | 100 |
| [BETA] Access control and repository settings | 60 | 100 |
| Vulnerability and patch risk | 12 | 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
25 findings across 6 source types.
25 findings across all sources.
| Severity | Check | Details | Fix | Location | Source |
|---|---|---|---|---|---|
| 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 | conftest-renovate |
| Critical | conftest-npmrc | root .npmrc is missing "min-release-age" (expected "7") | Not reported | Location not reported | conftest-npmrc |
| Critical | conftest-npmrc | root .npmrc is missing "allow-git" (expected "none") | Not reported | Location not reported | conftest-npmrc |
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
.github/workflows/cypress_integration_tests.yml
|
betterleaks |
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline.yml:20 | Not reported |
.github/workflows/pipeline.yml:20
|
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:11 | Not reported |
.github/workflows/security_npm_dependency.yml:11
|
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: 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:11 | Not reported |
.github/workflows/security_veracode_pipeline_scan.yml:11
|
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 |
| 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
|
scorecard |
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
bin/seed-local-db.sh
|
betterleaks |
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose-dev.yml
|
betterleaks |
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose-elastic.yml
|
betterleaks |
Highest severity: High . Findings: 8.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
.github/workflows/cypress_integration_tests.yml
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
bin/seed-local-db.sh
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose-dev.yml
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose-elastic.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 |
docker-compose-minimal.yml
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose-test.yml
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
server/views/pages/groups/newUserReqs.njk
|
Highest severity: Critical . Findings: 2.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| 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: 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:44
|
Highest severity: High . Findings: 12.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline.yml:20 | Not reported |
.github/workflows/pipeline.yml:20
|
| 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: 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: database_backups/docker/Dockerfile:2: pin your Docker image by updating amazon/aws-cli:latest to amazon/aws-cli:latest@sha256:4a1a668837d5f97ced202e03827da1bc0b48cda946be89909cd7a02023f62921 | Not reported |
database_backups/docker/Dockerfile:2
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:49: 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:49
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:7: 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:7
|
| Medium | Pinned-Dependencies | Warn: npmCommand not pinned by hash: Dockerfile:20 | Not reported |
Dockerfile:20
|
Highest severity: Medium . Findings: 1.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Medium Runtime and development dependency | snyk:lic:npm:axe-core:MPL-2.0 | axe-core@4.10.0 is vulnerable: MPL-2.0 license (via pathfinder@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:11:16.578Z |
| ghcr.io/ministryofjustice/hmpps-node | 24-alpine-runtime | No | 0 | 2026-11-27T13:11:16.578Z |
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.10.0 | Yes | 1 | 2026-11-27T13:11:16.578Z |
Showing 9 of 9 unpinned or vulnerable components.