← Back to scan
File as GitHub Issue repo: Azure/azure-sdk-for-java

Push this scan report to Azure/azure-sdk-for-java

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

`self.info` used but never assigned in __init__

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED102 [MINED102] Shell Injection Via F-string: Shell command built via f-string or .format with… eng/scripts/linting_suppression_generat…:50
HIGH MINED108 [MINED108] `self.assertEqual` used but never assigned in __init__: Method `test_version_g… sdk/spring/scripts/version_util.py:83
HIGH MINED108 [MINED108] `self.error` used but never assigned in __init__: Method `log_level_test` of c… sdk/spring/scripts/log.py:68
HIGH MINED108 [MINED108] `self.warn` used but never assigned in __init__: Method `log_level_test` of cl… sdk/spring/scripts/log.py:67
HIGH MINED108 [MINED108] `self.info` used but never assigned in __init__: Method `log_level_test` of cl… sdk/spring/scripts/log.py:66
HIGH MINED108 [MINED108] `self.debug` used but never assigned in __init__: Method `log_level_test` of c… sdk/spring/scripts/log.py:65
HIGH MINED108 [MINED108] `self.is_milestone_release` used but never assigned in __init__: Method `get_u… sdk/spring/scripts/pom.py:29
HIGH MINED108 [MINED108] `self.get_url` used but never assigned in __init__: Method `to_url` of class `… sdk/spring/scripts/pom.py:16
HIGH MINED108 [MINED108] `self.value` used but never assigned in __init__: Method `__str__` of class `B… eng/versioning/utils.py:69
HIGH MINED108 [MINED108] `self.value` used but never assigned in __init__: Method `__str__` of class `U… eng/versioning/utils.py:58
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … sdk/ai/azure-ai-agents/src/samples/java…:82
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … sdk/agrifood/azure-resourcemanager-agri…:135
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … samples/azure-samples-graalvm-spring-st…:91
HIGH MINED034 [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command inje… eng/scripts/linting_suppression_generat…:50
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… sdk/ai/azure-ai-agents/src/main/java/co…:81
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… eng/common/docgeneration/templates/matt…:141
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… eng/bomgenerator/src/main/java/com/azur…:58
HIGH MINED036 [MINED036] Python Os System Call: os.system() invokes shell with no escaping. eng/precommit_local_build.py:133
HIGH MINED036 [MINED036] Python Os System Call: os.system() invokes shell with no escaping. eng/automation/sdk_generate.py:290
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… eng/automation/sdk_generate.py:186
HIGH MINED021 [MINED021] Path Traversal Os Join: os.path.join(user_dir, filename) where filename can co… eng/automation/changelog.py:28
HIGH DKR015 Docker build context is very large .dockerignore
HIGH MINED134 [MINED134] Binary file `sdk/resourcemanager/azure-resourcemanager-samples/src/main/resour… sdk/resourcemanager/azure-resourcemanag…:1
HIGH MINED118 [MINED118] Dockerfile FROM `mcr.microsoft.com/openjdk/jdk:21-mariner` not pinned by diges… sdk/storage/azure-storage-blob-stress/D…:25
HIGH MINED118 [MINED118] Dockerfile FROM `mcr.microsoft.com/openjdk/jdk:21-mariner` not pinned by diges… sdk/storage/azure-storage-file-datalake…:26
HIGH MINED118 [MINED118] Dockerfile FROM `mcr.microsoft.com/openjdk/jdk:21-mariner` not pinned by diges… sdk/storage/azure-storage-file-share-st…:26
HIGH MINED118 [MINED118] Dockerfile FROM `mcr.microsoft.com/openjdk/jdk:21-mariner` not pinned by diges… sdk/eventhubs/azure-messaging-eventhubs…:33
HIGH MINED118 [MINED118] Dockerfile FROM `confluentinc/cp-kafka-connect:7.5.0` not pinned by digest: `F… sdk/cosmos/azure-cosmos-kafka-connect/s…:2
HIGH MINED118 [MINED118] Dockerfile FROM `mcr.microsoft.com/mirror/docker/library/ubuntu:18.04` not pin… sdk/cosmos/azure-cosmos-benchmark/ctl/D…:1
HIGH MINED118 [MINED118] Dockerfile FROM `openjdk:17-oracle` not pinned by digest: `FROM openjdk:17-ora… sdk/identity/live-test-apps/identity-te…:14
HIGH MINED118 [MINED118] Dockerfile FROM `mcr.microsoft.com/openjdk/jdk:21-mariner` not pinned by diges… sdk/servicebus/azure-messaging-serviceb…:28
HIGH MINED122 [MINED122] package.json dep `azure-sdk-for-java-codegen` pulled from URL/Git: `dependenci… sdk/batch/microsoft-azure-batch/package…:1
HIGH MINED115 [MINED115] Action `azure/azure-sdk-actions` pinned to mutable ref `@main`: `uses: azure/a… .github/workflows/event.yml:23
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v7`: `uses: actions/u… .github/workflows/scheduled-event-proce…:126
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/post-apiview.yml:27
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/copilot-setup-steps.y…:14
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v7`: `uses: actions/u… .github/workflows/event-processor.yml:110
HIGH MINED115 [MINED115] Action `azure/login` pinned to mutable ref `@v3`: `uses: azure/login@v3` resol… .github/workflows/event-processor.yml:35
HIGH DKC011 Database service publishes a host port sdk/cosmos/azure-cosmos-kafka-connect/s…:99
HIGH DKC011 Database service publishes a host port sdk/cosmos/azure-cosmos-kafka-connect/s…:84
HIGH DKC011 Database service publishes a host port sdk/cosmos/azure-cosmos-kafka-connect/s…:69
HIGH DKC011 Database service publishes a host port sdk/cosmos/azure-cosmos-kafka-connect/s…:4
HIGH SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. eng/scripts/linting_suppression_generat…:50
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… eng/automation/sdk_generate.py:137
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… eng/automation/generate_utils.py:145
MED MINED109 [MINED109] Mutable default argument in `run_check_call` (list): `def run_check_call(... =… eng/versioning/utils.py:148
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… eng/versioning/update_versions.py:145
MED SEC012 [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation all… sdk/ai/azure-ai-agents/src/samples/java…:63
MED SEC012 [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation all… sdk/ai/azure-ai-agents/src/samples/java…:67
MED SEC012 [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation all… sdk/ai/azure-ai-agents/customizations/s…:23
MED SEC046 [SEC046] Client-side open redirect — window.location = server-supplied URL: Assigning win… eng/common/docgeneration/templates/matt…:141
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… eng/common/docgeneration/templates/matt…:151
MED COMP001 [COMP001] High cognitive complexity: Function `generate_overview` has cognitive complexit… eng/pipelines/scripts/generate_overview…:26
MED COMP001 [COMP001] High cognitive complexity: Function `sdk_automation_autorest` has cognitive com… eng/automation/sdk_generate.py:154
MED DKR003 Compose service `connect` image uses the latest tag sdk/cosmos/azure-cosmos-kafka-connect/s…:99
MED DKR001 Docker final stage has no non-root USER sdk/storage/azure-storage-file-share-st…:27
MED DKR001 Docker final stage has no non-root USER sdk/storage/azure-storage-file-datalake…:27
MED DKR001 Docker final stage has no non-root USER sdk/storage/azure-storage-blob-stress/D…:26
MED DKR001 Docker final stage has no non-root USER sdk/servicebus/azure-messaging-serviceb…:29
MED DKR001 Docker final stage has no non-root USER sdk/identity/live-test-apps/identity-te…:16
MED DKR001 Docker final stage has no non-root USER sdk/eventhubs/azure-messaging-eventhubs…:34
MED DKR001 Docker final stage has no non-root USER sdk/cosmos/azure-cosmos-kafka-connect/s…:2
MED DKR001 Docker final stage has no non-root USER sdk/cosmos/azure-cosmos-benchmark/ctl/D…:1
MED DKC013 Database service has no persistent data volume sdk/cosmos/azure-cosmos-kafka-connect/s…:99
MED DKC013 Database service has no persistent data volume sdk/cosmos/azure-cosmos-kafka-connect/s…:84
MED DKC013 Database service has no persistent data volume sdk/cosmos/azure-cosmos-kafka-connect/s…:69
MED DKC013 Database service has no persistent data volume sdk/cosmos/azure-cosmos-kafka-connect/s…:4
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… sdk/ai/azure-ai-projects/src/samples/ja…:100
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… sdk/ai/azure-ai-projects/src/samples/ja…:118
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… sdk/ai/azure-ai-projects/src/samples/ja…:122
LOW COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 10 (SonarSo… eng/automation/sdk_generate.py:243
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:32
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:26
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:24
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:21
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:20
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:27
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:24
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:23
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:28
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:25
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:36
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:33
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:32
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:25
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:22
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:29
LOW AIC003 Duplicated implementation block across source files sdk/agrifood/azure-resourcemanager-agri…:82
LOW AIC003 Duplicated implementation block across source files sdk/advisor/azure-resourcemanager-advis…:27
LOW AIC003 Duplicated implementation block across source files sdk/advisor/azure-resourcemanager-advis…:28
LOW AIC003 Duplicated implementation block across source files sdk/advisor/azure-resourcemanager-advis…:27
LOW AIC003 Duplicated implementation block across source files sdk/advisor/azure-resourcemanager-advis…:353
LOW AIC003 Duplicated implementation block across source files sdk/advisor/azure-resourcemanager-advis…:11
LOW AIC003 Duplicated implementation block across source files sdk/advisor/azure-resourcemanager-advis…:10
LOW AIC003 Duplicated implementation block across source files sdk/advisor/azure-resourcemanager-advis…:18
LOW AIC003 Duplicated implementation block across source files sdk/advisor/azure-resourcemanager-advis…:309
LOW AIC003 Duplicated implementation block across source files sdk/advisor/azure-resourcemanager-advis…:159
LOW AIC003 Duplicated implementation block across source files sdk/advisor/azure-resourcemanager-advis…:18
LOW AIC003 Duplicated implementation block across source files sdk/advisor/azure-resourcemanager-advis…:25
LOW AIC003 Duplicated implementation block across source files eng/automation/sdk_generate.py:47
LOW AIC003 Duplicated implementation block across source files eng/automation/generate_data.py:83
LOW DKR010 Dockerfile leaves apt package indexes in the image layer sdk/cosmos/azure-cosmos-benchmark/ctl/D…:2
LOW DKC015 Database service has no healthcheck sdk/cosmos/azure-cosmos-kafka-connect/s…:99
LOW DKC015 Database service has no healthcheck sdk/cosmos/azure-cosmos-kafka-connect/s…:84
LOW DKC015 Database service has no healthcheck sdk/cosmos/azure-cosmos-kafka-connect/s…:69
LOW DKC015 Database service has no healthcheck sdk/cosmos/azure-cosmos-kafka-connect/s…:4
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKR011 Dockerfile installs recommended OS packages sdk/cosmos/azure-cosmos-benchmark/ctl/D…:2
LOW DKC016 App service does not wait for database health sdk/cosmos/azure-cosmos-kafka-connect/s…:160
LOW DKC016 App service does not wait for database health sdk/cosmos/azure-cosmos-kafka-connect/s…:137
LOW DKC010 Compose service lacks no-new-privileges hardening sdk/cosmos/azure-cosmos-kafka-connect/s…:183
LOW DKC010 Compose service lacks no-new-privileges hardening sdk/cosmos/azure-cosmos-kafka-connect/s…:160
LOW DKC010 Compose service lacks no-new-privileges hardening sdk/cosmos/azure-cosmos-kafka-connect/s…:137
LOW DKC010 Compose service lacks no-new-privileges hardening sdk/cosmos/azure-cosmos-kafka-connect/s…:57
LOW DKC010 Compose service lacks no-new-privileges hardening sdk/cosmos/azure-cosmos-kafka-connect/s…:44
LOW DKC006 Compose service does not declare a runtime user sdk/cosmos/azure-cosmos-kafka-connect/s…:183
LOW DKC006 Compose service does not declare a runtime user sdk/cosmos/azure-cosmos-kafka-connect/s…:160
LOW DKC006 Compose service does not declare a runtime user sdk/cosmos/azure-cosmos-kafka-connect/s…:137
LOW DKC006 Compose service does not declare a runtime user sdk/cosmos/azure-cosmos-kafka-connect/s…:57
LOW DKC006 Compose service does not declare a runtime user sdk/cosmos/azure-cosmos-kafka-connect/s…:44
LOW DKC006 Compose service does not declare a runtime user sdk/cosmos/azure-cosmos-kafka-connect/s…:15
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … eng/common/docgeneration/templates/matt…:226
INFO MINED081 [MINED081] Java Printstacktrace: Should use logger, not stack trace to stderr. samples/azure-samples-graalvm-spring-st…:78
INFO MINED081 [MINED081] Java Printstacktrace: Should use logger, not stack trace to stderr. eng/bomgenerator/src/main/java/com/azur…:96
INFO MINED081 [MINED081] Java Printstacktrace: Should use logger, not stack trace to stderr. eng/bomgenerator/src/main/java/com/azur…:35
INFO MINED073 [MINED073] Redos Greedy Quantifier: Pattern with nested quantifiers like (a+)+ applied to… eng/automation/sdk_generate.py:113
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… eng/scripts/linting_suppression_generat…:195
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… eng/precommit_local_build.py:39
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… eng/automation/parameters.py:113
INFO MINED085 [MINED085] Java Systemexit: System.exit() inside a library kills the whole JVM. samples/azure-samples-graalvm-spring-st…:52
INFO MINED085 [MINED085] Java Systemexit: System.exit() inside a library kills the whole JVM. eng/bomgenerator/src/main/java/com/azur…:29
INFO MINED085 [MINED085] Java Systemexit: System.exit() inside a library kills the whole JVM. eng/automation/changelog/src/main/java/…:37
Reset to top 5 132 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `Azure/azure-sdk-for-java`

**Score: 80/100 (A-)**  ·  152 findings  ·  scanned 2026-06-05 18:59 UTC  ·  4,372,829 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 43 |
| MEDIUM | 23 |
| LOW | 54 |

📊 [Full filterable report](https://repobility.com/scan/cb044107-cd98-4b85-8039-dcfcf362795c/)  ·  ![scorecard](https://repobility.com/scan/cb044107-cd98-4b85-8039-dcfcf362795c/report.png?v=1780685973-s2)

### Top findings

1. **CRITICAL** `MINED102` — Shell Injection Via F-string
   `eng/scripts/linting_suppression_generator.py:50` · ✓ Repobility
2. **HIGH** `MINED108` — `self.assertEqual` used but never assigned in __init__
   `sdk/spring/scripts/version_util.py:83` · ✓ Repobility
3. **HIGH** `MINED108` — `self.error` used but never assigned in __init__
   `sdk/spring/scripts/log.py:68` · ✓ Repobility
4. **HIGH** `MINED108` — `self.warn` used but never assigned in __init__
   `sdk/spring/scripts/log.py:67` · ✓ Repobility
5. **HIGH** `MINED108` — `self.info` used but never assigned in __init__
   `sdk/spring/scripts/log.py:66` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/cb044107-cd98-4b85-8039-dcfcf362795c/_
Already filed
'Azure' is on the known-megaproject org list. These projects use auto-triage bots and established security disclosure channels. Unsolicited automated issues from Repobility would be perceived as AI-generated spam. For security findings, follow the project's SECURITY.md policy. For non-security findings, open a focused PR or community discussion instead.
Already filed
This repo publishes a SECURITY.md policy and the scan contains 9 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'Azure/azure-sdk-for-java' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.