https://github.com/x13a/sentry
Enforce security policies
https://github.com/x13a/sentry
android kotlin security
Last synced: 10 months ago
JSON representation
Enforce security policies
- Host: GitHub
- URL: https://github.com/x13a/sentry
- Owner: x13a
- License: gpl-3.0
- Created: 2022-02-20T02:31:53.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-27T21:12:10.000Z (over 3 years ago)
- Last Synced: 2025-04-05T09:51:09.814Z (10 months ago)
- Topics: android, kotlin, security
- Language: Kotlin
- Homepage:
- Size: 687 KB
- Stars: 124
- Watchers: 5
- Forks: 11
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sentry
Enforce security policies.
[
](https://f-droid.org/packages/me.lucky.sentry/)

Tiny app to enforce security policies of your device.
It can:
* limit the maximum number of failed password attempts
* disable USB data connections (Android 12, USB HAL 1.3, Device Owner)
* disable safe boot mode (Android 7, Device Owner)
* notify on failed password attempt
* notify when an app without Internet permission got it after an update
Be aware that the app may not work in _safe_ mode.
## Permissions
* DEVICE_ADMIN - limit the maximum number of failed password attempts
* DEVICE_OWNER - disable USB data connections
* NOTIFICATION_LISTENER - receive lock/package events
* QUERY_ALL_PACKAGES - receive all package events
## Example
To set as Device Owner:
```sh
adb shell dpm set-device-owner me.lucky.sentry/.admin.DeviceAdminReceiver
```
## Localization
[
](https://crwd.in/me-lucky-sentry)
## License
[](https://www.gnu.org/licenses/gpl-3.0.en.html)