Betterleaks
5 findings- Critical
- 0
- High
- 5
- 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:56.109Z
Critical
23
| 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
23 findings across 6 source types.
23 findings across all sources.
| Severity | Check | Details | Fix | Location | Source |
|---|---|---|---|---|---|
| Critical | conftest-renovate | Renovate configuration is missing | 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_codeql_actions_scan.yml:1 | Not reported |
.github/workflows/security_codeql_actions_scan.yml:1
|
scorecard |
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security_codeql_actions_scan.yml:11 | Not reported |
.github/workflows/security_codeql_actions_scan.yml:11
|
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 |
docker-compose-test.yml
|
betterleaks |
Highest severity: High . Findings: 5.
| 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 |
docker-compose-test.yml
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose.yml
|
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
test/middleware/authorisationMiddleware.test.js
|
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
test/utils/routes.test.js
|
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 is missing | 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:22
|
Highest severity: High . Findings: 13.
| 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_codeql_actions_scan.yml:1 | Not reported |
.github/workflows/security_codeql_actions_scan.yml:1
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security_codeql_actions_scan.yml:11 | Not reported |
.github/workflows/security_codeql_actions_scan.yml:11
|
| 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: 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 Development dependency | SNYK-JS-ESLINT-15102420 | eslint@8.56.0 is vulnerable: Uncontrolled Recursion (via offender-categorisation@0.0.1) | Upgrade available; Fixed in: 9.26.0 |
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:35.091Z |
| ghcr.io/ministryofjustice/hmpps-node | 24-alpine-runtime | No | 0 | 2026-11-27T13:11:35.091Z |
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 |
|---|---|---|---|---|
| eslint | 8.56.0 | Yes | 1 | 2026-11-27T13:11:35.091Z |
Showing 10 of 10 unpinned or vulnerable components.