chore: resolve open dependabot security alerts - #326
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The changes are limited to dependency/version bumps addressing security advisories, with only a minor maintainability nit noted.
Pull request overview
Updates build dependencies to resolve Dependabot security alerts by upgrading Kotlin Gradle plugin and forcing patched Netty versions across the buildscript and all subprojects.
Changes:
- Bumped
org.jetbrains.kotlin:kotlin-gradle-pluginto2.4.20in the root buildscript. - Forced Netty modules from
4.2.16.Finalto4.2.17.Finalin both buildscript classpath and subproject configurations. - Updated
kotlin_reflect_version/kotlin_versionconstants in theandroid-client-sdkmodule.
File summaries
| File | Description |
|---|---|
build.gradle |
Updates Kotlin Gradle plugin and forces patched Netty versions in buildscript + all subprojects. |
android-client-sdk/build.gradle |
Updates Kotlin-related version constants used for module dependencies. |
Review details
- Files reviewed: 1/2 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Kotlin 2.4.20 (required by Dependabot alert #57, fixed_in 2.4.20-Beta1) is not yet supported by AGP 8.13.2's bundled R8 (8.13.19, Kotlin <=2.3 only) or by GitHub's default CodeQL Kotlin extractor, causing lintAnalyzeMinified/R8 metadata failures and CodeQL analysis failures. AGP support for the required R8 version is only available starting with AGP 9.x, a breaking major upgrade out of scope here. Revert kotlin_version/kotlin_reflect_version to 2.1.20 (the combination already verified green on main) while keeping the netty bump to 4.2.17.Final, which fully resolves alert #58.
Copilot review nit: kotlin_reflect_version is the one actually referenced across the build; kotlin_version was dead config left from an earlier refactor.
jonathannorris
enabled auto-merge (squash)
September 8, 2026 14:59
JamieSinn
approved these changes
Sep 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
io.netty:netty-codec-http(and related forced Netty modules) from 4.2.16.Final to 4.2.17.Final to resolve a moderate cache poisoning / information disclosure vulnerability via CORS Vary header overwriteDependabot Alerts Resolved
io.netty:netty-codec-httpUnresolvable / Deferred
org.jetbrains.kotlin:kotlin-gradle-pluginExceptionInInitializerErrorinAndroidLintWorkAction, confirmed reproducible in CI), and GitHub's hosted CodeQL Kotlin extractor explicitly rejects it ("Kotlin version 2.4.20 is too recent"). AGP 8.13.2 is the latest 8.x release; a fix requires bumping AGP to 9.x, which in turn requires Gradle 9.6.0 — a much larger, breaking upgrade spanning all four Gradle modules in this repo. That is out of scope for a routine dependabot-alerts PR and is recommended as a dedicated follow-up.Notes
./gradlew :android-client-sdk:testDebugUnitTestand./gradlew :android-client-sdk:build— the SDK module builds and unit tests pass with the Netty bump alone.