Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,16 @@ jobs:
shell: pwsh
run: node build-cookie-engine.mjs

# -OpenSource: Sieve Pro lives in a private repository CI cannot see
# (pro/README.md), so CI packages with its empty stand-ins. Every
# protection is in this repository and is built and checked here.
- name: Package Chrome build
shell: pwsh
run: powershell -ExecutionPolicy Bypass -File .\build-chrome.ps1 -Zip
run: powershell -ExecutionPolicy Bypass -File .\build-chrome.ps1 -Zip -OpenSource

- name: Package Firefox build
shell: pwsh
run: powershell -ExecutionPolicy Bypass -File .\build-firefox.ps1 -Zip
run: powershell -ExecutionPolicy Bypass -File .\build-firefox.ps1 -Zip -OpenSource

- name: Validate expected outputs
shell: pwsh
Expand Down Expand Up @@ -84,12 +87,16 @@ jobs:
}

# Dev-only trees must never be shipped.
$forbidden = @("node_modules", "src", "vendor", "test", "_metadata")
$forbidden = @("node_modules", "src", "vendor", "test", "_metadata", "pro-private")
foreach ($browser in @("chrome", "firefox")) {
foreach ($dir in $forbidden) {
$p = "dist\$browser\$dir"
if (Test-Path $p) { throw "Dev-only path leaked into build: $p" }
}
# An open-source build carries Sieve Pro's stand-ins, never Pro.
if (-not (Select-String -Path "dist\$browser\pro\features.js" -SimpleMatch "SieveProFeatures = null" -Quiet)) {
throw "The open-source $browser build carries Sieve Pro, or lost its stand-in"
}
}

# Each build must carry the correct manifest.
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ store-assets/
# Packaged extension builds produced by build-chrome.ps1 / build-firefox.ps1
dist/

# Sieve Pro: a separate private repository, checked out here and copied over
# the stand-ins in pro/ by the build (pro/README.md). Never part of this one;
# test/pro-standins-test.mjs fails if anything under it is ever tracked.
/pro-private/

# Packaged extension artifacts / signing keys — never commit these
*.zip
*.crx
Expand Down
92 changes: 78 additions & 14 deletions PRIVACY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Privacy Policy for Sieve

**Last updated: October 8, 2026**
**Last updated: October 29, 2026**

## The short version

Expand All @@ -21,8 +21,20 @@ today", so it can compare them on your next visit. It is described
[below](#what-the-dark-pattern-blocker-remembers), stays on your device, and can
be erased with one button.

There is one exception to "nothing is sent": **Sieve Pro**, the optional one-time
purchase. If you buy it and type in your licence key, that key is sent to Polar,
the company that sells Sieve Pro for us, to check that it is valid, along with a
plain name for the browser ("Sieve · Edge on Windows") so you can tell your
browsers apart on your purchases page. That happens when you enter or remove the
key and about once a week in between, and only from Sieve's settings page. It is
described [below](#sieve-pro-licence-check). Without Pro, nothing changes.

Sieve is open source, so anyone can verify these claims:
<https://github.com/codepurse/Sieve>
<https://github.com/codepurse/Sieve>. The one exception is Sieve Pro's
features (the urge screen, plans, streaks and Your progress), which are not open source.
They make no network requests and keep everything on your device, and the
licence check, the only request Pro makes, is part of the open-source code
(`common/pro.js`), so what it sends can be checked by anyone.

---

Expand All @@ -43,6 +55,18 @@ third party.
| Screen-time tally, **only if you turn Usage Insights on** | Show you where your time goes | Yes |
| What a page claimed, while the Dark Pattern Blocker is on | Tell a fake countdown or stock number from a real one on your next visit — see [below](#what-the-dark-pattern-blocker-remembers) | Yes |
| Free-trial reminders, **only the ones you ask for** | Remind you before a free trial starts charging — see [below](#free-trial-reminders) | Yes |
| When the block page last stopped each kind of site | One date and time per kind (gambling, dating, games, AI tools, trading, your own blocked sites) and your longest gap, for Sieve Pro's streaks — never the site or its address | Yes |
| When the block page stopped you, for the kinds of site you block for yourself | The time and the kind (gambling, dating, games, AI tools, trading, your own blocked sites) of each stop, kept for a year, so Sieve Pro can show when it tends to get hard and write your month — never the site or its address, and never threats such as scam or malware sites. Kept for everyone, Pro or not | Yes |
| Monthly block totals | The Protection Dashboard keeps its daily counts for 30 days; as a day leaves, its counts are added to its month, for about two years — counts only, never a site | Yes |
| Urges waited out, **only if you press "I'm OK now"** | When, how long it took, and the kind of site, to draw Sieve Pro's Proof it passes dial | Yes |
| A message in your own voice, **only if you record or choose one** | The recording or sound file, stored in the extension's own database in your browser, and played on the urge screen. The microphone is used only while you record | Yes |
| Plans for the hard moments, **only if you write one** | Your two lines in your own words, the kind of site and the time each is for, to show on Sieve Pro's urge screen when that moment comes | Yes |
| What you picked to try instead, **only if you pick one** | Your list of things to try, and for each pick on the urge screen when it was, the kind of site and which one, kept for a year, so Sieve Pro can tell you how long you tended to stay away after each | Yes |
| A heads-up before your hardest hours, **only if you turn it on** | The times to give it and the words it says, worked out from the record above, for Sieve Pro's heads-up notification | Yes |
| Sieve Pro licence key, **only if you enter one** | Turn on the Pro features | Kept on your device; checked with Polar — see [below](#sieve-pro-licence-check) |
| Seal, **only if you start one** | When it ends, and its way out: either the key your witness's authenticator app shares with Sieve (needed to check their codes) and their recovery codes as **hashes**, or the emergency key as a **hash**. A witness's app works offline; nothing is sent to them, us or anyone | Yes |
| Urge screen, **only what you fill in** | Your reason, an optional photo (shrunk to fit 800 pixels), and a contact's name and number or email address, shown on the block page | Yes |
| Streak settings, **only for what you track** | The day you stopped, what it used to cost you, and what you are saving for, to count streaks, money kept and how close the goal is | Yes |

Sieve also reads the content of web pages you visit **in the page itself** — for
example, to mask profanity, hide toxic comments, remove dark patterns, or count
Expand Down Expand Up @@ -107,12 +131,42 @@ what was already measured; **Clear history** is what erases it.
This data is never transmitted anywhere, is not used for any purpose other than
drawing your own report back to you, and is deleted with the extension.

### Sieve Pro licence check

Sieve Pro is sold by Polar (polar.sh), who handle the payment, the receipt and
the licence key. Sieve itself never sees your payment details or your email
address.

When you type a licence key into Sieve's settings, Sieve sends **that key and
Sieve's own shop ID** to Polar's licence service (`api.polar.sh`) to ask whether
it is valid. A key works in a few browsers at once, so entering it also takes
one of its places for this browser, under a plain name for the browser and
operating system ("Sieve · Edge on Windows"), never anything that identifies you
or the machine. Sieve asks again about once a week, only when you open its
settings page, so a refunded key stops working; that check carries the key, the
shop ID and this browser's place on the key. **Remove from this browser** gives
the place back (the same three things) and then deletes the key here.

Nothing else is sent: not your browsing, not your settings, not anything the
Pro features keep. Polar knows which purchase the key belongs to, because they
sold it, and may see your IP address, as with any web request.

**In Firefox**, Sieve asks your permission before it sends the key, the first
time you press Activate, through Firefox's own question about data an
extension sends. If you say no, nothing is sent and Pro stays off. Nobody who
does not activate Pro is ever asked.

The key is kept on your device so it can be checked again. The Pro features
themselves (the urge screen, plans, the heads-up, streaks and Your progress) run
entirely on your device, like the rest of Sieve.

---

## What Sieve does NOT do

- It does **not** create an account or ask you to log in.
- It does **not** collect your name, email, location, or any identifier.
- It does **not** collect your name, email, location, or any identifier. (A Sieve
Pro licence key you type in is sent to Polar to check it, as described above.)
- It does **not** upload your browsing history, the URLs you visit, page
content, keystrokes, or activity — to us or to anyone else. (If you switch on
Usage Insights, a site-name-and-duration tally is kept **on your device**, as
Expand All @@ -126,7 +180,8 @@ drawing your own report back to you, and is deleted with the extension.
## Network activity (full transparency)

Sieve makes outbound network requests only to **download files to your device** —
never to upload anything about you. Specifically:
never to upload anything about you — with the one exception of the Sieve Pro
licence check. Specifically:

- **Blocklists** — publicly available lists (for example, known gambling, scam,
malware, and phishing domains) are downloaded so protection stays current.
Expand All @@ -141,8 +196,12 @@ never to upload anything about you. Specifically:
optional in-app notice to show (for example, a new feature). It sends no
information about you, and if the file is unreachable nothing is shown. You can
dismiss any notice permanently.
- **Sieve Pro licence check, only if you enter a licence key** — the key,
Sieve's shop ID and a plain browser name are sent to Polar's licence service
(`api.polar.sh`) when you enter or remove it, then about once a week when you
open the settings page. See [above](#sieve-pro-licence-check).

These are all **downloads to your device**. They do not include your identity, your
Apart from that licence check, these are all **downloads to your device**. They do not include your identity, your
browsing history, page content, or any personal information beyond the normal
network request needed to fetch a file. As with any web request, the host serving
a file (a blocklist provider, the model host, GitHub for the announcement, or the
Expand All @@ -162,6 +221,7 @@ Sieve requests only the permissions needed to filter content locally:
- **tabs** — open the local "blocked"/settings pages and close popup/hijack tabs. It does not read your browser history. If you switch Usage Insights on, it also reads the site name of the tab you are looking at, in order to time it.
- **idle** — used only by Usage Insights, to stop the clock when you step away or lock the screen. It reports how long it has been since you touched the keyboard or mouse; it cannot see what you typed.
- **offscreen** — run the optional toxicity model locally, off the main page.
- **notifications** (optional, never asked for at install) — asked for only if you turn on Sieve Pro's heads-up before your hardest hours, and used only to show it. The notification's words are worked out on your device; nothing is sent.
- **scripting** — run Sieve's own filters in pages. For example, the Dark Pattern Blocker's on-page notes are added only to a page where it has found something to show, rather than to every page.
- **host access (all sites)** — required because harmful content can appear on any site; used only to run the local filters. No browsing data is collected.

Expand All @@ -170,17 +230,21 @@ Sieve requests only the permissions needed to filter content locally:
## Chrome Web Store data disclosure

In the Chrome Web Store's terms, "collect" means transferring data off the
user's device. Sieve transfers nothing, so it declares that it does **not**
collect any of the following: personally identifiable information, health
information, financial and payment information, authentication information,
personal communications, location, web history, user activity, or website
content.

To be plain about the three cases where that wording could mislead: if you switch
user's device. The only thing Sieve transfers is a Sieve Pro licence key, if you
enter one, to Polar to check it. Sieve declares that as **authentication
information**, used only to check the licence, never sold, and never used for
anything else. It declares that it does **not** collect any of the following:
personally identifiable information, health information, financial and payment
information, personal communications, location, web history, user activity, or
website content.

To be plain about the cases where that wording could mislead: if you switch
on Usage Insights, a tally of site names and durations is written **to your own
browser storage**; the Dark Pattern Blocker writes the numbers described
above under scrambled codes; and a free-trial reminder you ask for keeps that
site's name and dates. You can erase any of them at any time. Nothing about
above under scrambled codes; a free-trial reminder you ask for keeps that
site's name and dates; the block page keeps when it stopped you, by kind of
site; and Sieve Pro's streaks, urge screen and voice message keep what is
listed in the table above. You can erase any of them at any time. Nothing about
them is ever sent to us or to a third party, which is why the declaration above
is still accurate.

Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ tracking, nothing leaves your browser.
- **Doomscroll Stopper** — a daily time limit on endless feeds, with a gentle pause overlay.
- **Guardian self-lock** — an optional PIN that gates *weakening* your protection (turning things off, allowlisting) while strengthening it stays free.
- **Cool-off** — an optional wait (1 hour to 7 days) before anything that weakens your protection unlocks. The change is asked for first and unlocks only once the wait is over, for that one change, once, for a day; nothing turns off by itself, and a request can be called off at any time. Works with or without a PIN.
- **Seal** — lock your protection until a date (a week, 30 or 90 days, a year). Until then nothing that weakens it can be changed, not with the PIN and not after a cool-off. The only way out early is held by a **witness** — someone you trust scans a QR code into their authenticator app, and you ask them for the six digits it shows (standard TOTP, no server; eight hashed recovery codes for a lost phone; five wrong codes lock entry for a while) — or, for someone with nobody to ask, by an emergency key shown once and stored only as a hash. Extending is always allowed, shortening never. Like BlockNSFW's Pact.
- **Protection Dashboard** — a today/this-week breakdown of everything Sieve blocked for you, including an **Ads** section counting ad-network requests, the YouTube and Facebook ads removed, the ad-blocker walls cleared and the empty ad slots hidden. Only running totals are stored — never which site or which ad network. The request counter reads back which of Sieve's own block rules fired, which Chrome allows and Firefox does not, so they stay at zero on Firefox while the blocking itself is unaffected.
- **Usage Insights** — an opt-in screen-time report: total time, a per-day and per-hour curve, and which sites took it. Only the tab you are looking at counts, the clock stops when you step away, and the record never leaves your device (7/30/90-day retention, clearable at any time).

Expand Down Expand Up @@ -187,3 +188,11 @@ licensed under [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/),
Sieve elects the CC arm of EasyList's GPLv3 / CC BY-SA 3.0 dual licence; BY-SA's
"Collection" clause is what keeps the rest of the project MIT. Editing that one file
means editing a BY-SA file — see [`data/ATTRIBUTION-easylist.md`](data/ATTRIBUTION-easylist.md).

**Sieve Pro** (the urge screen with its designs and voice message, streaks with a
savings goal, and Your progress: hardest hours, proof it passes, the month and
year letters) is not open source and is not in
this repository: [`pro/`](pro/README.md) holds empty stand-ins, and the store versions
of Sieve carry the real files. Every protection is here, so a build from this
repository blocks exactly what the store version does. Build one with
`build-chrome.ps1 -OpenSource` (or `build-firefox.ps1 -OpenSource`).
Loading
Loading