Security
How we check the rules
Sikkio is a shared ledger, not a bank. This page explains how we test the rules inside it with a model checker, how money stays exact, and who can see what, in plain words.
Not a bank
Sikkio never holds, sends, schedules or verifies money. It records expenses, loans and payments and calculates balances. People settle outside the app, with a method they choose. There are no bank, card or wallet connections to break into.
What a model checker is
A model checker is a program that tries every path a small system can take. We write each money idea down as a short list of states and steps: a bill is added, a payment is marked paid, a loan is agreed. A tool called TLC, from the TLA+ language, then tries every order of events and reports any rule that can break, with the shortest path to the break.
A test checks the cases someone thought of. A model checker asks a bigger question: is there any sequence at all where this rule fails? When the answer is yes, we draw it on the chart as a red thread. The same model then feeds the charts on this site and the status maps in the app, so the picture and the rule cannot drift apart.
The flows we checked
Each flow is a small model, checked on its own. The numbers are TLC’s own counts: every state it reached and every step it took between them. A rule that “can break” is shown on purpose in the field guide, so you can see how it goes wrong.
18 flows · 349 states · 536 steps
01
A month of money
24 states28 steps
1 rule holds on every path.
- You never pay a late fee: can break, found in 2 steps.
- You never spend more than your budget: can break, found in 4 steps.
02
One bill becomes four
18 states18 steps
- The shares always add up to the bill: can break, found in 1 step.
03
How settle-up works
5 states6 steps
2 rules hold on every path.
04
A payment between friends
14 states22 steps
1 rule holds on every path.
- Only the person who received the money can confirm it: can break, found in 2 steps.
05
A loan between friends
16 states29 steps
1 rule holds on every path.
- Nothing is repaid until the other person has agreed to the terms: can break, found in 1 step.
06
Where an EMI goes
18 states18 steps
- What you owe never grows from one month to the next: can break, found in 2 steps.
07
The minimum payment trap
14 states14 steps
- You are eventually debt free: can break, found in 3 steps.
08
Snowball or avalanche
20 states20 steps
1 rule holds on every path.
09
A month on a budget
26 states70 steps
- You are always nudged before you go over the limit: can break, found in 6 steps.
10
Filling a goal
33 states91 steps
2 rules hold on every path.
- You can never have saved less than nothing: can break, found in 1 step.
11
A bill that comes back
11 states19 steps
- You never pay a late fee: can break, found in 2 steps.
12
Split trip costs in different currencies
7 states7 steps
1 rule holds on every path.
13
Where a paycheck goes
54 states53 steps
2 rules hold on every path.
- The paycheck covers every month: can break, found in 8 steps.
14
Four ways to earn
28 states36 steps
1 rule holds on every path.
- Money you put in to earn can never be lost: can break, found in 2 steps.
- Money comes in only while you work: can break, found in 4 steps.
15
Pay yourself first
13 states16 steps
2 rules hold on every path.
- Something is saved every month: can break, found in 2 steps.
- Spending always fits what is left: can break, found in 3 steps.
16
Where is this debt?
7 states12 steps
2 rules hold on every path.
17
Where is this group?
34 states66 steps
1 rule holds on every path.
18
Where is this invite?
7 states11 steps
1 rule holds on every path.
What the checker found in our own code
Where a model follows real code, a rule that breaks is a finding, not a drawing. Here is what we found, and we are listing it instead of hiding it:
- Loans: repayments can be recorded before the other person has accepted the terms, so “nothing is repaid until both agree” can break. Closed and written-off loan states exist in the database, but nothing sets them yet, so we have not drawn them.
- Debts: archiving a paid-off debt and restoring it brings back an active debt with nothing owed, because restore does not re-check the balance. The chart shows it as its own state.
- Payments: the group owner counts as the person who received the money when confirming or disputing, which matches the code. “Only the receiver can confirm” breaks only in the what-if where anyone can confirm.
Groups and invites hold every rule we wrote for them, and follow the real transitions in the database.
Money precision
- Money is stored as whole minor units (cents, paise) and calculated with exact integer maths. There is no floating point anywhere near an amount.
- Every split adds up to the total. When a bill does not divide evenly, the leftover cents go to people in a stable order, and the app shows where each cent went. The “One bill becomes four” plate shows what rounding each share down would lose.
- Interest and loan schedules round half to even, once, at the end of each step, so a schedule matches what a bank would print.
- Changes sync with idempotency keys, so a retried request is applied once. Conflicting edits to an amount are shown for review instead of silently overwritten.
Who can read your data
- Every database table uses forced row-level security in Postgres, so the database itself refuses to return rows a person is not allowed to see, even if application code has a bug. Each table has an automated permission test.
- Group access is explicit: owners, contributors and read-only view links. Revoking a link ends access at once, and a revoked link is never revived.
- Your own debts and private loan notes are owner-only and are never shared.
- Data is encrypted in transit (HTTPS) and at rest by our database and storage providers.
Analytics and diagnostics
- Our marketing website loads no analytics or tracking scripts.
- In the app, product analytics run only if you agree, on EU hosting.
- Error reports remove names, emails, notes, amounts, request bodies, cookies and auth headers before they leave your device or our servers.
Planned hardening
These are on the roadmap and not yet live. We will update this page when they ship:
- Encrypting saved payment handles (how a person likes to be paid) with a separate envelope key. Today they are stored as plain text, readable only by group members who can add payments.
- A dedicated security contact address.
Export and delete
You can export your data free as CSV or JSON, and delete a group or your account yourself in Settings. Deleting a group revokes its links at once. See the Privacy Notice for retention details.
Report a security issue
If you find a vulnerability, email support@sikkio.com with "Security" in the subject and steps to reproduce. Please do not access other people's data, run denial-of-service tests or publish details before we have fixed the issue. We will reply, keep you updated and credit you if you wish. We do not run a paid bug bounty.