Security and responsibilities
What TRAKI guarantees, what you are responsible for, and how to report a problem.
A key reaches into your account, and your own systems are outside TRAKI's control. So the work is split, and the split is written down.
What TRAKI guarantees, and what you are responsible for
| TRAKI guarantees | You are responsible for |
|---|---|
| A key can only ever reach its own account | Keeping the key on a server, never in a web page or an app |
| Buyer and publisher keys see only their own records | Passing the right buyer or publisher when you act on their behalf |
| Every webhook is signed | Checking the signature before you trust an event |
| Revoking or rolling a key takes effect at once | Rolling a key when someone leaves or a leak is suspected |
| A full log of what each key did | Reviewing that log, and setting an IP allow-list on write keys |
Keeping keys safe
- Keep keys in your server's secret store or environment, never in source code.
- Never put a key in a web page, a mobile app or anything a browser downloads.
- Give each system its own key with only the scopes it needs. One leak then exposes one system.
- Set an expiry on keys used by people, and roll keys on a schedule.
- If a key may have leaked, roll it on the Developers page. The old secret stops at once, or after the overlap you choose.
Report a security problem
If you find a security problem in TRAKI or the Developer API, write to security@traki.io. Include the steps to reproduce it and any request IDs. Please do not test against accounts that are not yours, and give us a reasonable time to fix the problem before you publish it.