ci(security): disable vulnerable Kotlin cache paths - #243
Merged
Conversation
papi-ux
force-pushed
the
agent/disable-gradle-build-cache
branch
from
August 18, 2026 23:19
b071dea to
ad9a476
Compare
papi-ux
force-pushed
the
agent/disable-gradle-build-cache
branch
2 times, most recently
from
August 18, 2026 23:25
67469f4 to
41dc8c8
Compare
papi-ux
force-pushed
the
agent/disable-gradle-build-cache
branch
from
August 18, 2026 23:30
41dc8c8 to
9d021fc
Compare
papi-ux
marked this pull request as ready for review
August 18, 2026 23:47
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
kapt.incremental.apt=falsewhile Nova remains on vulnerable Kotlin 2.3.21--no-build-cacheexplicitly to every CI Gradle invocationMitigates Dependabot alert #42 / CVE-2026-53914. The upstream fix hardens deserialization of KAPT's incremental
java-cache.binandapt-cache.bin.Scope
This is a temporary pre-release containment, not a claim that the vulnerable Kotlin plugin has been upgraded. Nova does not currently apply KAPT, so the known vulnerable path is not reachable in the present build; the explicit property keeps it fail-closed if KAPT is introduced before the toolchain upgrade.
Maven Central currently has patched
2.4.20builds only through2.4.20-RC. Nova stays on stable2.3.21until the Kotlin/Compose/AGP combination can be upgraded and qualified together.The Dependabot alert should remain open until a stable patched Kotlin release replaces this mitigation.
Verification
Exact head:
9d021fc2e4833f3287a89365a9b81927bea14129, based on masterbefb1f4824eb2b2c6be6bff2de9cc509f46d0132.Fedora verifier with an initialized native submodule and the Android SDK:
org.gradle.caching=truekapt.incremental.apt=falsewas absentgit diff --checkcleanProtected exact-head CI passed: Build Nova APK (lint, JVM tests, helper tests, and release assembly), CodeQL, and Public Hygiene.