Lumolight icon indicating copy to clipboard operation
Lumolight copied to clipboard

Remove DependencyInfoBlock

Open licaon-kter opened this issue 3 months ago • 1 comments

We find that there is a DependencyInfoBlock in your APK.

It's a Signing block added by AGP and encrypted with the Google public key so it can't be read by anyone else except Google. You can read more about it here and here.

While this was added a while ago, we were only enforcing it for new apps, and recently we started scanning updates too.

Could you please disable it with the following code?

android {
    dependenciesInfo {
        // Disables dependency metadata when building APKs.
        includeInApk = false
        // Disables dependency metadata when building Android App Bundles.
        includeInBundle = false
    }
}

We'll need a new release with this fix.

licaon-kter avatar Aug 14 '26 14:08 licaon-kter

@BitMavrick hey there, any update regarding it? I ain't creating new issue regarding as this one already exist.

Also see Google's own documentation on this.

For some background: that BLOB is supposed to be just a binary representation of your app's dependency tree. But as it's encrypted with a public key belonging to Google, only Google can read it – and nobody else can even verify what it really contains. More details can be found e.g. in our documentation on Signing Block Checks at our website, and in our blog article Ramping up security: additional APK checks are in place with the IzzyOnDroid repo.

duckniii avatar Oct 13 '26 13:10 duckniii