XPrivacy icon indicating copy to clipboard operation
XPrivacy copied to clipboard

System (installed applications) data leak

Open unclefab opened this issue 13 years ago • 12 comments

With some apps restricting access to the installed apps works, but for some it doesn't and somehow they still manage to access the list of installed apps.

unclefab avatar Jul 06 '13 16:07 unclefab

Do you have an example? Are you sure the app list is not cached? (a lot of apps do this) Did you account for the 15 second settings cache?

M66B avatar Jul 06 '13 16:07 M66B

No cache, and of course I waited. Apps like side bars (home flip, side bar etc.). For those apps it's not a big deal since they need to know which apps are installed in order to do their work, but if they can do it even if they have been restricted some others can as well.

unclefab avatar Jul 06 '13 17:07 unclefab

I have installed side bars and it looks like a list of recent apps. Is that the same for the other apps? http://developer.android.com/reference/android/app/ActivityManager.html#getRecentTasks%28int,%20int%29 I will try to fix it.

M66B avatar Jul 06 '13 19:07 M66B

Should be fixed now. http://www.faircode.eu/xprivacy/XPrivacy_1.0.1.apk Please let me know if it isn't. I tested with Side bars only.

M66B avatar Jul 06 '13 20:07 M66B

So I've installed version 1.0.1, and I've seen that you had added many options in the installed apps section. I selected all, and I wiped side bar to make sure that there isn't any cache. But it still can access my apps. I mean, not recently running apps but apps that I can choose and insert from within sidebar to customize it, and that I can open afterwards which means that sidebar has full access to them. Strange, because at the same time my stock task manager can't display the recently and currently running apps if I restricted their access from xprivacy...

unclefab avatar Jul 06 '13 22:07 unclefab

"I mean, not recently running apps but apps that I can choose and insert from within sidebar to customize it" How can I do this? Side bars is confusing me.

M66B avatar Jul 07 '13 12:07 M66B

Maybe you mean widgets?

M66B avatar Jul 07 '13 12:07 M66B

http://developer.android.com/reference/android/appwidget/AppWidgetManager.html

M66B avatar Jul 07 '13 12:07 M66B

Sorry, my last message was not very clear... I freshly installed sidebar (so no cache, no data) and xprivacy blocked automatically the permissions, so in theory sidebar shouldn't be able to see which apps are installed on my device. But when I opened sidebar and clicked on the cross to add apps the usual sidebar apps list popped out and showed all my installed apps. I chose a few apps, and once they were on sidebar I tried to open them from sidebar to see if it worked and it did. This means that, eventhough apps access is restricted in xprivacy, sidebar finds a way to access the apps.

unclefab avatar Jul 07 '13 16:07 unclefab

Got it, now find out how this is possible.

M66B avatar Jul 07 '13 16:07 M66B

Found and fixed the leak. Try it if you like: http://www.faircode.eu/xprivacy/XPrivacy_1.1.1.apk

M66B avatar Jul 07 '13 17:07 M66B

Waow, it works, I'm impressed... You are great mate, thanks a lot!

unclefab avatar Jul 07 '13 20:07 unclefab