Skip to content

Security: clotr-app/clotr

SECURITY.md

Security

Clotr handles the most sensitive thing people type: what they almost sent. Its design keeps that on their computer.

What Clotr guarantees

  • The extension makes no network requests. Its own pages run under a policy that blocks connections (connect-src 'self'), and automated checks fail the build if network code appears.
  • Nothing you type is stored, only metadata and a scrambled code, on your computer.
  • It runs only on the built-in AI chat sites and on sites you add one by one, or on every site once you turn on "Everywhere I type".
  • Storage belongs to Clotr's own pages, and the part running inside AI pages gets only what it needs, by message.
  • Releases are reproducible. npm run package rebuilds any release byte for byte, so you can compare it with the published SHA-256.

The full review, with every issue found and fixed and the accepted limits, is in docs/security-review.md.

Reporting a vulnerability

Please don't open a public issue for a security problem. Use GitHub's Report a vulnerability form (Security tab → Advisories), which only I can see, so it can be fixed before it's public. Include the browser and version, Clotr's version (in chrome://extensions) and the steps. Never include real personal data or real keys.

You'll get a reply within 7 days. A confirmed problem is fixed in the next release, sooner if it exposes what people type, and you're credited in the advisory unless you'd rather not be.

Only the latest release is supported. Store installs update on their own; a downloaded copy should be replaced with the newest one from Releases.

What happens to a report

  1. I reply within 7 days to say I've got it, and ask anything I need to reproduce it.
  2. I reproduce it on the newest release and decide how serious it is, mainly whether it could expose what someone typed, and I tell you what I found.
  3. I write a test that fails because of the problem, then the fix, in a private fork attached to the advisory, so nothing about it is public before the fix is.
  4. The fix ships in a release, sooner than the usual two weeks when it's serious, to GitHub and all three stores.
  5. I publish the advisory with the affected and fixed versions, ask GitHub for a CVE when it warrants one, and credit you unless you'd rather stay anonymous. The release notes point to it.

Checking a release

Each release on GitHub comes with SHA256SUMS.txt and a build provenance record that GitHub signs through Sigstore when the release workflow builds the zips. The signing key is made fresh for that one run and never stored, so there's no private key sitting anywhere that serves the downloads. To check a zip you downloaded, install the GitHub CLI and run

gh attestation verify clotr-1.4.1.zip -R clotr-app/clotr

It confirms the zip was built by this repo's release workflow from the tagged commit. sha256sum -c SHA256SUMS.txt checks the zip against the published sums, and npm ci && npm run package on the same tag rebuilds the same bytes. The Chrome, Edge and Firefox stores sign what they serve themselves, and the browser checks that signature on install.

Known limits

  • A hostile AI site controls its own page: it can hide Clotr's warnings (Clotr then says so and stops holding messages there), imitate them, or cover their buttons. It can't learn anything it wasn't about to receive.
  • Fingerprints of short values (a phone number) could be guessed by someone with full access to the browser profile.
  • If Clotr breaks on a page, your message still sends, just without a warning. It's built to get out of the way rather than trap what you were writing, so a failure means a missed warning, never a stuck message.
  • Clotr checks what you type into a page. An AI browser or assistant that reads your data and sends it on by itself, for example after a web page tricks it with hidden instructions, does that outside anything Clotr can see.

Who controls releases

I hold the Chrome, Edge and Firefox store accounts myself. Every release is built from a public tag, and its SHA256SUMS match what the stores serve. If the project or these accounts ever change hands, I'll say so here and in the release notes first.

This project, like your privacy is never going to be sold. This is my passion project and hobby. Imagine a guitarist selling his first guitar.

Learn more about advisories related to clotr-app/clotr in the GitHub Advisory Database