Security & privacy
Read-only by construction, local-first, credentials stripped from everything it writes, and how to manage the tokens it uses.
This page is for whoever has to approve Cartulary: an IT admin, a security reviewer, or you. It covers what Cartulary can and cannot do to your ClickUp Workspace or Jira site, what it sends over the network, where your API token lives, and what you are responsible for.
Read-only by construction
Cartulary only reads from ClickUp and Jira. That limit is built into the code. No setting can turn it off.
- One way to call an API. Every ClickUp and Jira request goes through a single network component, and its only request method is GET. It has no method for POST, PUT, PATCH or DELETE.
- One way to download a file. Attachment downloads go through one other component, which also sends only GET.
- Nothing else touches the network. No other part of Cartulary may send a request or open a network connection.
Automated checks fail the build if any of this stops being true: if the network component gains a second method, if any other code sends a request, if any request uses a method other than GET, or if any code opens a connection of its own. Each check was tested by breaking the rule on purpose.
Checking it yourself
Every export counts the requests it sent, by method, as they leave. A paused and resumed export counts everything. The count appears in two places:
- the version’s
manifest.json, underrun, for example"requests_sent": { "GET": 2914 }; - the end of the export’s log, for example
INFO requests GET=2914 message=Sent to ClickUp and its file hosts: 2,914 requests, all GET.
Each raw API response is also kept in the archive’s raw/ folder together with the request that fetched it, including its method. See The archive format.
The guarantee comes from Cartulary’s code. The token itself can do more. ClickUp API tokens and Jira API tokens carry the full permissions of the account that created them. Cartulary never uses those permissions to write. Someone else holding the token could. Protect it as you would the account.
What leaves your computer
Cartulary runs on your computer and keeps everything it exports there. It contacts:
- The platform’s API. For ClickUp, ClickUp’s API. For Jira, the site you configured (for example
acme.atlassian.net). - The hosts that serve your files. For ClickUp, its file hosts. For Jira, the site and Atlassian’s media host,
api.media.atlassian.com, which serves attachment content. Cartulary also tries to download files that your content links to or embeds from other services, such as SharePoint or Google Drive.
Network requests are limited in these ways:
- Your token goes only to the platform. For ClickUp, that means ClickUp’s API, its shared file hosts and your Workspace’s own file host. Other Workspaces’ hosts never receive it. For Jira, it means your site only. Files linked from other services are fetched without your token.
- Redirects are limited. A download follows a redirect only to the same host or to a host on its allowlist, and never more than five in a row. When a redirect moves to a different host, the authorization header is dropped.
- No other traffic. Cartulary has no telemetry or analytics, and uses no AI or model services. It does not check for updates in the background.
- License checks are offline. A license key is a signed statement of what you bought, and Cartulary verifies it against a public key built into the app. Nothing is sent anywhere to check it.
Inside the desktop app, the window also talks to a server that Cartulary runs on your own computer. That traffic never leaves the machine. See The desktop app’s local server.
Where your API token is stored
Cartulary never writes your token to a config file, an archive or a log. When you save a connection’s token in Settings → Connections, Cartulary stores it in the operating system’s credential store:
- macOS: the Keychain, under the service name
cartulary. - Windows: Credential Manager, with entries named
cartulary:….
The store is protected by your user account and encrypted at rest by the operating system. Cartulary stores a token only when you ask it to. Each connection has its own token.
Some safeguards back this up:
- No token in config files. If a config file contains a token-like setting, Cartulary refuses to run, with exit code 7.
- Never shown. The app shows whether a token is stored and where it comes from, and never displays the token, even partly.
- The window never gets it. The token stays in the keyring. The app hands it only to the commands it runs, and never to the page shown in its window.
For Jira, the config file holds the account’s email address. The token is sent to your site, and only to your site, as HTTP Basic authentication (email:token).
Credentials kept out of everything Cartulary writes
Credentials are removed before anything is written to disk:
- Headers.
Authorization,CookieandSet-Cookievalues are removed. - URLs. Query parameters that can carry credentials or signatures, such as
token,access_token,api_key,secret,signature,sig,authandcredential, are redacted. Signed download URLs are recorded in redacted form. - Response bodies and error messages. Keys that look like credentials are redacted, and so is the exact credential in use, wherever it appears. For Jira, that includes the decoded
email:tokenpair. - The config copy in the archive. Each archive keeps the settings it was made with, with credential-like keys redacted.
This applies to logs, raw API records, error messages and reports alike.
Redaction works by key names and by matching the exact credential in use. It is not a general secret scanner. If someone pasted a password into a task or a comment, it is part of your content, and Cartulary preserves it as written.
The desktop app’s local server
The desktop app shows its interface from a small server that Cartulary runs on your computer. That server is built for a single user on their own machine:
- Loopback only. It listens on
127.0.0.1, on a port picked at startup. No setting makes it reachable from other machines. - Session token. Each launch creates a new session token, and the server refuses any request without it. The app attaches the token itself. You never see or handle it. Other programs on your computer that connect without it get a 401 response.
- Host and Origin checks. Every request’s
HostandOriginmust match the server. That blocks DNS rebinding and requests from other web pages. - No CORS headers. Other sites’ pages cannot read its responses.
- Paths stay in your folder. Every archive file the app reads must be inside your Cartulary folder.
- Confirmation for writes. Commands that write, such as exporting, packaging or reconciling, need an explicit confirmation, which the server checks as well as the interface.
- Attachments are sandboxed. Files from your archive are served under a sandboxing content security policy, and their type is worked out from their contents. Images and PDFs preview. Anything else downloads.
The app window adds its own protections:
- It runs sandboxed, with context isolation and no Node.js access for the page.
- It shows only the app’s own pages. Links to other sites open in your default browser, and only
https:links. Other kinds of links are dropped, so archived content cannot make the app launch a program. - It refuses every device permission request, such as camera, microphone, location or notifications, and blocks embedded web views.
Files on your computer
- Archives are as sensitive as the source. An archive holds the same tasks, comments and attachments as your Workspace or site, outside the platform’s access controls. Each archive’s
README.mdsays so. Keep archives somewhere only the right people can read. - No encryption at rest. Cartulary does not encrypt archives or packages. Use full-disk encryption, such as FileVault or BitLocker, or encrypt archives with a tool your organisation approves.
- Owner-only files. On macOS, the license key and the connection config files Cartulary writes can be read only by your user account. On macOS, the Doctor command in the CLI view warns when the archive output folder can be read by other users.
Recommended token practice
Cartulary sees what the token’s account can see. Its permissions decide both what is preserved and what could be done with the token if it leaked.
- Use a dedicated account. Create an identity used only for exports (avoid shared and administrator accounts), and turn on multi-factor authentication. Record which account it is and what it can see, for example in your migration runbook. Cartulary does not keep that record for you.
- Grant what you intend to preserve, and nothing more. Give the account read access to the Spaces or projects you want archived. Anything it cannot see is not archived. Cartulary reports what was refused, but cannot report what the platform hides. Jira’s search, for example, returns only the projects an account can browse, and doesn’t say what it left out.
- Create the token close to when you need it. For a one-off migration, generate it shortly before the export.
- Revoke it when you are done. After the final verified export, revoke the token in ClickUp or at id.atlassian.com, then remove the stored copy from the connection in Settings → Connections. Cartulary cannot revoke a token for you, because that would mean writing to your account.
- Rotate tokens used for scheduled backups. If a token stays in place for automatic backups, rotate it on your normal schedule. After you replace it, save the new token on the connection in Settings → Connections, because the stored copy does not update itself.
- Keep it out of shared material. Don’t paste a token into screenshots, screen recordings, tickets or chat. Cartulary keeps it out of its own logs, but anything you capture yourself is up to you. If you share logs, remove any Workspace, project or user IDs you consider sensitive. Cartulary can’t know which IDs matter to your organisation.
Supply chain
Cartulary’s dependencies are pinned in a lockfile, and are scanned for known vulnerabilities. A CycloneDX software bill of materials is generated from them. Cartulary has no plugin system and downloads no code at run time.