Skip to content

Security and threat model ​

Tickler is built so that the people who make it never hold your data. This page explains what's protected, how, and what isn't covered, so you can decide for yourself.

To report a vulnerability, see Reporting a problem below.

The short version ​

  • Self-hosted: your entries, projects, origins, provider keys and money numbers live on your server and your phone. Nothing goes to us.
  • Tickler Cloud: each customer's server is a separate Durable Object with its own SQLite database, reachable only through its own address and its own tokens. Provider keys are encrypted with a key unique to that server. The control plane stores only the account (Apple user id, email, subscription state), never server contents. Internal provisioning routes are not reachable from the internet and need a key derived from the Cloud secret.
  • Every client (phone, AI tool) gets its own token. Only a hash of each token is stored. Any of them can be revoked on its own.
  • Provider keys are encrypted on your server and are read-only keys you create.
  • Store webhooks are verified before anything is recorded.

What's where ​

DataWhere it livesProtection
Entries, projects, origins, activityYour server's database (D1 on Cloudflare, a SQLite file on Docker)Only reachable with a valid token
Provider keys (Stripe, AWS, ...)Your server's databaseEncrypted with AES-GCM, using a key derived from TICKLER_SECRET. Never sent to the app or returned by the API.
Token for each phone and AI toolYour server stores a SHA-256 hash onlyThe plain token is shown once
Admin loginYour serverPasskey (WebAuthn) or a passphrase
The phone's own tokeniPhone Keychain or Android Keystore-backed storageNever in backups in plain text
Synced entries and numbers on the phoneThe app's local databaseiPhone file protection "complete"; Android app-private storage

The app never stores provider keys. When you paste one in the app, it goes straight to your server over HTTPS.

Who can do what ​

CallerHow it proves itselfWhat it can reach
A paired phoneDevice token (tkd_...)The app API (/api/*)
An AI tool with a tokenMCP token (tkm_...)/mcp, and posting manual metrics
An AI tool through OAuthAccess token issued by your server after you log in and press Allow/mcp only
You in a browserPasskey or passphrase on /setupSetup: pairing, tokens, provider keys
A store (Apple, Google, Amazon, Stripe)Signed webhook, verifiedRecords sales events only

Protections in the server ​

  • Webhook signatures are always checked: Apple's signed payloads against Apple's root certificates, Google's push token, Amazon's message signature and Stripe's signing secret. Unverified calls are rejected.
  • Rate limits on /setup, /oauth and /mcp, and 60 writes a minute per AI token.
  • Pairing codes are single use, expire after 10 minutes, and repeated wrong guesses are slowed down.
  • CORS is locked, so random websites can't call your server from your browser.
  • Every write is logged with who made it (device, token or OAuth client) and which origin.
  • Revoke anything from /setup or the app: phones, MCP tokens, OAuth clients.

Threat model ​

What Tickler protects against ​

ThreatProtection
The makers of Tickler, or anyone who hacks them, reading your dataThere is nothing to read: we don't run a backend with user data. The app talks only to your server.
A stolen or lost phoneRevoke its device token on /setup. On the phone, data sits in OS-protected storage behind your passcode.
A leaked MCP token (pasted in a repo, a screenshot)Revoke that one token; others keep working. A token can't read provider keys or change setup.
Someone finding your server's addressEverything except health and pairing needs a token. Pairing needs a fresh code that only you can create.
A fake webhook adding false salesSignatures are verified; unverified calls are dropped.
A copied database fileProvider keys inside it are encrypted; tokens are only hashes.
An agent creating spam entries60 writes a minute per token, and the activity log shows which token and session did it.

What it doesn't protect against ​

Be aware of these:

  • Your hosting account. Whoever controls your Cloudflare account, or the machine running Docker, controls your Tickler data and TICKLER_SECRET. Protect those accounts with strong passwords and two-factor login.
  • Your AI tools. An AI tool you connect can create, change and complete entries, and read your entries and money summary. A connected tool that is tricked by a malicious web page or file (prompt injection) could do the same. Connect tools you trust, and revoke tokens you no longer use.
  • Entry contents are not end-to-end encrypted. Your server stores entries in readable form so it can search and sort them. That's fine because it's your server, but it means server access equals data access.
  • Your provider keys' own permissions. Tickler's guides tell you to create read-only keys with the smallest permissions. If you paste a key with more power, a compromised server could misuse it.
  • Webhook payloads from stores contain product ids, prices and countries of purchases, but no buyer names or emails.
  • Old Docker images. Keep your server updated; see updating.

Things we will never do ​

  • Add analytics, ads or third-party tracking SDKs to the apps.
  • Collect your entries, keys or numbers.
  • Require an account with us.

The only planned exception is an optional push relay (planned for v1.1, off by default) that would see your phone's push token and a random id, and nothing else. See Privacy.

Reporting a problem ​

Please report security issues privately to security@tickler.cloud, not in public issues. See SECURITY.md for what to include and what to expect.

Server released under AGPL-3.0. Your data stays on your server.