Betterleaks
23 findings- Critical
- 0
- High
- 23
- Medium
- 0
- Low
- 0
- Info
- 0
Repository assurance
Review security findings, scanner evidence and dependency usage for this repository.
Latest scan: 2026-11-27T13:12:40.640Z
Critical
46
| Security domain | Actual score | Target |
|---|---|---|
| Secrets and credentials | 0 | 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
46 findings across 4 source types.
46 findings across all sources.
| Severity | Check | Details | Fix | Location | Source |
|---|---|---|---|---|---|
| Medium Development dependency | SNYK-JS-ESLINT-15102420 | eslint@8.57.1 is vulnerable: Uncontrolled Recursion (via manage-intelligence@2.6.2) | Upgrade available; Fixed in: 9.26.0 |
package-lock.json
|
snyk-component-vuln |
Highest severity: High . Findings: 23.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
.circleci/config.yml
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose.testsuite.override.yml
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose.yml
|
| High | uk-sort-code | UK bank sort code | Not reported |
integration_tests/integration/createFinancialAccount/createFinancialAccount.feature
|
| High | uk-sort-code | UK bank sort code | Not reported |
integration_tests/integration/reports/viewStatusHistoryPermission.feature
|
| High | uk-sort-code | UK bank sort code | Not reported |
integration_tests/mockApis/fixtures/financial/defaultFinancialAccount.ts
|
| High | uk-bank-account | UK bank account details | Not reported |
integration_tests/mockApis/fixtures/financial/defaultFinancialAccount.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/authorisationMiddleware.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/middleware/urlPermissionsMiddleware.test.ts
|
| High | uk-bank-account | UK bank account details | Not reported |
server/routes/dissemination.test.ts
|
| High | uk-bank-account | UK bank account details | Not reported |
server/routes/financial.test.ts
|
| High | uk-bank-account | UK bank account details | Not reported |
server/routes/financialProfile.test.ts
|
| High | uk-sort-code | UK bank sort code | Not reported |
server/routes/posts/FindFinancialAccountForm.test.ts
|
| High | uk-bank-account | UK bank account details | Not reported |
server/routes/posts/FindFinancialAccountForm.test.ts
|
| High | uk-sort-code | UK bank sort code | Not reported |
server/routes/report.test.ts
|
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 # to fix in IMSV2-6503", 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: High . Findings: 17.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/build-pipeline.yml:13 | Not reported |
.github/workflows/build-pipeline.yml:13
|
| High | Token-Permissions | Warn: topLevel 'contents' permission set to 'write': .github/workflows/build-pipeline.yml:12 | Not reported |
.github/workflows/build-pipeline.yml:12
|
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/cancel-outdated-workflows.yml:1 | Not reported |
.github/workflows/cancel-outdated-workflows.yml:1
|
| High | Token-Permissions | Warn: jobLevel 'actions' permission set to 'write': .github/workflows/cancel-outdated-workflows.yml:10 | Not reported |
.github/workflows/cancel-outdated-workflows.yml:10
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/hotfix-pipeline.yml:14 | Not reported |
.github/workflows/hotfix-pipeline.yml:14
|
| 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:66 | Not reported |
.github/workflows/security-scans.yml:66
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:55 | Not reported |
.github/workflows/security-scans.yml:55
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:44 | Not reported |
.github/workflows/security-scans.yml:44
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:33 | Not reported |
.github/workflows/security-scans.yml:33
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:14 | Not reported |
.github/workflows/security-scans.yml:14
|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/verify_and_build.yml:62 | Not reported |
.github/workflows/verify_and_build.yml:62
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:36: 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:36
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:5: 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:5
|
| Medium | Pinned-Dependencies | Warn: npmCommand not pinned by hash: Dockerfile:20 | Not reported |
Dockerfile:20
|
Highest severity: High . Findings: 2.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High Runtime dependency | SNYK-JS-MULTER-21431602 | multer@2.4.0 is vulnerable: Uncaught Exception (via manage-intelligence@2.6.2) | Upgrade available; Fixed in: 2.5.0 |
package-lock.json
|
| Medium Development dependency | SNYK-JS-ESLINT-15102420 | eslint@8.57.1 is vulnerable: Uncontrolled Recursion (via manage-intelligence@2.6.2) | 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 |
|---|---|---|---|---|
| circleci/aws-cli | 4.1 | No | 0 | 2026-11-27T13:12:12.779Z |
| ministryofjustice/hmpps | 9 | No | 0 | 2026-11-27T13:12:12.779Z |
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:12:12.779Z |
| ghcr.io/ministryofjustice/hmpps-node | 24-alpine-runtime | No | 0 | 2026-11-27T13:12:12.779Z |
No unpinned or vulnerable github action components were found.
No unpinned or vulnerable helm chart components were found.
Showing 2 of 2 unpinned or vulnerable components.
| Component | Version | Pinned | Vulnerabilities | Last seen |
|---|---|---|---|---|
| eslint | 8.57.1 | Yes | 1 | 2026-11-27T13:12:12.779Z |
| multer | 2.4.0 | Yes | 1 | 2026-11-27T13:12:12.779Z |
Showing 13 of 13 unpinned or vulnerable components.