Betterleaks
12 findings- Critical
- 0
- High
- 12
- 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:57.627Z
High
30
| Security domain | Actual score | Target |
|---|---|---|
| Secrets and credentials | 0 | 100 |
| [BETA] Access control and repository settings | 100 | 100 |
| Vulnerability and patch risk | 84 | 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)Snyk
30 findings across 4 source types.
30 findings across all sources.
| Severity | Check | Details | Fix | Location | Source |
|---|---|---|---|---|---|
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
integration_tests/mockApis/sendLegalMail/link.ts
|
betterleaks |
| High | private-key | Identified a Private Key, which may compromise cryptographic security and sensitive data encryption. | Not reported |
integration_tests/mockApis/sendLegalMail/oneTimeCode.ts
|
betterleaks |
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
integration_tests/mockApis/sendLegalMail/oneTimeCode.ts
|
betterleaks |
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
server/middleware/barcode/barcodeAuthorisationMiddleware.test.ts
|
betterleaks |
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
server/routes/fixtures/mock-hmpps-auth.ts
|
betterleaks |
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
server/routes/fixtures/SuperTestWrapper.ts
|
betterleaks |
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
server/routes/one-time-code-auth/requestOneTimeCode.spec.ts
|
betterleaks |
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
server/routes/one-time-code-auth/verifyOneTimeCode.spec.ts
|
betterleaks |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:43: pin your Docker image by updating ghcr.io/ministryofjustice/hmpps-node:26-alpine-runtime to ghcr.io/ministryofjustice/hmpps-node:26-alpine-runtime@sha256:9796deadbb45ae719d907683afbb4c086867350ad87370de6a505c5d47832a3a | Not reported |
Dockerfile:43
|
scorecard |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:7: pin your Docker image by updating ghcr.io/ministryofjustice/hmpps-node:26-alpine to ghcr.io/ministryofjustice/hmpps-node:26-alpine@sha256:4e02512e0c7484fca14725a7bf8e67458bd9363fbcc1a22a961f244c6e929219 | Not reported |
Dockerfile:7
|
scorecard |
| Medium | Pinned-Dependencies | Warn: npmCommand not pinned by hash: Dockerfile:32 | Not reported |
Dockerfile:32
|
scorecard |
| Medium | DL3018 | Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>` | Not reported |
Dockerfile:50
|
hadolint |
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: maintenance_pages/Dockerfile:1: pin your Docker image by updating nginx:1.31 to nginx:1.31@sha256:6a3df739b6312289e87d70947d900669c1b3087474ece5814b9c01bbf2e6dde3 | Not reported |
maintenance_pages/Dockerfile:1
|
scorecard |
| Medium Development dependency | snyk:lic:npm:axe-core:MPL-2.0 | axe-core@4.14.0 is vulnerable: MPL-2.0 license (via send-legal-mail-to-prisons@0.0.1) | No upgrade or patch reported |
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 package.json@) | No upgrade or patch reported |
smoke_tests/package-lock.json
|
snyk-component-vuln |
Highest severity: High . Findings: 12.
| 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 |
integration_tests/mockApis/sendLegalMail/barcode.ts
|
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
integration_tests/mockApis/sendLegalMail/cjsm.ts
|
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
integration_tests/mockApis/sendLegalMail/contact.ts
|
| High | private-key | Identified a Private Key, which may compromise cryptographic security and sensitive data encryption. | Not reported |
integration_tests/mockApis/sendLegalMail/link.ts
|
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
integration_tests/mockApis/sendLegalMail/link.ts
|
| High | private-key | Identified a Private Key, which may compromise cryptographic security and sensitive data encryption. | Not reported |
integration_tests/mockApis/sendLegalMail/oneTimeCode.ts
|
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
integration_tests/mockApis/sendLegalMail/oneTimeCode.ts
|
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
server/middleware/barcode/barcodeAuthorisationMiddleware.test.ts
|
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
server/routes/fixtures/mock-hmpps-auth.ts
|
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
server/routes/fixtures/SuperTestWrapper.ts
|
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
server/routes/one-time-code-auth/requestOneTimeCode.spec.ts
|
| High | jwt | Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data. | Not reported |
server/routes/one-time-code-auth/verifyOneTimeCode.spec.ts
|
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:50
|
Highest severity: High . Findings: 15.
| 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:13 | Not reported |
.github/workflows/security_codeql_actions_scan.yml:13
|
| 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:12 | Not reported |
.github/workflows/security_npm_dependency.yml:12
|
| 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: jobLevel 'security-events' permission set to 'write': .github/workflows/security_veracode_pipeline_scan.yml:12 | Not reported |
.github/workflows/security_veracode_pipeline_scan.yml:12
|
| 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:12 | Not reported |
.github/workflows/security_veracode_policy_scan.yml:12
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:43: pin your Docker image by updating ghcr.io/ministryofjustice/hmpps-node:26-alpine-runtime to ghcr.io/ministryofjustice/hmpps-node:26-alpine-runtime@sha256:9796deadbb45ae719d907683afbb4c086867350ad87370de6a505c5d47832a3a | Not reported |
Dockerfile:43
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:7: pin your Docker image by updating ghcr.io/ministryofjustice/hmpps-node:26-alpine to ghcr.io/ministryofjustice/hmpps-node:26-alpine@sha256:4e02512e0c7484fca14725a7bf8e67458bd9363fbcc1a22a961f244c6e929219 | Not reported |
Dockerfile:7
|
| Medium | Pinned-Dependencies | Warn: npmCommand not pinned by hash: Dockerfile:32 | Not reported |
Dockerfile:32
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: maintenance_pages/Dockerfile:1: pin your Docker image by updating nginx:1.31 to nginx:1.31@sha256:6a3df739b6312289e87d70947d900669c1b3087474ece5814b9c01bbf2e6dde3 | Not reported |
maintenance_pages/Dockerfile:1
|
Highest severity: Medium . Findings: 2.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| Medium Development dependency | snyk:lic:npm:axe-core:MPL-2.0 | axe-core@4.14.0 is vulnerable: MPL-2.0 license (via send-legal-mail-to-prisons@0.0.1) | No upgrade or patch reported |
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 package.json@) | No upgrade or patch reported |
smoke_tests/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 | 26-alpine | No | 0 | 2026-11-27T13:11:36.310Z |
| ghcr.io/ministryofjustice/hmpps-node | 26-alpine-runtime | No | 0 | 2026-11-27T13:11:36.310Z |
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 | 2 | 2026-11-27T13:11:36.310Z |
Showing 12 of 12 unpinned or vulnerable components.