Repository navigation
Conversation
Health Connect pulls Guava 32.0.0 into the release APK through kotlinx-coroutines-guava. A constraint lifts it to 33.7.2-android, the fixed release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On push, pull request and weekly, since new advisories arrive without any code change. Gradle keeps no lockfile, so CI writes one for releaseRuntimeClasspath through an init script; nothing is committed, so dependency bumps need no relock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Adds a dependency scan for the libraries the release APK ships, and fixes the one advisory it found.
Guava fix
OSV-Scanner flagged Guava 32.0.0 in the release APK (GHSA-xxph-c9ww-hj94: unbounded memory use when Guava collections are deserialized). It comes in through Health Connect's client via
kotlinx-coroutines-guava. A constraint inapp/build.gradle.ktsraises it to the fixed 33.7.2-android. The app likely never deserializes Guava collections, but the fix is one line.Dependency scan workflow (
osv-scanner.yml):appreleaseRuntimeClasspaththrough an init script (.github/scripts/lock-all.gradle.kts). Nothing is committed, so dependency bumps never need a relock. Build tools (lint, KSP) and test libraries are left out, since they never reach a phone. A full scan finds 16 more advisories there.Checked locally: without the Guava fix the scan reports the advisory and exits 1; with it, no issues and exit 0. The tests, lint and detekt still pass with the new Guava.
🤖 Generated with Claude Code