Skip to content

Question on permissions #440

Open
Open
@IzzySoft

Description

@IzzySoft

Nice to see the update, Konrad! While it rolled in, it triggered a report at our scanners at IzzyOnDroid, maybe you can help us with clarification here so we can put the points on the app's "green list" with the proper explanation:

! repo/net.kollnig.missioncontrol_2024121502.apk declares intent-filter(s): android.net.VpnService
! repo/net.kollnig.missioncontrol_2024121502.apk declares sensitive permission(s):
  android.permission.READ_PHONE_STATE android.permission.QUERY_ALL_PACKAGES
! repo/net.kollnig.missioncontrol_2024121502.apk contains signature block blobs: 0x504b4453 (DEPENDENCY_INFO_BLOCK; GOOGLE)

I've just added

android.net.VpnService: needed to filter tracker access

as that's how the app works. I have no idea what it needs READ_PHONE_STATE for, though. QUERY_ALL_PACKAGES seems clear again: to choose apps to be filtered. So I've put:

android.permission.QUERY_ALL_PACKAGES: needed to list apps to filter trackers for

Last but not least, there's DEPENDENCY_INFO_BLOCK, which can easily be avoided by a minor addition to your build.gradle:

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

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. here: Ramping up security: additional APK checks are in place with the IzzyOnDroid repo.

So far:

image

Would be great if you could help us fill the gaps (especially for "chocolate warnings"), and get that blob removed.

PS: I've just checked my notes why TrackerControl is not enrolled for our RBs at IzzyOnDroid. It seems we were able to build the app, but there were differences in the *.so files keeping it from being RB. If you're interested to have the app enrolled (no signing change here as we already ship your builds), we gladly give it another try – for which it would help to know how your setup looks like, which tools and versions you are using and, if it's no secret, which path you build from (i.e. "the build directory location"). If you prefer, I'd open a separate issue for that then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions