---
title: "Security"
summary: "How Taskloader stores and revokes API keys and OAuth tokens, what connected apps can see and do, what is logged, and how to report a vulnerability."
updated: "2026-11-19"
url: "https://taskloader.com/docs/security"
---

> Documentation index: https://taskloader.com/llms.txt

# Security

How Taskloader stores and revokes API keys and OAuth tokens, what connected apps can see and do, what is logged, and how to report a vulnerability.

This page explains how Taskloader handles the credentials that reach your account through the API and the MCP server, and what you can do to keep them safe. For AI agents in particular (prompt injection, confirmations), see [MCP security](https://taskloader.com/docs/mcp/security.md).

## Credentials are stored as hashes

- **API keys** contain a 256-bit random secret. Taskloader stores only its SHA-256 hash, shows the key once when you create it, and afterwards displays only its first part (`tlk_<lookup id>_…`). Nobody at Taskloader can read your key back.
- **OAuth tokens** are random, opaque strings (`tlo_at_…`, `tlo_rt_…`), stored as SHA-256 hashes. The one exception: after each refresh, Taskloader keeps a short-lived encrypted copy of the app's newest tokens, so that a refresh retried within 60 seconds gets the same answer; the copy is deleted within about an hour. Access tokens last 1 hour. Refresh tokens rotate on every use, and an old refresh token used again revokes every token from that sign-in, so a copied refresh token cannot be used for long.
- **Authorization codes** last 60 seconds, work once, and are stored hashed. A code used twice revokes the tokens issued from it.
- **Keys carry a checksum**, so Taskloader rejects mistyped or invented keys without a lookup, and secret scanners can recognize a leaked Taskloader key.

## Credentials travel only in a header

- The API and the MCP server accept credentials **only** in the `Authorization` header.
- A token in a URL is refused (`400 token_in_url`) and never used, because URLs end up in logs and browser history. Revoke a token that was sent that way.
- The API and the MCP server **never read cookies**. A web page cannot make your browser act on Taskloader through them, which is why they can answer requests from any origin.
- Never put an API key in code that runs in a browser or on a phone. Such apps should use [OAuth with PKCE](https://taskloader.com/docs/authentication/oauth.md).

## Revocation is instant

Every API and MCP request checks its credential in Taskloader's database. Nothing caches the answer, so these take effect on the very next request:

| You                                                   | Effect                                                                                                                                                           |
| ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Revoke a key (Account settings → API keys)            | That key stops working.                                                                                                                                          |
| Disconnect an app (Account settings → Connected apps) | Every token of that app is deleted. **Disconnect all** does this for every app.                                                                                  |
| Reset your password                                   | Every API key is revoked and every app's tokens are deleted. Taskloader emails you that it happened. Unused invitation links you created stop working too.       |
| Change an app's projects                              | Projects you removed answer as if they did not exist.                                                                                                            |
| Approve an app again with a scope unticked            | Its tokens that carry that scope stop working; the rest keep working.                                                                                            |
| Leave a project, or have your role changed            | Every credential you hold follows your new membership and role. Unused invitation links you created there stop working once you are no longer an owner or admin. |

Keys expire after the period you chose (at most 365 days), and Taskloader emails you 7 days and 1 day before (only the day before for a key made or extended for 7 days).

## What keys and connected apps can do

- **They act as you.** They can never do more than your role allows in each project, and your role is checked on every request.
- **Scopes narrow them further.** A key or an app has only the [scopes](https://taskloader.com/docs/scopes.md) you gave it. Admin access (`people:manage`, `organizations:manage`) and accepting invitations are never selected by default.
- **Projects narrow them further still.** A key or app limited to some projects sees nothing else, and cannot use account-level operations such as creating organizations or accepting invitations.
- **They cannot make credentials or change your account.** No API or MCP operation creates, lists or revokes keys or apps, or changes your sign-in, profile, password, sessions or email. Those stay in the app, and creating a key, approving an app or giving an app more projects needs a recent sign-in (within the last 24 hours) and a confirmed email address.
- **They see what project members see**, including the names and email addresses of the people in your projects (with `projects:read`).
- **Their changes are labelled.** Task history shows "via API key “CI”" or "via Claude (claude.ai)" next to your name, so everyone in the project can see what an integration did.

### The consent screen

When an app asks to connect, Taskloader's consent screen shows who is asking (the app's verified web address, or **Unverified app** next to a name it chose itself), where you will be sent afterwards, each kind of access in plain words, and which projects it may use. The **Cancel** button has focus, so pressing Enter never approves by accident. You need a confirmed email address and a sign-in from the last 24 hours to approve an app, so that a browser left signed in cannot connect one: the consent screen offers **Sign in again** and then comes back to the same request. You can connect up to 50.

Connected apps, such as Claude or ChatGPT, are third parties. They receive the project data you allow them to read, and handle it under their own privacy policies.

## Files

Files are never served from permanent or public links. Downloads go through the same checks as every other request. For things that cannot send a header, Taskloader issues signed links that last 10 minutes, are bound to you, the credential and the file, and stop working at once if the credential is revoked or you lose access. See [Files](https://taskloader.com/docs/api/files.md#signed-links).

Files uploaded through the API are stored exactly as sent, including any photo metadata. Remove location data before uploading if it should not be shared.

## Logs and records

- Taskloader's logs record the operation, status, timing, request id and which credential was used (a key id or an app's host). They never record tokens, keys, request or response bodies, or the words you searched for. Anything shaped like a Taskloader token is removed from logs automatically.
- Error answers never repeat the values you sent, in case a secret was pasted into the wrong field.
- Creating, extending and revoking keys, connecting and disconnecting apps, and changes to people and organizations are recorded as security events for one year, without IP addresses or secrets.
- Some limits count requests per address: requests with a missing or invalid credential, downloads through signed links, and the OAuth endpoints. For those, Taskloader keeps a keyed hash of the address, never the address itself: of the IPv4 address, or of the IPv6 /64 network (the /48 network for registering a client and for the first look-up of a client's metadata document). It deletes the hash within about two hours of the last request, or about three for registration and metadata look-ups, which are counted by the hour.
- Taskloader emails you when a key is created on your account, before a key expires, when an app connects for the first time, and when your credentials are revoked.

## The assistant and AI providers

When you ask Taskloader's assistant a question, from the app or the API, it sends the project's data to Taskloader's AI provider to answer. The assistant only suggests changes; a person applies them. The [Privacy Policy](https://taskloader.com/privacy) lists exactly what is sent.

## Keeping your keys safe

- Keep keys in a secret store or environment variable, never in code, repositories, tickets or chat.
- Make one key per integration, with only the scopes and projects it needs, and the shortest expiry that works.
- Rotate keys by creating the new one, deploying it, then revoking the old one.
- Review Account settings → API keys and Connected apps now and then. Revoke what you no longer use; "Last used" helps.
- If a key or token may have leaked, revoke it straight away. If you think someone else used your account, reset your password: that revokes every key and app at once.

## Reporting a vulnerability

If you find a security problem in Taskloader, please email **contact@taskloader.com** with "Security" in the subject. Include what you found, the steps to reproduce it, and any `Request-Id` values from the responses involved.

While you investigate, please use only your own accounts and data, do not access, change or delete other people's data, avoid anything that degrades the service for others, and give us reasonable time to fix the problem before you share it.
