Betterleaks
3 findings- Critical
- 0
- High
- 3
- Medium
- 0
- Low
- 0
- Info
- 0
Repository assurance
Review security findings, scanner evidence and dependency usage for this repository.
Latest scan: 2026-11-27T13:04:12.873Z
Critical
31
| Security domain | Actual score | Target |
|---|---|---|
| Secrets and credentials | 40 | 100 |
| [BETA] Access control and repository settings | 60 | 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)conftest-renovateSnyk
31 findings across 5 source types.
31 findings across all sources.
| Severity | Check | Details | Fix | Location | Source |
|---|---|---|---|---|---|
| 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 | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
common/middleware/testSupportFiles/mock_jwt_token.json
|
betterleaks |
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
common/middleware/testSupportFiles/user_token.json
|
betterleaks |
| High | generic-api-key | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. | Not reported |
docker-compose.yml
|
betterleaks |
| Medium | Pinned-Dependencies | Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e_test.yml:98 | Not reported |
.github/workflows/e2e_test.yml:98
|
scorecard |
| Medium | Pinned-Dependencies | Warn: third-party GitHubAction not pinned by hash: .github/workflows/e2e_test.yml:71 | Not reported |
.github/workflows/e2e_test.yml:71
|
scorecard |
| Medium | Pinned-Dependencies | Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e_test.yml:63 | Not reported |
.github/workflows/e2e_test.yml:63
|
scorecard |
| Medium | Pinned-Dependencies | Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e_test.yml:46 | Not reported |
.github/workflows/e2e_test.yml:46
|
scorecard |
| Medium | Pinned-Dependencies | Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e_test.yml:36 | Not reported |
.github/workflows/e2e_test.yml:36
|
scorecard |
| Medium | Pinned-Dependencies | Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e_test.yml:33 | Not reported |
.github/workflows/e2e_test.yml:33
|
scorecard |
| 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:1: 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:1
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:27 | Not reported |
Dockerfile:27
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:22 | Not reported |
Dockerfile:22
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:11 | Not reported |
Dockerfile:11
|
scorecard |
Highest severity: High . Findings: 3.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
common/middleware/testSupportFiles/mock_jwt_token.json
|
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
common/middleware/testSupportFiles/user_token.json
|
| High | generic-api-key | Detected a Generic API Key, potentially exposing access to various services and sensitive operations. | Not reported |
docker-compose.yml
|
Highest severity: Critical . Findings: 4.
| 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 property "engine-strict" has value "false", expected "true" | 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: 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: 22.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/deploy_to_env.yml:1 | Not reported |
.github/workflows/deploy_to_env.yml:1
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/e2e_test.yml:1 | Not reported |
.github/workflows/e2e_test.yml:1
|
| High | Token-Permissions | Warn: topLevel 'actions' permission set to 'write': .github/workflows/pipeline_main.yml:11 | Not reported |
.github/workflows/pipeline_main.yml:11
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline_main.yml:10 | Not reported |
.github/workflows/pipeline_main.yml:10
|
| High | Token-Permissions | Warn: topLevel 'actions' permission set to 'write': .github/workflows/pipeline_pr.yml:13 | Not reported |
.github/workflows/pipeline_pr.yml:13
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline_pr.yml:12 | Not reported |
.github/workflows/pipeline_pr.yml:12
|
| 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:11 | Not reported |
.github/workflows/security_snyk_scan.yml:11
|
| 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: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e_test.yml:98 | Not reported |
.github/workflows/e2e_test.yml:98
|
| Medium | Pinned-Dependencies | Warn: third-party GitHubAction not pinned by hash: .github/workflows/e2e_test.yml:71 | Not reported |
.github/workflows/e2e_test.yml:71
|
| Medium | Pinned-Dependencies | Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e_test.yml:63 | Not reported |
.github/workflows/e2e_test.yml:63
|
| Medium | Pinned-Dependencies | Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e_test.yml:46 | Not reported |
.github/workflows/e2e_test.yml:46
|
Highest severity: Medium . Findings: 1.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Medium Development dependency | snyk:lic:npm:envfile:Artistic-2.0 | envfile@7.1.0 is vulnerable: Artistic-2.0 license (via risk-assessment-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:03:46.664Z |
| ghcr.io/ministryofjustice/hmpps-node | 24-alpine-runtime | No | 0 | 2026-11-27T13:03:46.664Z |
Showing 7 of 7 unpinned or vulnerable components.
| Component | Version | Pinned | Vulnerabilities | Last seen |
|---|---|---|---|---|
| actions/cache/restore | v5 | No | 1 | 2026-11-27T13:03:46.664Z |
| actions/checkout | v6 | No | 1 | 2026-11-27T13:03:46.664Z |
| actions/download-artifact | v7 | No | 1 | 2026-11-27T13:03:46.664Z |
| actions/setup-node | v6 | No | 1 | 2026-11-27T13:03:46.664Z |
| actions/upload-artifact | v6 | No | 1 | 2026-11-27T13:03:46.664Z |
| cypress-io/github-action | v6.10.8 | No | 1 | 2026-11-27T13:03:46.664Z |
| ministryofjustice/hmpps-assess-risks-and-needs-github-actions/.github/actions/cypress/create_timings_file | v1 | No | 0 | 2026-11-27T13:03:46.664Z |
No unpinned or vulnerable helm chart components were found.
Showing 1 of 1 unpinned or vulnerable component.
| Component | Version | Pinned | Vulnerabilities | Last seen |
|---|---|---|---|---|
| envfile | 7.1.0 | Yes | 1 | 2026-11-27T13:03:46.664Z |
Showing 15 of 17 unpinned or vulnerable components.