Security policy
Resolution holds a person's money records, their model keys and, when live, a path to their broker. We treat security reports as the most urgent work there is.
Reporting a vulnerability
Please do not open a public issue. Instead, report it privately through GitHub: go to the repository's Security tab and choose Report a vulnerability.
Include what you found, how to reproduce it, and what an attacker could do with it. We aim to confirm receipt within three working days and to agree a disclosure date with you.
In scope
- Anything that could place, change or cancel an order without the owner's signature, or send an order to a venue the owner did not sign for.
- Anything that could let a rule graded HARD pass without a written override, or edit the Record without breaking its hash chain.
- Leaks of model keys, API tokens, webhook secrets, the owner token or backup keys into logs, the Record, the browser or a prompt.
- Content from web pages, news, documents or model output that changes rules, sizes or thesis state (prompt injection past the belief filter).
- Authentication bypass on the web app, the
/api/v1API, MCP or webhooks. - Weaknesses in the backup encryption, restore, or erase (GDPR) paths.
Out of scope
- Findings that need someone who already has root on the owner's machine.
- Attacks that start with the owner's IBKR session being logged in on a compromised machine. IBKR's own login is IBKR's responsibility.
- Missing hardening headers that don't lead to a concrete attack.
The design, in one page
docs/security.md describes what Resolution protects, how it does it, and what it leaves to the operator. Its main points:
- It never holds a broker password.
- Every order is signed by the owner in the browser.
- Live trading needs a separate signature over the terms.
- Secrets never enter the Record.
- Fetched content is data, never instructions.