Skip to content

[SECURITY] Request QUERY_ALL_PACKAGES and scan all installed apps for non-play-store apps. #35

@sebastiannielsen

Description

@sebastiannielsen

There is a security issue, where someone could "link" or "share" the app by installing apps outside of Google Play on the phone. These apps does not meet Googles Rules for API usage, meaning they can for example bypass restrictions set by the app maker that prevents for example taking screenshots and similiar.

To combat this, many security sensitive apps now request QUERY_ALL_PACKAGES access, and then scans the all installed apps on phone.
If any app is found to come from outside the Play store (and is not a app from the phone manufacturer), the user is asked to uninstall the app before further usage of the app is allowed.

It could be sensible to have an whitelist of "approved non-play store apps" like Samsung Pay and such that are installed from Samsung Store - but this is then dependant on phone manufacturer, so each phone model has its own whitelist.

The app BankID ( https://play.google.com/store/apps/details?id=com.bankid.bus ) which is an electronic ID app does this. (you can verify this by checking the manifest for the QUERY_ALL_PACKAGES permission, you cannot however verify this in-person as it requires a valid electronic ID from Sweden).

I think this app should do it aswell. Theres absolutely no reason to install apps from outside the Play Store, and it can harm the integrity of the age verification app despite using Remote Attestation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions