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:06:24.819Z
Critical
18
| 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
18 findings across 4 source types.
18 findings across all sources.
| Severity | Check | Details | Fix | Location | Source |
|---|---|---|---|---|---|
| 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
|
scorecard |
| Medium | SNYK-JS-ESLINT-15102420 | eslint@8.57.1 is vulnerable: Uncontrolled Recursion (via oauth2-mock-server@7.2.1) | Upgrade available; Fixed in: 9.26.0 |
oauth2-mock-server/package-lock.json
|
snyk-component-vuln |
| Medium Development dependency | snyk:lic:npm:axe-core:MPL-2.0 | axe-core@4.14.0 is vulnerable: MPL-2.0 license (via hmpps-dpr-tools-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 | private-key | Identified a Private Key, which may compromise cryptographic security and sensitive data encryption. | Not reported |
oauth2-mock-server/test/keys/localhost-key.pem
|
| High | generic-api-key | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. | Not reported |
oauth2-mock-server/test/oauth2-service.test.ts
|
Highest severity: Critical . Findings: 3.
| 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 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: 11.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/bump-version.yml:1 | Not reported |
.github/workflows/bump-version.yml:1
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline.yml:18 | Not reported |
.github/workflows/pipeline.yml:18
|
| High | Token-Permissions | Warn: topLevel 'contents' permission set to 'write': .github/workflows/pipeline.yml:17 | Not reported |
.github/workflows/pipeline.yml:17
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/pull-request.yml:1 | Not reported |
.github/workflows/pull-request.yml:1
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/schedule.yml:1 | Not reported |
.github/workflows/schedule.yml:1
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/schedule.yml:62 | Not reported |
.github/workflows/schedule.yml:62
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/schedule.yml:48 | Not reported |
.github/workflows/schedule.yml:48
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/schedule.yml:34 | Not reported |
.github/workflows/schedule.yml:34
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/schedule.yml:78 | Not reported |
.github/workflows/schedule.yml:78
|
| 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
|
| 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
|
Highest severity: Medium . Findings: 2.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Medium | SNYK-JS-ESLINT-15102420 | eslint@8.57.1 is vulnerable: Uncontrolled Recursion (via oauth2-mock-server@7.2.1) | Upgrade available; Fixed in: 9.26.0 |
oauth2-mock-server/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 hmpps-dpr-tools-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:06:05.334Z |
| ghcr.io/ministryofjustice/hmpps-node | 24-alpine-runtime | No | 0 | 2026-11-27T13:06:05.334Z |
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:05.334Z |
Showing 8 of 8 unpinned or vulnerable components.