Skip to content
capitan0nPublic

About

Offline Android security audit tool. 90+ read-only checks across multiple privilege levels (base, ADB, Shizuku, root), 0–100 score and saved reports. Privacy-oriented, no internet permission, zero telemetry, fully local.

Topics

Resources

Contributing

Security policy

Stars

42 stars

Watchers

3 watching

Forks

Repository files navigation

Droynis

A read-only security and privacy audit for Android, inspired by Lynis (Android + Lynis). Droynis checks the phone it runs on, explains every finding, shows the evidence and opens the Settings screen that fixes it. It never changes anything itself.

  • 90+ checks in five areas: device integrity, access control, apps and permissions, suspicious apps, network and radios. Full list: docs/CHECKS.md.
  • Private: no INTERNET permission, no Google Play Services, no analytics. Nothing leaves the phone unless you share a report.
  • Honest: a check passes only on a value it actually read. When Android won't say, the result is Unknown, never Passed.

Not an antivirus. Droynis doesn't scan apps for malicious code or remove anything. It audits how the phone is set up, and points out risky access and signs adware leaves, such as an app that hides its icon. The one exception is a fixed list: it flags apps that match known stalkerware or monitoring apps (SUSP-5007).

Install

Android 8.0 or later.

Source
Get it on F-Droid Built by F-Droid from the tagged source; can arrive a few days after a release.
Get it on Obtainium Installs each GitHub release directly. Pre-releases only with Include prereleases.
GitHub Releases The APK, with a checksum and a GitHub build attestation.

To verify a GitHub download:

sha256sum -c droynis-<version>.apk.sha256
gh attestation verify droynis-<version>.apk --repo capitan0n/droynis

Each release lists the signing certificate's SHA-256. Check it on first install (for example with AppVerifier); Android then refuses any update signed with another key.

Tiers

Most checks need nothing. More access unlocks more checks; each tier also runs the ones before it.

Tier Setup Adds
Base none everything public Android APIs can read
ADB two grants from a computer, once dumpsys checks: special app access, Smart Lock, background camera, microphone and location use, Wi-Fi privacy, hotspot security
Shizuku the Shizuku app settings Android hides from apps: SELinux, SIM PIN, always-on VPN lockdown, passkey providers, mobile network encryption
Root opt-in switch in the app trusted computers, apps with root, root modules, apps listening on the network

⋮ › Check catalog shows which tiers are active and how to set up the rest. Shizuku and root run only a fixed set of read-only commands, and root stays off until you turn it on.

ADB tier setup (not needed with Shizuku or root): turn on USB debugging, connect the phone to a computer with adb (Arch/Manjaro: android-tools, Debian/Ubuntu: adb) and run:

adb shell pm grant io.github.capitan0n.droynis android.permission.DUMP
adb shell pm grant io.github.capitan0n.droynis android.permission.PACKAGE_USAGE_STATS

Tap Scan again, then turn USB debugging off. The grants survive reboots; pm revoke removes them.

Using it

  • Score: passed weight ÷ scored weight × 100 (critical 10, warning 5, notice 2, info 0). Any critical failure caps it at 40. Unknown, N/A and muted checks don't count.
  • Mute a check you can't fix, such as a patch only the maker can ship.
  • Trust an app that needs a lot of access on purpose, such as a watch app: it stays listed but stops counting in every check. ⋮ › Trusted apps lists them.
  • Reports: save or share as Markdown or JSON from the ⋮ menu. Hide personal details (on by default) hides IP addresses, DNS and proxy servers, trusted computers and Wi-Fi names. JSON keeps a fixed order, so diff compares two scans.
  • Scheduled scans (Reports tab, off by default) run about daily or weekly and can notify you of what got worse or got fixed. They add two permissions, notifications and starting after a reboot, and keep only each check's last status. If Android holds scans back to save battery, the card says so.

Build

JDK 21 and the Android SDK (compileSdk 37).

./gradlew check          # unit tests, lint, and docs/CHECKS.md matching the code
./gradlew assembleDebug  # app/build/outputs/apk/debug/app-debug.apk

assembleRelease signs with keystore.properties (git-ignored) or DROYNIS_* environment variables, and builds an unsigned APK without them, as F-Droid expects.

In the media

More

Credits and license

Droynis is GPL-3.0-or-later (LICENSE), by Alexandros (capitan0n) · https://github.com/capitan0n · capitan0n@protonmail.com.

It is an independent project, not affiliated with, endorsed by or connected to Lynis or CISOfy, and shares no code with it.

The stalkerware check uses Stalkerware Indicators by Echap, under CC BY 4.0. Only app names, package names and signing-certificate fingerprints are kept (scripts/update-stalkerware-indicators.py). Echap gives no guarantee that the list is accurate, and asks those who find it useful to consider donating to an organization that supports women facing violence in their country.

About

Offline Android security audit tool. 90+ read-only checks across multiple privilege levels (base, ADB, Shizuku, root), 0–100 score and saved reports. Privacy-oriented, no internet permission, zero telemetry, fully local.

Topics

Resources

Contributing

Security policy

Stars

42 stars

Watchers

3 watching

Forks

Releases

Used by

Contributors

Languages