Skip to content

Latest commit

 

History

History
193 lines (157 loc) · 15.1 KB

PRIVACY.md

File metadata and controls

193 lines (157 loc) · 15.1 KB

Privacy

This is a technical privacy note for the app, not legal advice. The app is a client: the person or organisation running the MeshCentral server decides what the server logs and who can access it.

This note describes the current source, including server-key approval and the opt-in update check as of release 0.12.6 in CHANGELOG.md. Published releases may have different features.

Summary

  • The app has no project account, advertising, analytics, telemetry, or crash-reporting SDK. No project server is preconfigured; the user selects the MeshCentral server.
  • It connects to the MeshCentral server you configure and, only after separate consent, to GitHub for update metadata. The native client uses /control.ashx, /meshrelay.ashx (desktop, Agent terminal and Agent files), /sshterminalrelay.ashx (SSH) and /sshfilesrelay.ashx (SFTP). With the optional plugin it also uses <your-server>/mobilecompanion/events on the same origin.
  • MeshCentral credentials and the app PIN are encrypted with an Android Keystore key. Android backup and device transfer are disabled.
  • Server profiles keep separate credentials, favourites and recent devices. The app PIN and privacy switches are global.
  • Background notifications are opt-in. They use a read-only bearer token stored in Android Keystore-backed storage, a same-origin HTTPS request and no FCM. The notification text is generic and does not contain a hostname, address, account, command result or diagnostic output.
  • SSH passwords, private keys and passphrases are kept only in memory for the current prompt and outbound message. New credentials use keep=false or keep:0 where the relay carries a keep flag; a server-saved key passphrase uses sshkeyauth. The app does not save any of them.
  • Screen frames, terminal output and file transfers pass through your MeshCentral server and the controlled computer. The app does not record the remote desktop. Server-side terminal recording may exist and is outside the app.
  • The terminal uses a local WebView with bundled assets. The raw Debug WebView in Settings is a separate WebView that loads the configured server page.
  • The app does not request microphone access; see Microphone and voice.

Data stored on the device

Data Storage Protection
Server profiles (id, name, URL, onboarding, debug switches and optional SHA-256 server public-key fingerprint), favourites, app settings App-private SharedPreferences Not encrypted; configuration data, but a server URL can reveal an internal host name. The fingerprint is public certificate metadata, not a credential.
Recently opened devices App-private SharedPreferences Node ids and timestamps only, at most 20 per profile and account; the scope key is hashed. Device names and addresses are not stored.
MeshCentral user name and password App-private storage, scoped by profile and server AES-GCM with a non-exportable Android Keystore key; written only after a successful login.
Remembered-device 2FA cookie, account/endpoint scope and expiry App-private SecureVault, one active account per profile AES-GCM with the Android Keystore key; only after a successful code-based login with the remember-device option enabled. Deleted on expiry, server rejection, logout, credential clearing, profile switch/deletion, server/account change or Forget this device in server settings. No TOTP secret is stored.
App PIN App-private storage, global Random salt, PBKDF2-HMAC-SHA256 (120,000 iterations, 256-bit), then AES-GCM with the Keystore key.
SSH password, private key and passphrase Process memory only Used for the current authenticated SSH/SFTP session; new credentials use keep=false/keep:0 where supported, saved-key unlock uses sshkeyauth; not persisted, logged, or put in a Bundle.
MeshCentral session, relay and SSH viewer authentication cookies Process memory Not written to disk; cleared on logout, identity change, or process exit. SSH/SFTP viewer sockets use the same server-issued authentication cookie as the native relay.
Background-notification token App-private storage, scoped by profile and server AES-GCM with the Android Keystore key; read-only bearer token with a 30-day TTL; revocable; never written to a URL or log.
Notification settings, cursor and bounded event feed App-private SharedPreferences Non-secret event metadata and preferences; no bearer token, password, hostname, command output or address.
Update consent, last attempt/result, skipped/deferred version and verified public release metadata App-private SharedPreferences No account or session data; consent is asked once per installed version.
Transfer queue, selected source URIs, file names and progress Process memory Runtime only. A shared content:// URI is not persisted; after process death the file must be shared again.
Quick Help report before sharing Process memory Redacted model: no device name, server, IP, user, hostname, node/job id or raw output. It leaves the app only on an explicit share action.
Terminal output and scrollback Process memory Not written to app files or preferences; discarded when the session is disposed or the process ends.
Remote directory names/paths and transfer state Process memory Used to render the file screen and drive a transfer; not persisted as a local file index.
Local files chosen through SAF The document provider selected by the user The app reads an upload source or writes a download destination. Failed/cancelled downloads may leave a partial document at that user-selected location.
WebView cookies and storage, only if the raw Debug WebView is used Android WebView storage Separate from the local terminal renderer; cleared by the clear-session action in Settings → Data; excluded from backup.
Clipboard text copied from a terminal selection Android system clipboard Written only by an explicit Copy selection action; other apps may read the Android clipboard under platform rules.
Screenshots and recent-app previews Android system FLAG_SECURE when Block screenshots is enabled; otherwise the screen can be captured. Off by default.

Android backup is disabled with android:allowBackup="false" and with backup/data-extraction rules that exclude all app preferences, databases, and files from cloud backup and device-to-device transfer.

You can remove stored MeshCentral credentials and the current session in Settings → Data. Uninstalling the app removes its local data; it does not delete anything from your MeshCentral server.

Network connections

For remote control, the native client opens HTTPS/WSS connections to the MeshCentral base URL you configure:

  • /control.ashx for authentication, the control channel and optional plugin messages.
  • /meshrelay.ashx for the desktop, Agent terminal and Agent files relays.
  • /sshterminalrelay.ashx for the SSH terminal relay.
  • /sshfilesrelay.ashx for the SFTP relay.
  • <your-server>/mobilecompanion/events for the optional read-only notification feed.

The SSH/SFTP sockets include the device nodeid and the server-issued authentication cookie. SSH is terminated by MeshCentral; Android does not connect directly to the SSH host.

The optional notification request uses Authorization: Bearer <token> only. It rejects cookies, redirects, query tokens and self-signed certificate exceptions; it uses the Android system trust store. The token is bound to the configured origin and is never placed in a URL. There is no FCM or other push provider or separate project push service; requests go to the configured MeshCentral server.

The server operator can see the connecting IP address, account name, device list, session timing, SSH host selection, plugin job metadata and traffic passing through these relays. Server-side logging, SSH host-key policy, terminal recording, plugin installation and access control are outside the app.

If a review or demonstration server is provided, its operator controls that server's data and access, just as for any other selected server.

Optional GitHub update checks

Update checks are off until you agree in the consent dialog or enable them in Settings. The dialog is shown after the first successful sign-in and once per installed version after an update; dismissing it leaves checks off. Settings lets you disable checks, check when due, postpone a release or skip a version.

With consent, while the app is in the foreground it reads the ten most recent public releases from https://api.github.com/repos/papajon123/meshpilot-android/releases?per_page=10, including prereleases, then reads release-info.json and SHA256SUMS from their GitHub release assets. Asset requests may redirect to GitHub's release-assets.githubusercontent.com CDN. These are unauthenticated GET requests through a separate HTTP client with no cookies, tokens, MeshCentral server address, credentials, device inventory or other session data. GitHub and its CDN see the source IP address, requested public paths and ordinary HTTP headers, including the generic MeshPilot-UpdateCheck User-Agent. The app does not send its installed version or signing fingerprint.

Checks happen on foreground entry or the Settings button, at most once every 24 hours, including after failures or interrupted checks. There is no background update worker. Leaving the foreground or disabling checks cancels the in-flight check. The app saves the last result and public release metadata locally; diagnostic logs contain fixed rejection categories only, never URLs or response bodies.

The app cross-checks the release's checksum and certificate metadata, and compares the signing identity with the installed app. It does not download or cryptographically verify the APK itself. Download opens the fixed GitHub release page in your external browser; that browser's privacy settings then apply. Android verifies the APK signature if you choose to install it yourself. No installation permission is requested by this app.

The terminal renderer is local: it loads only bundled xterm assets through an intercepted reserved origin, with network and file access blocked. It receives no MeshCentral cookie or SSH secret. This is separate from the raw Debug WebView, which loads pages from the configured MeshCentral server; those pages may request other resources according to the server configuration and may create WebView cookies.

Remote session data

  • Desktop frames are decoded into memory to draw the remote screen. The app does not record the desktop or save frames to storage.
  • Terminal input, output and resize messages travel through the MeshCentral relay. MeshCentral or the controlled computer may record terminal sessions; when the relay reports recording, the app displays a notice. The app itself does not save terminal output to storage.
  • SSH passwords/keys are sent only to the MeshCentral server for the current session. They are not written to preferences, logs, saved state, or the terminal renderer.
  • File listings and contents pass through MeshCentral. The app streams an upload from the chosen source, or writes a download to a newly selected document. No file content is sent to the project or kept in an app file cache. A shared source URI is read only for the queued upload.
  • Plugin job requests, results and history stay on your MeshCentral server. The server retains 7 days of history, at most 40 jobs and 64 KiB of output per job. The app sends only the selected fixed template, its allowlisted parameters, the node id and an operation id; it does not send arbitrary shell input.
  • Service start/stop/restart requires a confirmation and the server-side right check. A running job cannot be cancelled, and the app does not report a kill that did not happen.
  • The Quick Help report is generated from a bounded diagnostics result. It excludes the device name, server, IP address, user, hostname, node/job id and raw command output; only the user can share it.
  • Clipboard exchange is text-only and happens only when you use a clipboard action, paste, or copy. The app does not monitor the Android clipboard in the background.
  • A view-only desktop session does not send input.
  • The controlled computer and the MeshCentral server may keep their own logs, clipboard history, terminal recordings, file-operation logs, or screen recordings according to their configuration.

Background notifications

  • Notifications are off until you enable them for a profile.
  • Enabling registers a read-only token over the authenticated websocket. The token is returned once, stored with the Android Keystore key, and expires after 30 days. The app stores its id so it can revoke it on logout; a failed online revoke is shown as a limitation.
  • WorkManager polls at a 15-minute best-effort interval. Android may delay a poll because of Doze, battery settings or vendor restrictions; there is no instant-push guarantee.
  • The notification body is generic. The public lockscreen version contains no event details. Tapping it after unlock opens the right profile, device or job; the routing identifiers stay in the intent data and are not shown on the lockscreen.
  • Quiet hours, per-kind filters, duplicate suppression and event TTL are applied on the device.

Quick Help reports

A report can be shared only by an explicit user action. The model cannot hold a device name, server, address, user, job id, operation id, node id, hostname or raw output. It contains the template id, status, exit code, timestamps, disk/network counts and warning kinds (for example high disk, high memory, truncated result or incomplete job). Unknown findings remain unknown.

Microphone and voice

The app does not declare RECORD_AUDIO and contains no speech-recognition call.

Your installed Android keyboard may offer its own dictation feature. Its audio processing and privacy settings belong to that keyboard and its speech provider, not to this app. Text committed by the keyboard is handled like other remote input.

App lock, biometrics, and screenshots

  • The app lock is optional. When enabled, it can use a PIN, Android biometrics, or both.
  • Biometric authentication is performed by the Android BiometricPrompt. The app receives only success or failure and does not access fingerprint or face templates.
  • Biometric unlock requires Android 9 or newer; the PIN remains the fallback.
  • Block screenshots is optional and off by default. When off, the remote desktop or terminal can appear in screenshots and in the recent-apps list. When on, Android blocks screenshots and hides the app in the recent-apps preview.

Children and sensitive data

The app is a remote-administration tool. It is not directed at children. Treat remote desktops, terminal output, clipboard contents, SSH credentials, file contents and captured credentials as sensitive; do not use the app on a device you do not control.

Changes and contact

This note is versioned with the repository and should be updated when data handling changes. Privacy questions can be opened as a GitHub issue without personal data. Security problems should use the private channel in SECURITY.md.