| Version | Supported |
|---|---|
| 0.4.x | Yes |
| < 0.4 | No |
Security fixes are released on the latest minor version. See CHANGELOG.md for release history.
Note on numbering: a
v1.1.0tag exists from 2026-07-04, before releases moved to release-please. It sorts above the current line but is older thanv0.4.0. The active sequence is0.2.0→0.3.0→0.4.0.
Please do not open public GitHub issues for security vulnerabilities.
Use private vulnerability reporting — the Security tab on this repository. It goes straight to the maintainers, stays private until a fix ships, and needs no email round-trip.
Include:
- Affected version(s) and build type (debug vs release)
- Steps to reproduce
- Impact assessment (confidentiality, integrity, availability)
- Proof of concept, if available
We aim to acknowledge reports within 3 business days and provide a remediation timeline within 10 business days for confirmed issues.
This repository is a thin Capacitor WebView wrapper. It does not implement game
logic, authentication, or user data storage. Sensitive behavior lives on the remote
web application at https://ahousedividedgame.com (the app loads the apex host; www
is allowlisted only so the Discord OAuth callback lands inside the WebView).
| Control | Implementation |
|---|---|
| Transport encryption | HTTPS-only remote URL; cleartext: false; usesCleartextTraffic="false"; network security config blocks cleartext |
| Session storage | HTTP-only JWT cookie on the game domain (set by the server, not this app) |
| Backup exfiltration | android:allowBackup="false" |
| Debug WebView inspection | Enabled only when FLAG_DEBUGGABLE (debug builds) |
| External navigation | Non-allowlisted hosts open in Custom Tabs, not the WebView |
| File sharing scope | FileProvider limited to cache-path/shared/ |
| Release hardening | R8 minification + resource shrinking with Capacitor keep rules |
These are documented architectural choices, not oversights:
-
OAuth inside the WebView — Required so OAuth callback redirects set the session cookie in the WebView jar. Google Sign-In discourages embedded WebViews; Discord OAuth is the primary path. Mitigation: strict
allowNavigationhost list. -
Third-party cookies enabled — Required for some OAuth flows. Scope is limited to configured OAuth and game domains.
-
No certificate pinning — The WebView trusts the system CA store. Pinning would complicate rotation and is uncommon for consumer WebView wrappers. MITM risk exists on compromised devices or networks.
-
Remote content dependency — XSS or supply-chain issues in the hosted web app affect users inside the wrapper. The wrapper cannot sandbox game JavaScript beyond standard WebView isolation.
-
POST_NOTIFICATIONS declared — Permission is declared for Phase 2 push notifications but not yet requested at runtime until FCM is wired.
Never commit:
*.keystore,*.jksandroid/keystore.propertiesgoogle-services.json.env
Use android/keystore.properties.example as a template. Store signing credentials in CI secrets or a password manager, not the repo.
- Run
npm auditbefore releases (npm run audit). - Dependabot opens PRs for npm and GitHub Actions updates.
- Review Capacitor and Android Gradle Plugin release notes when upgrading.
Before each release:
-
npm ci && npm run typecheck && npm run audit -
./gradlew testand./gradlew assembleReleaselocally (with signing config) - Verify OAuth login (Discord) and session persistence after app restart
- Confirm external links open in Custom Tabs, not the WebView
- Merge the release-please PR and verify
CHANGELOG.md+ version bumps