Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tamper Protection Bypass #32

Open
FlingCarnationProposal opened this issue Jan 20, 2025 · 2 comments
Open

Tamper Protection Bypass #32

FlingCarnationProposal opened this issue Jan 20, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@FlingCarnationProposal
Copy link

Have you checked it on Project Progress ?
Yes

Describe the bug
Tamper protection & uninstall window can be bypassed by disabling device admin.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Settings.
  2. Navigate to Device Administrators.
  3. Click on 'Mindful' app.
  4. Disable it. The app can now be forced stopped & (presumably) uninstalled despite outside uninstall time window.

It is also noted that this bypass can also be triggered in the app info page, as clicking 'Uninstall' while device admin is active leads the user to a page where the device admin can be deactivated and the app uninstalled.

Expected behavior
It is expected that the user is stopped at some point prior to disabling device admin outside of the time window.

Screenshots
TBD

Additional context
If it helps, I am using a Huawei phone.

Log file
N/A

@FlingCarnationProposal FlingCarnationProposal added the bug Something isn't working label Jan 20, 2025
@akaMrNagar
Copy link
Owner

I know, it is working as intended but soon i will add the ability to prevent user from disabling it from both app usage and device settings but it will need accessibility permission.

I will try to add this in the mext update. Hope you will understand

@akaMrNagar akaMrNagar added enhancement New feature or request and removed bug Something isn't working labels Jan 21, 2025
@FlingCarnationProposal
Copy link
Author

Ah! That's perfectly understandable. Thank you for clarifying!

@akaMrNagar akaMrNagar moved this to Todo in Mindful Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants