# Security Policy ## Project status & response expectations Nightzuku is a personal, best-effort open-source project and is **not** the maintainer's primary active project. Reports are handled on a volunteer basis with no SLA and no bug bounty program. Initial responses may take time; please plan accordingly. ## Supported versions Security reports are accepted for: - The latest official CI-built release (`kerneldroid.nightzuku`) - The active `dev` branch Older releases, unofficial forks, and custom builds are not supported. ## Scope ### In scope - Privilege escalation or authorization bypass in `shizuku_server`, `:manager`, or `rust/starter` - Authentication, signature verification, replay protection, or scope-enforcement bypasses in **Automation & Intents** (`NightControlProvider`, `NightControlReceiver`, `ControlAccessRequestActivity`) - User/profile isolation bypasses in `UserAccessPolicy` or Binder delivery - Local or network vulnerabilities in the wireless ADB pairing/connection client ### Out of scope - Removed components (such as ADB Modules and LPE Connectors) - Capabilities inherently granted to an app once the user explicitly approves ADB (`uid 2000`) or root (`uid 0`) access - Attacks requiring existing root/ADB shell privileges or physical access to an unlocked device - Malicious third-party client apps abusing permissions the user intentionally granted - Denial-of-service against GitHub or third-party infrastructure ## Reporting a vulnerability privately 1. **GitHub Security Advisories (preferred):** Submit via [Report a vulnerability](https://github.com/kerneldroid/Nightzuku/security/advisories/new). 2. **Encrypted email:** Encrypt with the [maintainer's OpenPGP public key](security-public-key.asc) and send to [kerneldroid@proton.me](mailto:kerneldroid@proton.me). Verify the primary fingerprint before encrypting: `7D68 F93D 57B9 E7E1 0A64 A575 0296 1045 5ADD 29E9` Pseudonymous sender addresses are welcome. Note that OpenPGP protects message content, not email routing metadata. 3. **Plaintext email:** If encryption is not possible, send non-sensitive reports to [kerneldroid@proton.me](mailto:kerneldroid@proton.me) without secrets or private attachments. Include: - Affected Nightzuku version or commit SHA - Affected component and startup mode (Wireless ADB, tethered ADB, or root) - Android version and device model - Prerequisites, reproduction steps or PoC, and observed security impact Redact personal account data, tokens, and device identifiers. Test only on devices you own or are explicitly authorized to test. ## Coordinated disclosure policy - **When acknowledged:** Please keep the vulnerability private while a fix and advisory are coordinated (standard 90-day disclosure window from acknowledgment, or earlier upon release of a fix). - **45-day unacknowledged / ignored rule:** If a valid vulnerability report or CVE receives **no response or acknowledgment from the maintainer within 45 calendar days** of private submission through one of the channels above, the reporter may publicly disclose the issue without further waiting. For ordinary bugs and feature requests, use [GitHub Issues](https://github.com/kerneldroid/Nightzuku/issues).