Repository navigation
fix(security): clear remaining Dependabot alerts (Kotlin plugin, httpclient, commons-lang3) - #96
Conversation
…g3 floors - kotlin-gradle-plugin 2.2.10 -> 2.4.20 on the root buildscript classpath (AGP 9.4.1 still ships 2.2.10; GHSA-r937-wjx7-w2jp, Kotlin build cache unsafe deserialization) - httpclient 4.5.6 -> 4.5.14 and commons-lang3 3.16.0 -> 3.21.0 on the Android lint tool configuration (GHSA-7r82-7xv7-xcpj, GHSA-j288-q9x7-2f5v), as per-module floors because org.apache.commons also holds commons-compress and commons-codec All build-toolchain only; nothing reaches the published AAR. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018LexopwXbMBrV7EjBEdWu8
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughThe buildscript classpath now constrains the Kotlin Gradle plugin to the version in the version catalog. Android dependency resolution now checks module-specific floors for Android lint’s Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to The Kotlin plugin resolves to 2.4.20, and Android lint’s vulnerable dependency requests are covered by the module-specific floors. No identified issue prevents merging. Pre-merge checks |
|
|



What & why
7 Dependabot alerts are open. Status of each:
mainby #95 — the alerts should close once GitHub re-scans the dependency graph (the SBOM already lists only 2.22.3)All of these are build-toolchain transitives; none reaches the published AAR.
Changes
kotlin-gradle-plugin— AGP 9.4.1 still resolves 2.2.10 on the root buildscript classpath. Added a constraint tolibs.versions.kotlin(2.4.20), the version:androidalready uses.httpclient/commons-lang3— the Android lint tool (androidLintTool) resolved httpclient 4.5.6 (via httpmime) and commons-lang3 3.16.0 (via commons-compress). Added per-module floors inandroid/build.gradle.kts; the existing floors are per group, andorg.apache.commonsalso holds commons-compress and commons-codec, which shouldn't be moved.httpcliententry ingradle/libs.versions.toml, plus comment updates.Verification
buildEnvironmentand:android:dependencies --configuration androidLintToolnow resolvekotlin-gradle-plugin 2.2.10 -> 2.4.20,httpclient 4.5.6 -> 4.5.14andcommons-lang3 3.16.0 -> 3.21.0.assembleRelease/ unit test run was not possible locally (no Android SDK in my environment), so that is left to CI.🤖 Generated with Claude Code
https://claude.ai/code/session_018LexopwXbMBrV7EjBEdWu8
Generated by Claude Code