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.
66 of your 169 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.
Upstream (GitHub) caused delay on this scan — not Repobility.
  • GitHub API rate-limited (HTTP 403) — preflight skipped, fell back to direct git clone.
  • Clone from GitHub took 268.36s for a 928.6 MB repo slow.
  • Repobility's analysis ran in 111.08s after the clone landed.

Azure/azure-sdk-for-java

https://github.com/Azure/azure-sdk-for-java · scanned 2026-06-05 18:59 UTC (4 days, 17 hours ago) · 10 languages

152 findings 11/13 scanners ran 64th percentile · Java · huge (>500K LoC)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

49 actionable findings from 1 signal source. 85 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 60.0 0.15 9.00
security_score 100.0 0.25 25.00
testing_score 81.0 0.20 16.20
documentation_score 85.0 0.15 12.75
practices_score 75.0 0.15 11.25
code_quality 63.0 0.10 6.30
Overall 1.00 80.5
security_score may be inflated — optional security scanners were skipped on this fast scan
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all

Showing 33 of 49 actionable findings. 134 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.

critical Security checks quality Quality conf 1.00 ✓ Repobility [MINED102] Shell Injection Via F-string: Shell command built via f-string or .format with non-constant input — command injection. An attacker controlling any interpolated value can execute arbitrary shell commands.
Use the list form of subprocess (e.g. subprocess.run(["cmd", arg1, arg2])) with shell=False. Never combine shell=True with string interpolation.
eng/scripts/linting_suppression_generator.py:50
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED021] Path Traversal Os Join: os.path.join(user_dir, filename) where filename can contain "../" — directory escape.
Review and fix per the pattern semantics. See CWE-22 / A01:2021 for context.
eng/automation/changelog.py:28
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command injection.
Review and fix per the pattern semantics. See CWE-78 / for context.
eng/scripts/linting_suppression_generator.py:50
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED036] Python Os System Call: os.system() invokes shell with no escaping.
Review and fix per the pattern semantics. See CWE-78 / for context.
eng/precommit_local_build.py:133
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED036] Python Os System Call: os.system() invokes shell with no escaping.
Review and fix per the pattern semantics. See CWE-78 / for context.
eng/automation/sdk_generate.py:290
high Security checks quality Quality conf 1.00 ✓ Repobility 9 occurrences [MINED108] `self.value` used but never assigned in __init__: Method `__str__` of class `UpdateType` reads `self.value`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
Initialize `self.value = <default>` in __init__, or add a class-level default.
4 files, 9 locations
sdk/spring/scripts/log.py:65, 66, 67, 68 (4 hits)
eng/versioning/utils.py:58, 69 (2 hits)
sdk/spring/scripts/pom.py:16, 29 (2 hits)
sdk/spring/scripts/version_util.py:83
high Security checks software dependencies conf 0.90 ✓ Repobility 8 occurrences [MINED118] Dockerfile FROM `mcr.microsoft.com/mirror/docker/library/ubuntu:18.04` not pinned by digest: `FROM mcr.microsoft.com/mirror/docker/library/ubuntu:18.04` 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.
Replace with: `FROM mcr.microsoft.com/mirror/docker/library/ubuntu:18.04@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
8 files, 8 locations
sdk/cosmos/azure-cosmos-benchmark/ctl/Dockerfile:1
sdk/cosmos/azure-cosmos-kafka-connect/src/docker/Dockerfile:2
sdk/eventhubs/azure-messaging-eventhubs-stress/Dockerfile:33
sdk/identity/live-test-apps/identity-test-container/Dockerfile:14
sdk/servicebus/azure-messaging-servicebus-stress/Dockerfile:28
sdk/storage/azure-storage-blob-stress/Dockerfile:25
sdk/storage/azure-storage-file-datalake-stress/Dockerfile:26
sdk/storage/azure-storage-file-share-stress/Dockerfile:26
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED122] package.json dep `azure-sdk-for-java-codegen` pulled from URL/Git: `dependencies.azure-sdk-for-java-codegen` = `file:` bypasses the npm registry. No integrity hash, no version locking, no registry-side scanning. If the URL or git host is compromised, every `npm install` pulls the new payload.
Publish the dependency to npm (or your private registry) and reference it by `^x.y.z`. If that's not possible, lock by commit SHA: `git+https://...#<full-sha>` AND verify the SHA in CI.
sdk/batch/microsoft-azure-batch/package.json:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `sdk/resourcemanager/azure-resourcemanager-samples/src/main/resources/todo-app-java-on-azure-1.0-SNAPSHOT.jar` committed in source repo: `sdk/resourcemanager/azure-resourcemanager-samples/src/main/resources/todo-app-java-on-azure-1.0-SNAPSHOT.jar` is a .jar binary (27,198,217 bytes) committed to a repo that otherwise has 105318 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binar
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
sdk/resourcemanager/azure-resourcemanager-samples/src/main/resources/todo-app-java-on-azure-1.0-SNAPSHOT.jar:1
low Security checks security Injection conf 0.80 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input.
Use subprocess with shell=False and a list of args. Never eval user input.
eng/scripts/linting_suppression_generator.py:50
high Security checks security path traversal conf 0.80 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads.
eng/automation/sdk_generate.py:137
low Security checks security Injection conf 1.00 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDAP search filter. Attackers inject `*)(uid=*` style payloads to bypass auth or enumerate accounts.
Escape with javax.naming.ldap.Rdn.escapeValue or equivalent. For python-ldap, use ldap.filter.escape_filter_chars. Better: use parameterized search APIs (Spring LdapTemplate filter encoders).
eng/automation/sdk_generate.py:186
high Security checks cicd CI/CD security conf 0.84 4 occurrences Database service publishes a host port
Use `expose` for service-to-service access, bind to 127.0.0.1 for local-only access, or protect the port with firewall rules.
lines 4, 69, 84, 99
sdk/cosmos/azure-cosmos-kafka-connect/src/docker/docker-compose.yml:4, 69, 84, 99 (4 hits)
CI/CD securitycontainers
high Security checks cicd CI/CD security conf 0.92 Docker build context is very large
Shrink the build context with .dockerignore, move generated/runtime data outside the build context, and copy only the manifest files needed for cached dependency layers.
.dockerignore CI/CD securitycontainers
high Security checks cicd CI/CD security conf 0.90 ✓ Repobility GitHub Action is tag-pinned rather than SHA-pinned
[MINED115] Action `azure/azure-sdk-actions` pinned to mutable ref `@main`: `uses: azure/azure-sdk-actions@main` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-ch…
.github/workflows/event.yml:23 CI/CD securitySupply chainGitHub Actions
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 4 occurrences GitHub Action is tag-pinned rather than SHA-pinned
[MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout@v4` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lo…
4 files, 4 locations
.github/workflows/copilot-setup-steps.yml:14
.github/workflows/event-processor.yml:110
.github/workflows/post-apiview.yml:27
.github/workflows/scheduled-event-processor.yml:126
CI/CD securitySupply chainGitHub Actions
medium Security checks cicd CI/CD security conf 0.90 ✓ Repobility GitHub Action is tag-pinned rather than SHA-pinned
[MINED115] Action `azure/login` pinned to mutable ref `@v3`: `uses: azure/login@v3` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with De…
.github/workflows/event-processor.yml:35 CI/CD securitySupply chainGitHub Actions
medium Security checks quality Quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `run_check_call` (list): `def run_check_call(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def run_check_call(x=None): x = x or []`
eng/versioning/utils.py:148
medium Security checks security path traversal conf 1.00 3 occurrences [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation allows writing files outside the target directory.
Validate extracted paths with os.path.realpath() and ensure they stay within the target directory.
3 files, 3 locations
sdk/ai/azure-ai-agents/customizations/src/main/java/AgentsCustomizations.java:23
sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesAsyncSample.java:67
sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/hostedagents/SessionFilesSample.java:63
medium Security checks software Open redirect conf 1.00 [SEC046] Client-side open redirect — window.location = server-supplied URL: Assigning window.location from a server-supplied URL trusts the server endpoint to never return a hostile destination. If that endpoint is ever subverted (compromised admin, JSON injection, MITM on a webhook), users get redirected to a phishing site they trust because the original page is yours. CWE-601 (server-side OR client-side). Complement to server-side SEC030.
Validate the URL is same-origin or on an explicit allowlist before assignment: const u = new URL(serverUrl, location.href); if (u.origin !== location.origin && !ALLOWED.includes(u.host)) return; location.assign(u); Even better: have the server return a path (/checkout/done) instead of a full …
eng/common/docgeneration/templates/matthews/styles/main.js:141
low Security checks quality Error handling conf 0.55 ✓ Repobility Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
eng/automation/generate_utils.py:145 Error handlingquality
low Security checks quality Error handling conf 0.55 ✓ Repobility Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
eng/versioning/update_versions.py:145 Error handlingquality
medium Security checks cicd CI/CD security conf 0.94 Compose service `connect` image uses the latest tag
Pin to a maintained version tag or digest and update it deliberately through dependency automation.
sdk/cosmos/azure-cosmos-kafka-connect/src/docker/docker-compose.yml:99 CI/CD securitycontainers
medium Security checks cicd CI/CD security conf 0.74 4 occurrences Database service has no persistent data volume
Mount the database data directory to a named Docker volume or managed persistent disk, and document backup and restore testing.
lines 4, 69, 84, 99
sdk/cosmos/azure-cosmos-kafka-connect/src/docker/docker-compose.yml:4, 69, 84, 99 (4 hits)
CI/CD securitycontainers
high Security checks cicd CI/CD security conf 0.82 8 occurrences Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
8 files, 8 locations
sdk/cosmos/azure-cosmos-benchmark/ctl/Dockerfile:1
sdk/cosmos/azure-cosmos-kafka-connect/src/docker/Dockerfile:2
sdk/eventhubs/azure-messaging-eventhubs-stress/Dockerfile:34
sdk/identity/live-test-apps/identity-test-container/Dockerfile:16
sdk/servicebus/azure-messaging-servicebus-stress/Dockerfile:29
sdk/storage/azure-storage-blob-stress/Dockerfile:26
sdk/storage/azure-storage-file-datalake-stress/Dockerfile:27
sdk/storage/azure-storage-file-share-stress/Dockerfile:27
CI/CD securitycontainers
low Security checks cicd CI/CD security conf 0.72 .dockerignore misses sensitive defaults
Add missing patterns such as .env, .git, private keys, certificates, dependency folders, and local databases.
.dockerignore CI/CD securitycontainers
low Security checks cicd CI/CD security conf 0.68 2 occurrences App service does not wait for database health
Give the database a healthcheck and change the dependency to `depends_on: { db: { condition: service_healthy } }`.
lines 137, 160
sdk/cosmos/azure-cosmos-kafka-connect/src/docker/docker-compose.yml:137, 160 (2 hits)
CI/CD securitycontainers
high Security checks cicd CI/CD security conf 0.56 6 occurrences Compose service does not declare a runtime user
Set a non-root `user:` in Compose or ensure the final image stage has a non-root USER directive.
lines 15, 44, 57, 137, 160, 183
sdk/cosmos/azure-cosmos-kafka-connect/src/docker/docker-compose.yml:15, 44, 57, 137, 160, 183 (6 hits)
CI/CD securitycontainers
high Security checks cicd CI/CD security conf 0.62 5 occurrences Compose service lacks no-new-privileges hardening
Add `security_opt: ["no-new-privileges:true"]` unless the service has a documented need for privilege escalation.
lines 44, 57, 137, 160, 183
sdk/cosmos/azure-cosmos-kafka-connect/src/docker/docker-compose.yml:44, 57, 137, 160, 183 (5 hits)
CI/CD securitycontainers
low Security checks cicd CI/CD security conf 0.72 4 occurrences Database service has no healthcheck
Add a database-native healthcheck such as pg_isready, mysqladmin ping, redis-cli ping, or the vendor's readiness command.
lines 4, 69, 84, 99
sdk/cosmos/azure-cosmos-kafka-connect/src/docker/docker-compose.yml:4, 69, 84, 99 (4 hits)
CI/CD securitycontainers
low Security checks cicd CI/CD security conf 0.72 Dockerfile installs recommended OS packages
Add `--no-install-recommends` and explicitly list only packages the image needs.
sdk/cosmos/azure-cosmos-benchmark/ctl/Dockerfile:2 CI/CD securitycontainers
low Security checks cicd CI/CD security conf 0.74 Dockerfile leaves apt package indexes in the image layer
End the apt install layer with `rm -rf /var/lib/apt/lists/*`.
sdk/cosmos/azure-cosmos-benchmark/ctl/Dockerfile:2 CI/CD securitycontainers
low Security checks quality Quality conf 0.60 30 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.
12 files, 22 locations
sdk/agrifood/azure-resourcemanager-agrifood/src/main/java/com/azure/resourcemanager/agrifood/fluent/models/FarmBeatsInner.java:32, 33, 36 (3 hits)
sdk/agrifood/azure-resourcemanager-agrifood/src/main/java/com/azure/resourcemanager/agrifood/fluent/models/PrivateEndpointConnectionInner.java:23, 24, 27 (3 hits)
sdk/agrifood/azure-resourcemanager-agrifood/src/main/java/com/azure/resourcemanager/agrifood/fluent/models/PrivateLinkResourceInner.java:20, 21, 24 (3 hits)
sdk/advisor/azure-resourcemanager-advisor/src/main/java/com/azure/resourcemanager/advisor/implementation/SuppressionContractImpl.java:10, 11 (2 hits)
sdk/agrifood/azure-resourcemanager-agrifood/src/main/java/com/azure/resourcemanager/agrifood/fluent/models/FarmBeatsExtensionInner.java:22, 25 (2 hits)
sdk/agrifood/azure-resourcemanager-agrifood/src/main/java/com/azure/resourcemanager/agrifood/fluent/models/FarmBeatsSolutionInner.java:25, 28 (2 hits)
sdk/agrifood/azure-resourcemanager-agrifood/src/main/java/com/azure/resourcemanager/agrifood/fluent/models/SolutionInner.java:26, 32 (2 hits)
eng/automation/generate_data.py:83
duplicationquality
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/cb044107-cd98-4b85-8039-dcfcf362795c/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/cb044107-cd98-4b85-8039-dcfcf362795c/

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.