Betterleaks
4 findings- Critical
- 0
- High
- 4
- Medium
- 0
- Low
- 0
- Info
- 0
Repository assurance
Review security findings, scanner evidence and dependency usage for this repository.
Latest scan: 2026-11-27T13:06:40.187Z
Critical
17
| Security domain | Actual score | Target |
|---|---|---|
| Secrets and credentials | 20 | 100 |
| [BETA] Access control and repository settings | 100 | 100 |
| Vulnerability and patch risk | 52 | 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
17 findings across 4 source types.
17 findings across all sources.
| Severity | Check | Details | Fix | Location | Source |
|---|---|---|---|---|---|
| Critical | conftest-npmrc | root .npmrc property "min-release-age" has value "5", expected "7" | Not reported | Location not reported | conftest-npmrc |
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/integration_tests.yml:1 | Not reported |
.github/workflows/integration_tests.yml:1
|
scorecard |
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline.yml:22 | Not reported |
.github/workflows/pipeline.yml:22
|
scorecard |
| High | Token-Permissions | Warn: topLevel 'actions' permission set to 'write': .github/workflows/pipeline.yml:23 | Not reported |
.github/workflows/pipeline.yml:23
|
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: 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: no topLevel permission defined: .github/workflows/security_veracode_policy_scan.yml:1 | Not reported |
.github/workflows/security_veracode_policy_scan.yml:1
|
scorecard |
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose.yml
|
betterleaks |
| High | generic-api-key | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. | Not reported |
server/controllers/changeLocationCode/details.test.ts
|
betterleaks |
| High | generic-api-key | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. | Not reported |
server/controllers/removeCellType/confirm.test.ts
|
betterleaks |
| High | generic-api-key | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. | Not reported |
server/services/locationsService.test.ts
|
betterleaks |
| Medium | Pinned-Dependencies | Warn: npmCommand not pinned by hash: .github/workflows/integration_tests.yml:70 | Not reported |
.github/workflows/integration_tests.yml:70
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:29: 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:29
|
scorecard |
Highest severity: High . Findings: 4.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose.yml
|
| High | generic-api-key | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. | Not reported |
server/controllers/changeLocationCode/details.test.ts
|
| High | generic-api-key | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. | Not reported |
server/controllers/removeCellType/confirm.test.ts
|
| High | generic-api-key | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. | Not reported |
server/services/locationsService.test.ts
|
Highest severity: Critical . Findings: 1.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Critical | conftest-npmrc | root .npmrc property "min-release-age" has value "5", expected "7" | Not reported | Location not reported |
Highest severity: High . Findings: 11.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/integration_tests.yml:1 | Not reported |
.github/workflows/integration_tests.yml:1
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline.yml:22 | Not reported |
.github/workflows/pipeline.yml:22
|
| High | Token-Permissions | Warn: topLevel 'actions' permission set to 'write': .github/workflows/pipeline.yml:23 | Not reported |
.github/workflows/pipeline.yml:23
|
| 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
|
| 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
|
| Medium | Pinned-Dependencies | Warn: npmCommand not pinned by hash: .github/workflows/integration_tests.yml:70 | Not reported |
.github/workflows/integration_tests.yml:70
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:29: 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:29
|
| 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
|
Highest severity: Medium . Findings: 1.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Medium Runtime dependency | snyk:lic:npm:axe-core:MPL-2.0 | axe-core@4.14.0 is vulnerable: MPL-2.0 license (via hmpps-locations-inside-prison@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:06:16.896Z |
| ghcr.io/ministryofjustice/hmpps-node | 24-alpine-runtime | No | 0 | 2026-11-27T13:06:16.896Z |
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.14.0 | Yes | 1 | 2026-11-27T13:06:16.896Z |
Showing 13 of 13 unpinned or vulnerable components.