Betterleaks
1 findings- Critical
- 0
- High
- 1
- Medium
- 0
- Low
- 0
- Info
- 0
Repository assurance
Review security findings, scanner evidence and dependency usage for this repository.
Latest scan: 2026-11-27T13:07:03.123Z
Critical
14
| Security domain | Actual score | Target |
|---|---|---|
| Secrets and credentials | 80 | 100 |
| [BETA] Access control and repository settings | 60 | 100 |
| Vulnerability and patch risk | 44 | 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)conftest-renovateSnyk
14 findings across 5 source types.
14 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 property "ignore-scripts" has value "true", expected "false" | Not reported | Location not reported | conftest-npmrc |
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline.yml:13 | Not reported |
.github/workflows/pipeline.yml:13
|
scorecard |
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/security-scans.yml:1 | Not reported |
.github/workflows/security-scans.yml:1
|
scorecard |
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:15 | Not reported |
.github/workflows/security-scans.yml:15
|
scorecard |
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:67 | Not reported |
.github/workflows/security-scans.yml:67
|
scorecard |
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:56 | Not reported |
.github/workflows/security-scans.yml:56
|
scorecard |
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:45 | Not reported |
.github/workflows/security-scans.yml:45
|
scorecard |
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:34 | Not reported |
.github/workflows/security-scans.yml:34
|
scorecard |
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose.yml
|
betterleaks |
| 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: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
|
scorecard |
| Medium Runtime dependency | SNYK-JS-MARKDOWN-597156 | markdown@0.5.0 is vulnerable: Regular Expression Denial of Service (ReDoS) (via hmpps-submit-ims-report@0.1.5) | No upgrade or patch reported |
package-lock.json
|
snyk-component-vuln |
| Medium Runtime dependency | SNYK-JS-MARKDOWN-560793 | markdown@0.5.0 is vulnerable: Regular Expression Denial of Service (ReDoS) (via hmpps-submit-ims-report@0.1.5) | No upgrade or patch reported |
package-lock.json
|
snyk-component-vuln |
Highest severity: High . Findings: 1.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose.yml
|
Highest severity: Critical . Findings: 1.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Critical | conftest-npmrc | root .npmrc property "ignore-scripts" has value "true", expected "false" | 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: High . Findings: 9.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline.yml:13 | Not reported |
.github/workflows/pipeline.yml:13
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/security-scans.yml:1 | Not reported |
.github/workflows/security-scans.yml:1
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:15 | Not reported |
.github/workflows/security-scans.yml:15
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:67 | Not reported |
.github/workflows/security-scans.yml:67
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:56 | Not reported |
.github/workflows/security-scans.yml:56
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:45 | Not reported |
.github/workflows/security-scans.yml:45
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:34 | Not reported |
.github/workflows/security-scans.yml:34
|
| 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: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: 2.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Medium Runtime dependency | SNYK-JS-MARKDOWN-597156 | markdown@0.5.0 is vulnerable: Regular Expression Denial of Service (ReDoS) (via hmpps-submit-ims-report@0.1.5) | No upgrade or patch reported |
package-lock.json
|
| Medium Runtime dependency | SNYK-JS-MARKDOWN-560793 | markdown@0.5.0 is vulnerable: Regular Expression Denial of Service (ReDoS) (via hmpps-submit-ims-report@0.1.5) | 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:44.980Z |
| ghcr.io/ministryofjustice/hmpps-node | 24-alpine-runtime | No | 0 | 2026-11-27T13:06:44.980Z |
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 |
|---|---|---|---|---|
| markdown | 0.5.0 | Yes | 2 | 2026-11-27T13:06:44.980Z |
Showing 11 of 11 unpinned or vulnerable components.