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:10:13.367Z
Critical
21
| Security domain | Actual score | Target |
|---|---|---|
| Secrets and credentials | 80 | 100 |
| [BETA] Access control and repository settings | 100 | 100 |
| Vulnerability and patch risk | 21 | 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
21 findings across 4 source types.
21 findings across all sources.
| Severity | Check | Details | Fix | Location | Source |
|---|---|---|---|---|---|
| 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:22 | Not reported |
.github/workflows/pipeline.yml:22
|
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:13 | Not reported |
.github/workflows/security_codeql_actions_scan.yml:13
|
scorecard |
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/security_codeql_scan.yml:1 | Not reported |
.github/workflows/security_codeql_scan.yml:1
|
scorecard |
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security_codeql_scan.yml:13 | Not reported |
.github/workflows/security_codeql_scan.yml:13
|
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:12 | Not reported |
.github/workflows/security_npm_dependency.yml:12
|
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: jobLevel 'security-events' permission set to 'write': .github/workflows/security_snyk_scan.yml:13 | Not reported |
.github/workflows/security_snyk_scan.yml:13
|
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:12 | Not reported |
.github/workflows/security_veracode_pipeline_scan.yml:12
|
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:12 | Not reported |
.github/workflows/security_veracode_policy_scan.yml:12
|
scorecard |
| High Runtime dependency | SNYK-JS-COMPRESSION-19778377 | compression@1.8.1 is vulnerable: Missing Release of Memory after Effective Lifetime (via hmpps-stevec-sre-test-ui@0.0.1) | Upgrade available; Fixed in: 1.8.2 |
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 |
README.md
|
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: High . Findings: 15.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/pipeline.yml:22 | Not reported |
.github/workflows/pipeline.yml:22
|
| 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_codeql_scan.yml:1 | Not reported |
.github/workflows/security_codeql_scan.yml:1
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security_codeql_scan.yml:13 | Not reported |
.github/workflows/security_codeql_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: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: High . Findings: 4.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High Runtime dependency | SNYK-JS-COMPRESSION-19778377 | compression@1.8.1 is vulnerable: Missing Release of Memory after Effective Lifetime (via hmpps-stevec-sre-test-ui@0.0.1) | Upgrade available; Fixed in: 1.8.2 |
package-lock.json
|
| Medium Runtime dependency | SNYK-JS-XML2JS-5414874 | xml2js@0.4.23 is vulnerable: Prototype Pollution (via hmpps-stevec-sre-test-ui@0.0.1) | Upgrade available; Fixed in: 0.5.0 |
package-lock.json
|
| Medium Runtime dependency | SNYK-JS-TOUGHCOOKIE-5672873 | tough-cookie@4.1.2 is vulnerable: Prototype Pollution (via hmpps-stevec-sre-test-ui@0.0.1) | Upgrade available; Fixed in: 4.1.3 |
package-lock.json
|
| Low Runtime dependency | SNYK-JS-WORDWRAP-3149973 | word-wrap@1.2.3 is vulnerable: Regular Expression Denial of Service (ReDoS) (via hmpps-stevec-sre-test-ui@0.0.1) | Upgrade available; Fixed in: 1.2.4 |
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:09:57.672Z |
| ghcr.io/ministryofjustice/hmpps-node | 24-alpine-runtime | No | 0 | 2026-11-27T13:09:57.672Z |
No unpinned or vulnerable helm chart components were found.
Showing 5 of 5 unpinned or vulnerable components.
| Component | Version | Pinned | Vulnerabilities | Last seen |
|---|---|---|---|---|
| compression | 1.8.1 | Yes | 1 | 2026-11-27T13:09:57.672Z |
| tough-cookie | 4.1.2 | Yes | 1 | 2026-11-27T13:09:57.672Z |
| word-wrap | 1.2.5 | Yes | 1 | 2026-11-27T13:09:57.672Z |
| word-wrap | 1.2.3 | Yes | 1 | 2026-11-27T13:09:57.672Z |
| xml2js | 0.4.23 | Yes | 1 | 2026-11-27T13:09:57.672Z |
Showing 14 of 14 unpinned or vulnerable components.