Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.
30 of your 48 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 3.14s · analysis 16.3s · 4.8 MB · GitHub API rate-limit (preflight)

TheAlgorithms/Java

https://github.com/TheAlgorithms/Java · scanned 2026-06-05 08:56 UTC (5 days, 18 hours ago) · 10 languages

93 raw signals (45 security + 48 graph) 93rd percentile · Java · large (100-500K LoC)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 5 days, 18 hours ago · v2 · 24 actionable findings from 2 signal sources. 45 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 85.0 0.15 12.75
security_score 95.8 0.25 23.95
testing_score 80.0 0.20 16.00
documentation_score 89.0 0.15 13.35
practices_score 77.0 0.15 11.55
code_quality 75.5 0.10 7.55
Overall 1.00 85.1
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade A- (85/100). Dimensions: security 96, maintainability 85. 45 findings (25 security). 135,567 lines analyzed.

Showing 14 of 24 actionable findings. 69 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high Security checks software dependencies conf 0.90 ✓ Repobility Dockerfile FROM `gitpod/workspace-java-21:2025-11-14-10-05-32` not pinned by digest
`FROM gitpod/workspace-java-21:2025-11-14-10-05-32` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
.gitpod.dockerfile:1
high Security checks software dependencies conf 0.90 ✓ Repobility Dockerfile FROM `mcr.microsoft.com/vscode/devcontainers/java:1.1.0-` not pinned by digest
`FROM mcr.microsoft.com/vscode/devcontainers/java:1.1.0-` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
.devcontainer/Dockerfile:5
medium Security checks cicd CI/CD security conf 0.90 ✓ Repobility 19 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `codecov/codecov-action` pinned to mutable ref `@v6` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
5 files, 19 locations
.github/workflows/codeql.yml:33, 41, 58, 63 (8 hits)
.github/workflows/build.yml:23, 31 (4 hits)
.github/workflows/update-directorymd.yml:22, 36 (4 hits)
.github/workflows/infer.yml:27 (2 hits)
.github/workflows/clang-format-lint.yml:15
CI/CD securitySupply chainGitHub Actions
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 20 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `actions/checkout` pinned to mutable ref `@v6` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
8 files, 20 locations
.github/workflows/codeql.yml:24, 27, 55 (6 hits)
.github/workflows/build.yml:11, 13 (3 hits)
.github/workflows/infer.yml:18, 21 (3 hits)
.github/workflows/close-failed-prs.yml:18 (2 hits)
.github/workflows/project_structure.yml:18, 19 (2 hits)
.github/workflows/update-directorymd.yml:17 (2 hits)
.github/workflows/clang-format-lint.yml:14
.github/workflows/stale.yml:14
CI/CD securitySupply chainGitHub Actions
medium Security checks quality Quality conf 1.00 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; using it for tokens/keys/nonces is predictable. Ported from gosec G404 / eslint detect-pseudoRandomBytes concept (Apache-2.0).
Use `crypto.randomBytes(32).toString('hex')` (Node) or `crypto.getRandomValues()` (browser).
src/main/java/com/thealgorithms/randomized/RandomizedQuickSort.java:38
medium Security checks cicd CI/CD security conf 0.90 Docker build context has no .dockerignore
Without .dockerignore, build context can include source history, local env files, dependencies, and generated artifacts.
.dockerignore CI/CD securitycontainers
high Security checks cicd CI/CD security conf 0.82 Docker final stage has no non-root USER
Docker images run as root unless the image or Dockerfile switches to a non-root user.
.devcontainer/Dockerfile:5 CI/CD securitycontainers
medium System graph hardware Security conf 1.00 Dockerfile runs as root: .devcontainer/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/update-directorymd.yml CI/CD securitySupply chainGithub actions
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). Either auth lives in custom code, in a separate service, or is missing.
auth
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
0 test file(s) for 1 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths.
Coverage
low Security checks quality Quality conf 0.60 7 occurrences Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
7 files, 7 locations
src/main/java/com/thealgorithms/datastructures/caches/LIFOCache.java:20
src/main/java/com/thealgorithms/datastructures/caches/MRUCache.java:54
src/main/java/com/thealgorithms/datastructures/caches/RRCache.java:39
src/main/java/com/thealgorithms/datastructures/hashmap/hashing/GenericHashMapUsingArrayList.java:56
src/main/java/com/thealgorithms/datastructures/lists/CircularDoublyLinkedList.java:31
src/main/java/com/thealgorithms/graph/GomoryHuTree.java:69
src/main/java/com/thealgorithms/graph/PushRelabel.java:106
duplicationquality
low System graph hardware Coverage conf 1.00 Containers defined but no K8s/orchestration manifest found
Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo.
Deployment
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: mcr.microsoft.com/vscode/devcontainers/java:1.1.0-${VARIANT}
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
.devcontainer/Dockerfile:5 containersPinned dependencies
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/41516ab3-b9f8-4300-9238-fcd5be16c479/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/41516ab3-b9f8-4300-9238-fcd5be16c479/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.