Betterleaks
20 findings- Critical
- 0
- High
- 20
- 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:13.643Z
High
38
| Security domain | Actual score | Target |
|---|---|---|
| Secrets and credentials | 0 | 100 |
| [BETA] Access control and repository settings | 100 | 100 |
| Vulnerability and patch risk | 100 | 100 |
| [BETA] Network and workload exposure BETA | 100 | 100 |
| Container and image security | 66 | 100 |
| Supply chain and repository health | 0 | 100 |
Last 30 days · daily
CriticalHighMediumLowInfo
Last 30 days · daily
ConftestHadolintScorecardBetterleaksConftest (.npmrc)Conftest (Docker)Snyk
38 findings across 4 source types.
38 findings across all sources.
| Severity | Check | Details | Fix | Location | Source |
|---|---|---|---|---|---|
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/build-pipeline.yml:13 | Not reported |
.github/workflows/build-pipeline.yml:13
|
scorecard |
| High | Token-Permissions | Warn: topLevel 'contents' permission set to 'write': .github/workflows/build-pipeline.yml:12 | Not reported |
.github/workflows/build-pipeline.yml:12
|
scorecard |
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/cancel-outdated-workflows.yml:1 | Not reported |
.github/workflows/cancel-outdated-workflows.yml:1
|
scorecard |
| 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
|
scorecard |
| High | Token-Permissions | Warn: topLevel 'packages' permission set to 'write': .github/workflows/hotfix-pipeline.yml:14 | Not reported |
.github/workflows/hotfix-pipeline.yml:14
|
scorecard |
| High | Token-Permissions | Warn: no topLevel permission defined: .github/workflows/security-scans.yml:1 | Not reported |
.github/workflows/security-scans.yml:1
|
scorecard |
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:86 | Not reported |
.github/workflows/security-scans.yml:86
|
scorecard |
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:72 | Not reported |
.github/workflows/security-scans.yml:72
|
scorecard |
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:45 | Not reported |
.github/workflows/security-scans.yml:45
|
scorecard |
| 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
|
scorecard |
| 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
|
scorecard |
| 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
|
scorecard |
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose.yml
|
betterleaks |
| High | DL3020 | Use COPY instead of ADD for files and folders | Not reported |
Dockerfile:8
|
hadolint |
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
env.example
|
betterleaks |
Highest severity: High . Findings: 20.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
docker-compose.yml
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
env.example
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
helm_deploy/manage-intelligence-api/values.yaml
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
run-local.sh
|
| High | generic-password | Detected a potential hardcoded password literal, which may expose account credentials. | Not reported |
src/main/resources/application.yml
|
| High | uk-sort-code | UK bank sort code | Not reported |
src/test/kotlin/uk/gov/justice/digital/hmpps/manageintelligenceapi/integration/audit/AuditIntegrationTest.kt
|
| High | uk-bank-account | UK bank account details | Not reported |
src/test/kotlin/uk/gov/justice/digital/hmpps/manageintelligenceapi/integration/audit/AuditIntegrationTest.kt
|
| High | uk-sort-code | UK bank sort code | Not reported |
src/test/kotlin/uk/gov/justice/digital/hmpps/manageintelligenceapi/integration/entities/FinancialAccountIntegrationTest.kt
|
| High | uk-bank-account | UK bank account details | Not reported |
src/test/kotlin/uk/gov/justice/digital/hmpps/manageintelligenceapi/integration/entities/FinancialAccountIntegrationTest.kt
|
| High | uk-sort-code | UK bank sort code | Not reported |
src/test/kotlin/uk/gov/justice/digital/hmpps/manageintelligenceapi/test/fixture/FinancialFixture.kt
|
| High | uk-bank-account | UK bank account details | Not reported |
src/test/kotlin/uk/gov/justice/digital/hmpps/manageintelligenceapi/test/fixture/FinancialFixture.kt
|
| High | uk-bank-account | UK bank account details | Not reported |
src/test/kotlin/uk/gov/justice/digital/hmpps/manageintelligenceapi/unit/service/audit/FinancialAccountHistoryServiceTest.kt
|
| High | uk-sort-code | UK bank sort code | Not reported |
src/test/kotlin/uk/gov/justice/digital/hmpps/manageintelligenceapi/unit/service/DisseminationServiceTest.kt
|
| High | uk-bank-account | UK bank account details | Not reported |
src/test/kotlin/uk/gov/justice/digital/hmpps/manageintelligenceapi/unit/service/DisseminationServiceTest.kt
|
| High | uk-sort-code | UK bank sort code | Not reported |
src/test/kotlin/uk/gov/justice/digital/hmpps/manageintelligenceapi/unit/service/FinancialAccountServiceTest.kt
|
Highest severity: High . Findings: 4.
| Severity | Check | Details | Fix | Location |
|---|---|---|---|---|
| High | DL3020 | Use COPY instead of ADD for files and folders | Not reported |
Dockerfile:8
|
| Medium | DL3008 | Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>` | Not reported |
Dockerfile:22
|
| Low | DL3009 | Delete the apt lists (/var/lib/apt/lists) after installing something | Not reported |
Dockerfile:22
|
| Low | DL3066 | Non-numeric user-id may not be resolvable by host system | Not reported |
Dockerfile:13
|
Highest severity: High . Findings: 14.
| 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:86 | Not reported |
.github/workflows/security-scans.yml:86
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:72 | Not reported |
.github/workflows/security-scans.yml:72
|
| High | Token-Permissions | Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-scans.yml:45 | Not reported |
.github/workflows/security-scans.yml:45
|
| 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:12: pin your Docker image by updating ghcr.io/ministryofjustice/hmpps-eclipse-temurin:21-jre-jammy to ghcr.io/ministryofjustice/hmpps-eclipse-temurin:21-jre-jammy@sha256:3c3c3d00b817c3c2295bfdf0f884afab411dc4ddf5bd77b267a82d2ac3c4f77f | Not reported |
Dockerfile:12
|
| Medium | Pinned-Dependencies | Warn: containerImage not pinned by hash: Dockerfile:2: pin your Docker image by updating eclipse-temurin:21-jdk-jammy to eclipse-temurin:21-jdk-jammy@sha256:b2711c65970c1227197c29c46e669bfdbb137524e9da0e664703a140ec25a040 | Not reported |
Dockerfile:2
|
Highest severity: No findings . Findings: 0.
No findings are available in this section.
One continuous timeline of recorded component usages. Parent-package relationships are not stored by the inventory.
Showing 1 of 1 unpinned or vulnerable component.
| Component | Version | Pinned | Vulnerabilities | Last seen |
|---|---|---|---|---|
| ministryofjustice/hmpps | 11 | No | 0 | 2026-11-27T13:11:06.668Z |
Showing 2 of 2 unpinned or vulnerable components.
| Component | Version | Pinned | Vulnerabilities | Last seen |
|---|---|---|---|---|
| eclipse-temurin | 21-jdk-jammy | No | 0 | 2026-11-27T13:11:06.668Z |
| ghcr.io/ministryofjustice/hmpps-eclipse-temurin | 21-jre-jammy | No | 0 | 2026-11-27T13:11:06.668Z |
No unpinned or vulnerable github action components were found.
No unpinned or vulnerable helm chart components were found.
Showing 13 of 13 unpinned or vulnerable components.