Step 1 to Zero Trust · Manuals

Algorithms and calculations

Every score, rule and calculation in Step 1 to Zero Trust, as of version 0.48.0, with the exact numbers the code uses. The code is the source of truth: each section names the file, and when a rule changes there, change it here too.

Contents

  1. Security score (the Risk360-style score in both consoles)
  2. Public domain check (the Exposure part of the score)
  3. Needs attention (the console's issue list)
  4. Monthly compliance report (protection score, evidence, board summary)
  5. Step 2 readiness check (readiness score, vendor shortlist)
  6. Extension risk
  7. Alerts
  8. Sensitive data detection
  9. New websites
  10. Known dangerous sites
  11. Website categories
  12. Company password fingerprints
  13. Webhook signatures
  14. App usage report
  15. Limits and time windows
  16. App speed
  17. Office network and Wi-Fi sign-in pages
  18. Report a problem
  19. Email check
  20. Fake sign-in pages
  21. Requests for access and app review
  22. Commands put on the clipboard (ClickFix)
  23. App permission requests (OAuth consent)
  24. Policy groups by person
  25. Known malware in downloads
  26. Disguised files, the browser's rating and PDF pictures
  27. Starting settings per kind of business

1. Security score

console/risk.js (rules), console/aggregate.js (the per-computer facts). Shown on the Overview of the offline and hosted consoles. Built from each computer's newest report, so it changes as soon as a computer reports a fix.

Formula

  1. Each check below takes its points off one stage, for every computer it applies to.
  2. A computer loses at most 100 points in one stage.
  3. Stage score = round(100 − average points lost per computer). Averaging per computer means one unprotected laptop out of twenty weighs less than one out of two.
  4. Overall score = round(average of the stage scores). Exposure counts as a fourth stage only when at least one domain was checked (section 2).
  5. Band: 85 or more = low risk, 65 to 84 = moderate risk, below 65 = high risk.
  6. Each stage lists its "drivers": round(points × computers it applies to ÷ all computers), largest first. These are the "−7" style numbers on screen.

Checks

StageCheckPointsApplies when
Break-inBrowser's own protection off20Safe Browsing / SmartScreen reported off
Break-inHigh-risk extension turned on20at least one enabled extension rated high (section 6)
Break-inDownload protection off15settings reported, download protection off
Break-inBrowser out of date152+ major versions behind the newest same browser in the company, or below the minimum version while protected apps are set
Break-inHTTPS only off5settings reported, HTTPS only off
Break-inTracker blocking off5settings reported, tracker blocking off
Data lossData protection off35settings reported, data protection off
Data lossWarnings often overridden153 or more "continued after warning" events in the last 30 days
Data lossPersonal device keeps company app data15personal device, has protected apps, Leave nothing behind off
Data lossAI tools not checked10data protection on, AI group set to Off
Data lossFile-sharing sites not checked10data protection on, file-sharing group set to Off
Data lossAny app can be used10only-approved-apps set to Off
ControlNo report for more than 7 days35newest report older than 7 days
ControlSettings missing from the report30the report carries no settings
ControlSettings not locked by IT policy20no setting locked by IT or console policy
ControlOlder extension version10version lower than the newest version in the company

Exposure: the score of the public domain check, averaged over the checked domains (section 2).

Worked example (the example console, three computers, one domain)

ComputerBreak-in lostData loss lostControl lost
Reception5 (HTTPS only off)00 (locked)
Sales laptop20 + 20 + 15 + 5 = 6035 + 15 + 15 = 6520
Warehouse PC15 + 5 = 201035 + 20 + 10 = 65
Average85 ÷ 3 = 28.375 ÷ 3 = 2585 ÷ 3 = 28.3
Stage score727572

Domain acme.nl: 100 − (15 DMARC only monitors + 10 no HSTS + 5 framing + 5 no CSP + 5 certificate within a month) = 60. Overall: (72 + 75 + 72 + 60) ÷ 4 = 69.75 → 70, moderate risk.

2. Public domain check

service/web/domain-check.js (findings and score), supabase/functions/_shared/domain-scan.js (collecting the facts). Score = max(0, 100 − sum of points of all findings).

AreaFindingPointsRule
EmailNo SPF record20no TXT record starting v=spf1
EmailMore than one SPF record15two or more
EmailSPF allows every server20ends in +all (or bare all)
EmailSPF does not reject other servers10ends in ?all or has no all term
EmailNo DMARC record25no v=DMARC1 record at _dmarc.<domain>
EmailMore than one DMARC record15two or more
EmailDMARC only monitors15p=none (or no p=)
EmailDMARC applies to part of mail5p=quarantine/reject with pct below 100
EmailMTA-STS, DNSSEC0shown for information only
WebsiteCertificate problem25no site answered and the HTTPS error mentions certificate/TLS/SSL/handshake
WebsiteHTTP does not move to HTTPS10http:// answers without a 3xx redirect to https://
WebsiteNo HSTS10no Strict-Transport-Security header
WebsiteHSTS is short5max-age below 15,552,000 seconds (180 days)
WebsiteSite can be framed5no X-Frame-Options and no frame-ancestors in the CSP
WebsiteNo Content-Security-Policy5no CSP header
WebsiteNo X-Content-Type-Options3header is not nosniff
WebsiteCertificate expires soon20newest certificate in public logs expires in under 14 days
WebsiteCertificate expires within a month514 to 29 days

How the facts are collected: DNS over HTTPS (Cloudflare); the domain is tried first, then www.; a host is only contacted when all its addresses are public, and the request goes to the checked address itself (no second lookup, against DNS rebinding); redirects inside the domain are followed up to 2 hops; only the status line and headers are read (16 KB at most); 8-second timeouts; certificate expiry from crt.sh (answers over 2 MB are skipped).

Exposure for the security score: the average domain score; each finding's points are divided by the number of domains for its driver.

3. Needs attention

console/aggregate.js, buildConsole. Each issue lists the computers it applies to; issues with no computers are not shown.

Shown asIssueApplies when
Act nowHigh-risk extension: name (one issue per extension)enabled and rated high on any computer
Act nowThe browser's own protection is switched offreported off
Act nowBrowser older than the minimum version for protected appsbelow the minimum, protected apps set
Act nowData protection is switched offsettings reported, off
Check soonApp that is not approved in use: nameapproved-apps on, app's kind is controlled, app not approved, yet in the usage report
Check soonStep 1 is off in private windows (0.42)the report says it is not allowed there (privateWindows false, from isAllowedIncognitoAccess), not a personal device, and privateWindowsOff not set. Unknown in older reports, so not listed. It does not change the security score
Check soonPersonal devices keep company app data after closingas in section 1
Check soonTrusted address is too broad: address (0.45, one issue per address)a trusted list holds an address anyone can publish on, or a parent of one (section 28). It does not change the security score
Check soonDownload protection is switched offsettings reported, off
Check soonPeople often continue after a warning3+ overrides in 30 days
Check soonNo report for more than 7 daysas in section 1
Check soonSlow app: name (one issue per app)the computer's typical load time for the app is over 4 seconds (section 16)
Check soonBrowser out of date2+ versions behind, and not already below the minimum
Good to fixSettings not locked by IT policynothing locked
Good to fixOlder extension versionbelow the newest in the company
Good to fixData check in watch-only mode, with how often it would have stepped in over 30 daysdata protection on, watch only on

The "Last 30 days" tiles count activity-log events from the last 30 days: sensitive data stopped = paste, upload or company-password events that were not continued past a warning. Watch-only entries (log kind watch, added in 0.37) are counted apart (totals.watched) and never as events, stops or warnings. Apps being reviewed do not count as "not approved in use".

4. Monthly compliance report

service/web/compliance.js. Business Plus. Built from daily summaries, never from page addresses or content.

Daily summaries (written at each report): for every day still in the computer's activity log, event counts (sensitive data stopped, warnings overridden, downloads blocked, sites blocked, known dangerous sites blocked, and from 0.31 emails flagged by the email check, stored only when there was at least one); for the report's own day also the computer's state (protections on/off, IT-locked, personal device, high-risk extensions, number of apps, browser). Kept for 400 days (13 months, so a report can always compare with the month before).

Coverage: for each protection, the share of computer-days with a state in the month on which it was on, round(100 × on-days ÷ state-days). Measured: data protection, download protection, the browser's own protection (only "on" counts; "unknown" does not), HTTPS only, known dangerous sites, settings locked by IT policy.

Protection score = round(average coverage of four protections): data protection, download protection, the browser's own protection, settings locked. No score in a month without states. Same bands as section 1 (85 / 65).

Evidence status per measure: evidence at 95% or more, partial at 50 to 94%, gap below 50%, unless stated otherwise.

MeasureNIS2 · ISO 27001 · CIS IG1 · Cyber Essentials · BIO2Status rule
Asset inventory21(2)(i) · A.5.9 · 1.1, 2.1 · — · 5.9gap with no computers; evidence if computers reporting reach the lower end of the number stated in the Step 2 check (26-50 needs 26), otherwise or when not stated partial
Endpoint devices21(2)(e) · A.8.1 · 4.1 · Secure configuration · 8.1coverage of "settings locked"
Data leakage prevention— · A.8.12 · — · — · 8.12coverage of data protection
Malware and web filtering21(2)(g) · A.8.7, A.8.23 · 10.1, 9.2 in part · Malware protection · 8.7, 8.23the lower of download and browser-protection coverage
Browser updates21(2)(e) · A.8.8 · 9.1, 7.4 · Security update management · 8.8share of computers within one version of the newest same browser at month end; gap if no versions reported
Incident handling21(2)(b) · A.5.24–26 · 17.1–17.3 in part · — · 5.24–5.26evidence with a confirmed alert address, every alert of the month emailed and a written plan stated in the Step 2 check; gap with neither an address nor a written plan; otherwise partial. Alert webhooks do not count
Encrypted web traffic21(2)(h) in part · A.8.24 · — · — · 8.24coverage of HTTPS only
Software installed in browsers21(2)(e) · A.8.19 · 2.3 · Secure configuration · 8.19evidence with no high-risk extension enabled at month end, partial with any, gap with no computers
Effectiveness monitoring21(2)(f) · A.8.16, clause 9.1 · 8.2 · — · 8.16the protection score itself
Multi-factor authentication21(2)(j) · A.8.5 · 6.3 · User access control · 8.5from the Step 2 answer: everyone = evidence, some = partial, otherwise gap (stated, not measured)

A framework view shows only measures with a reference for it (not "—").

What to improve (in this order): no computers reported; data protection below 95%; browser protection below 95%; settings locked below 95%; number of computers not stated, or fewer reporting than stated; HTTPS only below 95%; computers with out-of-date browsers; high-risk extensions enabled; no confirmed alert address; alerts not emailed; no written incident plan confirmed; two-step sign-in not confirmed for everyone.

Board summary: the score, its change from last month (score − previous score), the band, four activity counts (plus "N suspicious emails flagged" when the month had any), the first three improvements above, and "X of N measures have evidence; Y partly, Z not yet" for the chosen framework.

5. Step 2 readiness check

service/web/readiness.js. Answers from the questionnaire plus figures from the connected computers.

Readiness score (out of 100)

ItemMaxPoints
One central sign-in2020 unless the answer is "none"
Two-step sign-in for everyone20everyone 20, some 10, otherwise 0
Computers managed centrally1515 unless "none"
Step 1 protection on every computer15round(15 × computers without gaps ÷ computers)
Settings locked by IT policy15round(15 × locked computers ÷ computers)
Someone responsible for IT security15part-time 5, otherwise 15

Level: 70 or more = Ready for Step 2, 40 to 69 = Nearly ready, below 40 = Lay the foundations first. A computer "without gaps" has data, download and tracker protection and the browser's own protection on, and an up-to-date browser.

Vendor shortlist: each vendor adds up points from rules on the answers (company size, existing firewall brand, sign-in provider, goals such as VPN replacement, isolation, sandboxing, offices, data protection). Vendors with 3 points or more qualify; the top 3 by points are shown with the reasons of their positive rules. Strongest single rules: an existing firewall from Palo Alto, Fortinet, Cisco or Check Point (+7 for that vendor); a Microsoft sign-in (+4 for Microsoft, otherwise −10); 1–49 staff lowers Zscaler (−4), Palo Alto (−4) and Netskope (−3). The full rule table is VENDORS in the file.

6. Extension risk

src/shared/extensions.js. Rates every other installed extension.

High-risk permissions: debugger, nativeMessaging, proxy, cookies, webRequestBlocking, clipboardRead. Medium: webRequest, history, tabs, management, downloads, privacy, desktopCapture, tabCapture, pageCapture, scripting, declarativeNetRequestWithHostAccess. "All websites": <all_urls>, *://*/*, http://*/*, https://*/* or file:///*. Themes and Step 1 itself are skipped. Across computers, the console shows each extension at the highest level any computer reports.

Reported extensions (0.47). Only extensions whose store ID is confirmed are listed, with the report they come from. Today: Koi Security's report of 15 December 2025 on Urban Cyber Security (Urban VPN) extensions copying conversations with AI tools: Urban VPN Proxy (eppiocemhmnlbhjplcgkofciiegomcon Chrome, nimlmejbmnecnaghgmbahmbaddhjbecg Edge), Urban Browser Guard (almalgbpmcfpdaopimbdchdliminoign Chrome, jckkfbfmofganecnnpfndfjifnimpcel Edge) and Urban Ad Blocker (feflcgofneboehfdeebcfglbodaceghj Chrome). The report also names 1ClickVPN Proxy and an Edge Urban Ad Blocker; their IDs could not be tied to the report, so they are not listed. The console shows a reported, switched-on extension as its own Act now issue ("Extension reported for passing on data") instead of the general high-risk one. Reports before 0.47 do not carry the flag. The list ships with the extension; a new one needs a new version. A reported extension raises the alert "Extension reported for passing on data on {computer}: {name}" (kind reported-extension) the first time a report shows it switched on, also when the same extension was already rated high before; it is then not also counted as a new high-risk extension. The setup and the console's policy form refuse to approve a reported extension.

Only approved extensions (0.39) (src/shared/extension-control.js; setting extensionControl, policy keys extensionControl and approvedExtensions, at most 200 IDs). With off (the default) extensions are only rated. With high, Step 1 switches off every extension rated high that is not approved; with all, every extension that is not approved. A reported extension is switched off with high and all even when it is approved: the approval was given before the report. Never touched: Step 1 itself, themes, extensions already off, and extensions that cannot be switched off (installed by IT policy). Checked when the settings change, at start-up, and whenever an extension is installed or switched back on. Each one switched off is logged as {kind: 'extension', detail: [its ID], action: 'blocked'} and explained in a notification.

7. Alerts

supabase/functions/_shared/alerts.js. Alerts fire on a change between a computer's previous and new report, so a computer that stays in one state does not repeat them.

AlertFires when
Data protection switched offon (or unknown) before, off now
Download protection switched offon (or unknown) before, off now
Browser's own protection switched offnot off before, off now
High-risk extensionan enabled high-risk extension not in the previous report; more than 3 new ones become a single alert
Warnings overridden3 or more "continued after warning" events since the previous report
Computer silentno report for 7 days (daily check); once, until it reports again

Delivery: stored first; then the company webhook (if set); then an email to confirmed addresses, at most 20 alert emails a day per company. Titles are cut at 200 characters, details at 1,000.

Ticket mailboxes (0.32): a confirmed address marked as a ticket system's mailbox is left out of that email and instead gets one email per alert, subject [Step 1] <company>: <title> (cut at 250 characters), at most 100 a day per company, counted apart from the 20 above. When the day's allowance runs out, the remaining alerts of that batch are not sent to it.

8. Sensitive data detection

src/shared/detectors.js. Runs on the computer; returns only the kind and count, never the matched value.

KindRule
IBAN2 letters, 2 digits, then groups; checked with the ISO 13616 mod-97 checksum (must equal 1) and the country's fixed length for 30 European countries. Trailing groups are dropped one by one until the checksum passes, so a following word is not swallowed.
BSN9 digits (also written 3.3.3 or 4.2.3); 11-proef: digits weighted 9 down to 2, the last weighted −1, sum divisible by 11; all zeros refused. About 1 in 11 random 9-digit numbers passes.
Payment card13 to 19 digits (spaces or dashes allowed), a known prefix (Visa 4, Mastercard 51–55 and 22–27, Amex 34/37, Diners 30/36/38, JCB 35, Discover 6011/65/644–649/622) and the Luhn checksum.
Emailname@domain.tld pattern. Off by default.
API keyAWS AKIA + 16, GitHub ghp_/gho_/ghu_/ghs_/ghr_ + 36, GitHub fine-grained github_pat_ + 60, OpenAI/Anthropic sk- (sk-ant-, sk-proj-) + 20, Stripe live sk_live_/rk_live_ + 20, Google AIza + 35, Slack xox[abprs]- + 10, Azure storage AccountKey= + 86 + ==.
Private key-----BEGIN … PRIVATE KEY-----
National ID or tax number (0.37)France, NIR: 15 characters (spaces allowed): sex 1, 2, 7 or 8, year, month 01–12 or 20 and up, department (2 digits, or 2A/2B counted as 19/18), commune, order, and a key = 97 − (first 13 digits mod 97). Belgium, national register number: 11 digits (dots and a dash allowed), month mod 20 at most 12, day at most 31, check = 97 − (first 9 digits mod 97), or with a 2 in front for people born from 2000. Germany, Steuer-ID: 11 digits (together or in groups 2-3-3-3), no leading 0, in the first 10 one digit appears 2 or 3 times and every other at most once, last digit by ISO 7064 MOD 11,10. An 11-digit number that passes the Belgian or the German check counts once. Spain, DNI: 8 digits and a letter; NIE: X, Y or Z (0, 1, 2) and 7 digits and a letter; the letter is TRWAGMYFPDXBNJZSQVHLCKE[number mod 23]. UK, National Insurance number: no check digits, so only the letter rules: 2 letters (not D, F, I, Q, U or V; the second not O; not BG, GB, KN, NK, NT, TN or ZZ), 6 digits, then A, B, C or D, upper case.
Company word (0.39)the words and phrases in the company's own list (dataGuard.companyTerms, policy key companyTerms): 3 to 60 characters each, at most 200, the same word once whatever its case. Matched as whole words (no letter, digit or _ right before or after), upper or lower case alike; spaces inside a phrase match any run of spaces or line breaks; other characters match as typed. Words shorter than 3 characters are never looked for. Every occurrence counts; the word found is never reported, only companyTerm.
Browser recording (HAR file, 0.37)text with "log": { and "entries": [ that holds a header named cookie, set-cookie or authorization whose value is 8 or more characters and not [REDACTED], removed or hidden. One per text.
Source code (0.46, off by default)text of 1,024 characters or more that reads as program code: see section 29. One per text; a text over 1,000,000 characters is read in pieces and counts one per piece.

Long text is scanned in pieces of 1,000,000 characters, cut at a line break where possible, otherwise overlapping by 256 characters, so nothing on a cut is missed. Files: text up to 2 MB; HAR files, PDF and Office up to 20 MB (PDFs up to 500 pages), at most 50 MB unzipped and 5,000 archive entries per Office file; 30 seconds per file.

No uploads or no pasting at all (0.37). For a site group listed in dataGuard.noUploads (noUploadsTo) every file is refused, whatever its type or content, also images and also when the group's check itself is off; for one in dataGuard.noPasting (noPastingTo) every paste is refused. Trusted company sites are never affected. Logged as upload or paste with detail noupload or nopaste.

Watch only (0.37). With dataGuard.watchOnly (dataProtectionWatchOnly) nothing is stopped and no dialog is shown. Each time the check would have warned or blocked, one log entry of kind watch (action flagged, detail: paste or upload, warn or block, then the kinds of data or noupload/nopaste) is written. A paste with sensitive data goes through untouched; files are still read first and then handed to the page.

9. New websites

src/shared/domain-age.js.

10. Known dangerous sites

src/shared/threat-list.js (extension), supabase/functions/_shared/threat-intel.js (service). Business Plus. Google Web Risk's update-and-confirm method:

  1. The page address is canonicalised (Google's rules) and expanded into up to 5 host suffixes × 6 paths (full path with query, path, /, and up to 3 directory levels).
  2. Each expression is hashed with SHA-256.
  3. The hashes are compared on the computer with the local lists of hash prefixes (4 bytes or longer), at most 131,072 per threat type, updated every 60 minutes by diffs with a checksum.
  4. Only on a prefix match does the computer send those prefixes (never the address; at most 10) to the company service, which asks Google for the full hashes.
  5. A page is dangerous only when a full hash matches and has not expired. Answers are cached until Google's expiry times (at most 2,000 cached answers).
  6. Cost caps on the service: 200 paid lookups a day per company, 300 a month per company, 2,000 a month in all; above them nothing is blocked by mistake.

Downloads (0.39). The address a file is downloaded from (its final address after redirects) is checked the same way before the file is saved. On a match the download is cancelled, whatever the file type and also when pages are set to warn, logged as {kind: 'download', detail: ['threat', file type], action: 'blocked'} and explained in a notification.

11. Website categories

src/shared/bloom.js, src/shared/categories.js, supabase/functions/_shared/category-update.js, supabase/functions/_shared/category-stream.js (0.48), migrations 20261022000000_category_checked.sql and 20261023000000_category_parts.sql. Business Plus.

A build so takes 4 calls, about 40 minutes. A call that fails (download, time) changes nothing, and the next call tries the same piece again.

12. Company password fingerprints

src/shared/password.js.

13. Webhook signatures

supabase/functions/_shared/alerts.js. Each webhook message carries x-step1-signature: sha256=<hex>, the HMAC-SHA-256 of the exact request body with the company's signing secret (step1whk_ + 64 hex characters, made by the database and shown once). Delivery resolves the address over DNS-over-HTTPS, refuses private addresses and connects only to the checked address.

14. App usage report

src/shared/usage.js. For each known app: visits and the distinct days with a visit. Days older than 90 days are dropped. Sorted by active days, then visits, then name. In the console, an app's days are added up across computers.

15. Limits and time windows

WhatValueWhere
Computer counts as silent7 daysconsole/aggregate.js, claim_stale_devices
"Recent" activity window30 daysconsole/aggregate.js
Browser out of date2 major versions behind the company's newestconsole/aggregate.js, compliance.js
Report intervalabout every 6 hours; at most one stored per 5 minutessrc/shared/company.js, ingest_report
Reports kept per computer30ingest_report
Computers per company1,000 that reported in 30 days; 100 new a daymigration 20261011, 20261013
Alert emails20 a day per companyclaim_alert_email
Confirmation emails20 a day per person, 1 a day per addressalert_confirmations_to_send
Alerts kept180 dayscheck-stale
Daily summaries kept400 dayscompliance.js
Domain checks5 domains and 20 checks a day per company; 40 a day per persondomain-check.js, claim_domain_check
Policy updateevery 60 minutessrc/shared/company.js
Category listsevery 24 hourssrc/shared/company.js
Members and invites50 members, 20 waiting invites per company; 100 owned companies per accountmigration 20261015
App speed7 days; 100 page loads a day and 50 apps per computer; loads over 120 s ignoredsrc/shared/app-speed.js
Office checkevery 5 minutes while an office address is set; 3 s to answersrc/shared/network.js
Wi-Fi sign-in pause5 minutes; checks at most once per 20 s after page errorssrc/shared/network.js
Co-brandingname 60, message 300, help contact 120 characters; logo a PNG, JPEG or WebP data: address of at most 60,000 characters (about 44 KB); one line each, control characters and invisible marks removedsrc/shared/branding.js, migration 20261018
Billing CSVa computer counts as active when it reported within 30 daysservice/web/billing.js
Email check2,000 senders, 5 bank-account fingerprints each, 500 colleague names; per email 100,000 characters, 50 links, 15 domain lookups, 30 attachment names; 200 flagged emails remembered per browser session so they are logged oncesrc/shared/email-check.js, src/background.js
Risky download warning (download protection set to warn)the download is paused before it finishes; at most 20 wait for an answer (older ones are cancelled, logged as cancelled, and their warning pages closed), until the browser closes; each answered once; closing the warning page cancels; a download that cannot be paused is blocked with the notice and log entry of the block setting; one that cannot be resumed is cancelled; protected apps always block; changes to the waiting list run one at a timesrc/background/downloads.js, src/shared/rules.js
Fake sign-in pagespage watched 20 s for a sign-in field, changes looked at after 0.4 s of quiet; at most 2 checks per page; 12 texts of 120 characters, a title of 200, 150 file addresses and 5 form targets of 300 characters each; inline scripts read up to 200,000 characters; 100 sites remembered after "I trust this site", until the browser closessrc/content/signin-check.js, src/shared/signin-check.js, src/background.js
Recent errors for Report a problem10, 200 characters each, until the browser closes; email body 1,800 characterssrc/shared/diagnostics.js
Requests for access (0.37)10 a day per computer, 200 open per company; one open request per site (or app) and kind; decided requests kept 90 days; one request per site and kind remembered per browser session; "Check again" at most once a minutemigration 20261019, src/background/access.js
Company lists (0.37)500 allowed sites and 500 reviewed apps per company; computers use at most 500 entries per listmigration 20261019, src/shared/company-lists.js
Warning-page message (0.37)300 characters, one line, control characters and invisible marks removed; link an https:// address of at most 500 characters without a user name or passwordsrc/shared/notices.js, src/shared/values.js
ClickFix check (0.38)the first 5,000 characters of clipboard text are looked at; the dialog shows 160 characters of the command; one dialog at a time per pagesrc/shared/command-check.js, src/content/clipboard-check.js
App permission warning (0.38)200 trusted App IDs; 100 apps remembered after "I know this app", until the browser closessrc/shared/page-tricks.js, src/background/consent.js
Groups by person (0.38)500 people per group; a person is in one group at a timemigration 20261020
Known malware check (0.40)files up to 50 MB, fetched again within 30 s; the service asks MalwareBazaar within 5 s; 2,000 checks a day per company; answers kept 90 days (known malware) or 1 day (not known)src/shared/malware-check.js, src/background/malware-check.js, migration 20261021
PDF pictures in the safe preview (0.41)the first 30 pages; each at most 1240 × 4000 pixels and at most twice its PDF size; a picture over 15 MB is refused; 60 s for the whole document, then text instead; documents up to 20 MB (as before)src/shared/pdf-pages.js

16. App speed

src/shared/app-speed.js (computer), console/aggregate.js (console). Measured on protected apps and the apps listed under app speed, in the page itself (not frames), once per page load.

17. Office network and Wi-Fi sign-in pages

src/shared/network.js, applied by src/background.js.

18. Report a problem

src/shared/diagnostics.js. The popup asks the service worker for a summary: version, computer name and the first 8 characters of its id, browser, company console state, number of locked settings, the main protections on or off, the network state, rules Chrome refused, and the last 10 errors (each at most 200 characters, with web addresses, email addresses and company keys replaced by placeholders). No visited sites, page content or typed text. The email button opens a mailto: link to the support address, with the body cut to 1,800 characters; Copy copies the whole text.

19. Email check

src/shared/email-check.js (the checks), src/content/email-reader.js (reading the open email), src/content/email-check.js (the banner), checkEmail in src/background.js (the lookups and the sender history). On by default; IT keys emailCheck, companyEmailDomains, deviceCodeWarning.

Where: only the top frame of mail.google.com, outlook.office.com, outlook.office365.com and outlook.live.com. The page is read 700 ms after it stops changing. Read: sender address and name, subject, text (first 100,000 characters), the first 50 web links (address and shown text), the first 30 attachment names. A page the reader does not understand gives no check rather than a wrong one.

What leaves the computer: nothing of the email. The service worker looks up the age of the sender's domain and of up to 15 link domains (one per domain) with the same registry lookup as for new websites (section 9), and only when that check is on and the domain is not well known or the company's own. On Business Plus, those links are checked against the known dangerous list exactly as pages are (section 10, hash prefixes only).

Warning signs (each reported at most once per email):

CodeSeverityWhen
lookalike-senderhighthe sender's registrable domain imitates a company domain, a well-known brand (29 listed in IMITATED_BRANDS) or a sender seen before (see "Look-alike" below)
colleague-namehighcompany domains are set, the sender is outside them, and the display name (lower case, at least 3 characters) equals a colleague's name learned earlier
young-senderhighthe sender's domain was registered fewer days ago than the new-websites threshold (default 30)
reply-tocautiona Reply-To address on another registrable domain (prepared: the page reader does not read Reply-To yet, so this does not fire today)
bank-changehighthe email holds a valid IBAN whose fingerprint is not among this sender's remembered ones, and the sender has at least one remembered
bank-detailscautiona valid IBAN plus a payment-change phrase, for a sender without remembered accounts
gift-cardshigha gift-card phrase
payment-pressurecautiona payment-change phrase and a pressure phrase (not added on top of bank-change)
credentialscautiona sign-in, password or code phrase, and the email has at least one link
link-mismatchcautiona link's shown text is a web address on another registrable domain than where it goes
link-lookalikehigha link's domain imitates a known one (same rules as the sender)
link-ipcautiona link goes to a bare IPv4 or IPv6 address
link-punycodecautiona link's host has a label starting xn--
link-endingcautiona link's host ends in one of the firewall's risky endings
link-dangeroushighBusiness Plus: a link is on the known dangerous list
link-youngcautiona link's domain is younger than the threshold (not added when it is also dangerous)
risky-attachmentcautionan attachment ends in one of 20 types: html, htm, shtml, svg, iso, img, vhd, vhdx, one, lnk, js, vbs, wsf, hta, exe, scr, bat, cmd, msi, jar

Links wrapped by Microsoft Safe Links (*.safelinks.protection.outlook.com?url=) or Google (google.com/url?q=) are judged by their real destination.

Level: high when any finding is high, caution when there are only cautions, none without findings. No banner at all for none: Step 1 never says an email is safe.

Look-alike: compare the name part of the registrable domains (acme for mail.acme.co.uk). Not a look-alike when the registrable domains are equal or the names are equal (the same name under another ending is often the same company), or when the known name is shorter than 3 letters or the name starts xn--. A look-alike when, after swapping rn→m, vv→w, 0→o, 1→l, !/|→l, 3→e, 5→s, removing hyphens and then i→l, both names are the same; or, for known names of 5 letters or more, the names are one edit apart (insert, delete or change one letter); or, for known names of 5 letters or more, the domain is the known name with words added with hyphens (rabobank-veilig.nl).

Phrases (matched in lower case, any amount of spacing, curly apostrophes as straight ones) in English, Dutch, French, German, Spanish, Hindi and Arabic, four groups: payment change, pressure or secrecy, sign-in or codes, gift cards. The lists are PHRASES in the file.

Bank accounts: IBANs written with or without spaces; at each start the longest run of 15 to 34 characters that passes the IBAN checksum and country length; at most 5 per email. Stored only as fingerprints: PBKDF2-HMAC-SHA-256, 100,000 rounds, with a random 16-byte salt per computer (as in section 12), at most 5 per sender, newest first.

Sender history (emailSenders in storage.local): learned only from emails without findings, so a fraudster's account or name never becomes "known". Per sender domain: the account fingerprints and when last seen; at most 2,000 domains, the least recently seen dropped. For senders on the company's own domains, also the display name, at most 500.

Activity log: a flagged email adds one entry {kind: 'email', host: sender domain, detail: the codes (at most 10), action: 'flagged'}, logged once per email (sender, subject and length) per browser session (the last 200 remembered). Nothing of the subject, text or links.

Device-code pages: microsoft.com/devicelogin, login.microsoftonline.com/…/oauth2/deviceauth (v1 and v2.0), login.live.com/oauth20_remoteconnect.srf and www.google.com/device. Before anything is typed, a dialog asks whether the person started the sign-in; "Leave this page" goes back (or to a blank page). Logged as {kind: 'email', detail: ['device-code']} with cancelled or allowed-after-warning; the code is never read.

20. Fake sign-in pages

src/shared/signin-check.js (the rule), src/content/signin-check.js (what the page shows), checkSignInPage in src/background.js. On by default (setting signInCheck.enabled, policy key signInCheck). It only warns; it never blocks.

Which pages: top frames of http and https pages with a sign-in field: a password field, or a user-name field (type email, autocomplete username or email, or a name or id such as email, login, loginfmt, username, identifier, account). Never checked: the brands' own domains (the list below), known apps from the catalog and added apps, the company's sign-in pages (passwordGuard.signInSites), its email domains, trusted company sites, firewall exceptions and allowed sites, protected apps, the allowed list (signInCheck.allowedSites), and sites where the person chose "I trust this site" (until the browser closes). Pages on free hosting are checked even under a brand's or known app's domain.

Brands (owned domains; words a page uses to name them):

BrandOwned domainsWords
Microsoftmicrosoft.com, microsoftonline.com, microsoftonline-p.com, live.com, office.com, office365.com, microsoft365.com, outlook.com, sharepoint.com, msauth.net, msftauth.net, msauthimages.net, msftauthimages.net, azure.com, bing.com, skype.com, xbox.com, msn.com, windowsazure.com, b2clogin.com, ciamlogin.commicrosoft, office 365, microsoft 365, outlook, onedrive, sharepoint, azure
Googlegoogle.com, gmail.com, youtube.com, gstatic.comgoogle, gmail
Appleapple.com, icloud.comapple id, apple account, icloud
PayPal, DocuSign, Dropbox, Adobe, LinkedIn, WeTransfer, DigiDpaypal.com; docusign.com, docusign.net; dropbox.com; adobe.com, adobelogin.com; linkedin.com; wetransfer.com; digid.nltheir names
Amazonamazon.com, .nl, .de, .fr, .es, .co.uk, .in, .ae, .sa, .egamazon

Free hosting (anyone can publish a page): web.app, firebaseapp.com, pages.dev, workers.dev, netlify.app, vercel.app, github.io, gitlab.io, glitch.me, blogspot.com, weebly.com, wixsite.com, square.site, godaddysites.com, webflow.io, framer.website, 000webhostapp.com, azurewebsites.net, web.core.windows.net, blob.core.windows.net, r2.dev, appspot.com, herokuapp.com, onrender.com, ngrok-free.app, ngrok.app, ngrok.io, trycloudflare.com, ipfs.io, dweb.link, replit.app, repl.co, surge.sh, tiiny.site, sites.google.com, storage.googleapis.com, firebasestorage.googleapis.com, googleusercontent.com.

Signs and points. Signs that the page imitates someone:

SignPointsWhen
Copied page3the page contains the brand's own sign-in code (Microsoft: $Config= with urlGetCredentialType, sCanaryTokenName, urlMsaSignUp or sFTName; Google: WIZ_global_data with accounts.google.com or /v3/signin/), or loads at least 2 different files of the brand's sign-in page (Microsoft: aadcdn.msftauth.net, aadcdn.msauth.net, logincdn.msftauth.net, lgincdn.msftauth.net, acctcdn.msftauth.net, acctcdn.msauth.net, aadcdn.msauthimages.net, aadcdn.msftauthimages.net, login.microsoftonline.com, login.live.com, secure.aadcdn.microsoftonline-p.com; Google: accounts.google.com, accounts.youtube.com, ssl.gstatic.com/accounts/, www.gstatic.com/accounts/; the company: its sign-in pages)
Copied part1exactly 1 such file
Fake window (0.41)3the page draws a browser window of its own ("browser in the browser"): a text that is only a web address (optionally https://, a site, a port, a path), not inside a link, code, pre, kbd or samp, or the value of a read-only or disabled field, sits in a box laid over the page (the nearest of up to 10 parent elements with position fixed or absolute) that also holds a frame, a password field or an email field, and the address belongs to a brand (owned domains above, never free hosting) or to the company's email domains, while the page itself does not. The first such address counts. At most 3,000 texts are looked at and 5 addresses sent, and only on pages with a frame, a password field or an email field
Look-alike of the company3the address imitates one of the company's email domains (look-alike rule of section 19)
Look-alike of a brand2the address imitates a brand's owned domain (same rule)
Brand named2the title, a heading, a legend, an image's alt text or an aria-label names a brand as a whole word, outside "with …" phrases ("sign in with Google", also with one word between: "with your Microsoft account"; in the seven languages: with, via, using, through, met, avec, par, mit, con, باستخدام, عبر before the brand, से and के साथ after it)

Only the first brand found counts for "copied"; the company comes after the brands. Signs about the site, which add at most 2 points together:

SignPointsWhen
New domain1younger than the new-website setting (default 30 days, section 9); looked up only when the page shows one of the signs above and is not already over the line, and only when the new-website check is on
Free hosting1on one of the services above
Number as address1an IPv4 address or an address in brackets (IPv6)
Form sends elsewhere1the sign-in form's action is on another registered domain

Warning when the page has a sign-in field, at least one imitation sign, and 3 points or more. So a copied page, a fake window or a look-alike of the company warns on its own; a brand named or a look-alike of a brand needs one more sign; signs about the site alone never warn. A page with a fake window but no sign-in field of its own (the form is inside the frame) is described as framed and warns only for the fake window; its other signs do not count.

When: once the page has settled, when a sign-in field appears later (watched for 20 s, looked at after 0.4 s of quiet), when someone clicks into a sign-in field (also a field that appeared after the 20 s), and 1 s after any click while nothing has been sent yet (a fake window often opens on a click): at most 2 checks per page, and one warning. The headings come first in the texts sent, so labelled icons cannot push them out.

The warning lists the signs and the advice to open sign-in pages through a bookmark or by typing the address. "Leave this page" (the safe choice, focused) goes back, or to a blank page; "I trust this site" continues and is remembered for that site until the browser closes (at most 100 sites). Logged as {kind: 'signin', detail: the sign codes, action: 'cancelled' or 'allowed-after-warning'}. Codes: copied-page, copied-part, fake-window, lookalike, brand-claimed, new-domain, free-hosting, ip-address, form-elsewhere. Nothing typed is read; the page's title, headings, file addresses and the sites of drawn address bars go to the service worker only and are not stored.

21. Requests for access and app review

src/shared/access.js, src/background/access.js, src/pages/blocked-extras.js, supabase/functions/_shared/access-request.js, migration 20261019000000_access_requests.sql, src/shared/company-lists.js, service/web/access-view.js. Added in 0.37.

What can be asked for. The warning page asks the service worker, which rebuilds what the page shows from the page's own address and checks it against the settings (warningFacts, the same check as its log entries). Requests are possible for: a site on the blocked list (site), an app that is not approved (app, with its name), a website category (category, with its id), a new website (young), and the firewall's port, look-alike, ending and "only these sites" rules (port, lookalike, ending, allowlist). Not for known dangerous sites, IP addresses, read-only sites, protected apps away from the office or below the minimum browser version.

What is sent. The computer's ID, the site's name (never the address), the kind, the app name or category id, and one reason code: work ("I need it for my work"), mistake ("I think this is a mistake") or customer ("A customer or supplier asked me to use it"). Nothing typed.

Without a company console the page offers an email (a mailto: link the person sends themselves) to the IT support address (support.email), or to the brand's help contact when that is an email address. With neither, nothing is offered.

Answers (submit_access_request): sent; already-requested (an open request for the same site or app and kind exists); already-allowed (the site is allowed or the app approved); limit (section 15); invalid; unknown-key; inactive.

Approving (decide_access_request): a site goes on the company's allowed sites and every open request about that site is answered; an app is set to approved in the app review and every open request for that app is answered. Declining only answers the request.

Company lists (company_lists, sent with every computer's console policy, between the branding and the group's policy; a group cannot set them):

Policy keyFromWhat the computer does (applyCompanyLists)
companyAllowedSitesallowed sitesadds them to the firewall exceptions and to "only these sites", and lifts every blocked-list entry that is the site or a parent domain of it
companyApprovedAppsapps reviewed as approvedadds them to the approved apps
companyAppsInReviewapps being reviewedadds them to the apps being reviewed, unless approved
companyRefusedAppsapps reviewed as not approvedtakes them off the approved apps and the apps being reviewed, whoever put them there

These keys add to the settings and never lock them. Order: IT policy keys and the group's keys first, then the company lists, then names that match no app are dropped.

Apps being reviewed (appControl.inReview, policy key appsInReview, or the company list): while "only approved apps" is on, an app being reviewed of a kind that must be approved opens read-only (viewing allowed; form submissions and uploads blocked, as read-only sites) instead of being warned about or blocked. Approved apps are never in review.

22. Commands put on the clipboard (ClickFix)

src/shared/command-check.js (the rule), src/content/clipboard-watch.js (in the page's own world), src/content/clipboard-check.js (the dialog). Added in 0.38.

Where it looks. Every way a page puts text on the clipboard: navigator.clipboard.writeText, navigator.clipboard.write (its text/plain part), setData('text/plain' or 'text') in a copy event, and the copy or cut command on selected text. Text people select and copy themselves is not touched. Not on the allowed sites (clipboardCheck.allowedSites, by default brew.sh, github.com, rustup.rs, learn.microsoft.com and docs.docker.com) or the trusted company sites.

The rule (on the first 5,000 characters). The text must name a program that runs commands: powershell, pwsh, mshta, cmd /c or /k, wscript, cscript, rundll32, regsvr32, msiexec, certutil, bitsadmin, conhost, curl, wget, bash, zsh, sh -c, osascript or python. Then it counts as a ClickFix command when one of these holds:

Sign (logged code)Pattern
fake-checka comment (#, rem, ::) followed within 80 characters by verify…, captcha, human, robot, "not a bot", cloudflare, "ray id" or "security check"
encoded-e/-enc/-encodedcommand with 20+ base64 characters, FromBase64String, or base64 -d/--decode/-D
web together with runweb: an http(s) address, iwr, irm, Invoke-WebRequest, Invoke-RestMethod, DownloadString, DownloadFile, Start-BitsTransfer, Net.WebClient; run: iex, Invoke-Expression, a pipe into iex, bash, sh, zsh or python, $(curl/$(wget, -urlcache, /i:http
web together with hidden-w h/-windowstyle hidden/-w 1, -nop, -noni, -executionpolicy bypass/-ep bypass, start /min
web with a program that runs what it fetchesmshta, msiexec, regsvr32, rundll32, certutil, bitsadmin

A command alone (npm install, Get-Process, curl -O …) is not enough.

What happens. The text is not put on the clipboard (the page's call fails with NotAllowedError, setData does nothing, the copy command returns false). With the check set to warn (clipboardCheck.action, the default), a dialog explains and offers Copy anyway, which copies the text from the extension's own world; set to block, a notice says it was not copied. Logged as {kind: 'clipboard', detail: the signs, action: 'cancelled', 'allowed-after-warning' or 'blocked'}. The page's world hands the text over in the data-step1-clipboard-command attribute, and the extension's side checks it again, so a page can only make Step 1 warn about its own text.

src/shared/consent-check.js, src/background/consent.js, src/content/consent-warning.js. Added in 0.38.

Pages. login.microsoftonline.com (/oauth2/authorize and /oauth2/v2.0/authorize), login.live.com/oauth20_authorize.srf and accounts.google.com (/o/oauth2/auth, /o/oauth2/v2/auth, /signin/oauth…, where the request may sit in the continue address). The service worker reads the page's own address (sender.url), never what the page says.

Warned about when the address names an app (client_id) and asks for at least one of:

CodeMicrosoft permission namesGoogle permissions
mailMail.*, MailboxSettings.*, IMAP.*, POP.*, SMTP.Send, EWS.*, full_access_as_usermail.google.com, gmail.*
filesFiles.*, Sites.*, Notes.*drive, drive.readonly, drive.metadata*, documents, spreadsheets, presentations (not the per-file drive.file)
contactsContacts.*, People.*contacts, contacts.readonly, contacts.other*
chatChat.*, ChatMessage.*, ChannelMessage.*chat.messages*
directoryDirectory.*, User.Read.All, User.ReadWrite.All, Group.ReadWrite.Alladmin.directory.*

offline is added (offline_access, or Google's access_type=offline) but alone is no reason to warn; nor are sign-in permissions (openid, profile, email, User.Read).

Not warned about: apps whose answer goes to Microsoft's or Google's own sites (microsoft.com, microsoftonline.com, office.com, office365.com, live.com, sharepoint.com, outlook.com, microsoft365.com, cloud.microsoft, azure.com, windows.net, skype.com, google.com, gmail.com, youtube.com, android.com and their subdomains), trusted App IDs (consentCheck.trustedApps, policy key trustedAppIds), and apps the person chose "I know this app" for in this browser session. An answer going to a program (no http(s) redirect_uri) is named as such.

Logged as {kind: 'consent', detail: [provider, codes…], action: 'cancelled' or 'allowed-after-warning'}; "Leave this page" goes back.

24. Policy groups by person

Migration 20261020000000_person_groups.sql, supabase/functions/_shared/device-policy.js, src/background/console-policy.js. Added in 0.38.

A policy group can list people by work account (policy_groups.accounts, at most 500, lower case, email addresses only). A person is in one group at a time: adding them to a group takes them out of the company's other groups. A computer sends its browser's work account with its hourly policy request only when reportAccount is on and the person allowed it (the same as for reports). The group is chosen in this order: the group listing the person (by name order if more than one), the computer's own group, the default group; the answer says which (by: person, computer or default). The work account is the one signed in to the browser profile: someone who signs the browser in to another account gets that account's group.

25. Known malware in downloads

src/shared/malware-check.js, src/background/malware-check.js, supabase/functions/_shared/file-check.js, migration 20261021000000_file_check.sql. Added in 0.40.

A download is checked when all of these hold:

The check: the download is paused, and the service worker fetches the same address again (with the browser's cookies, at most 30 s and 50 MB). It computes the file's SHA-256 on the computer and sends only those 64 hexadecimal characters, with the company key, to the file-check function. The function checks the key and the company's plan (claim_file_check) and counts the check (2,000 a day per company; more are answered with 429). It answers from the kept answers when it can: known malware is kept 90 days, "not known" 1 day.

Otherwise it asks abuse.ch MalwareBazaar (get_info by hash, with the service's own MALWAREBAZAAR_AUTH_KEY, at most 5 s):

Outcome: only a 200 answer saying malicious stops the download. It is cancelled (or, if it had already finished, deleted from the disk), logged as kind download with detail malware and the family and action blocked, and announced in a notification.

Every other outcome resumes the download: not known, the file could not be fetched again, the service did not answer, or the daily limit. The check never stops a file it has no answer for. Known malware that was changed by even one byte has another fingerprint and is not recognised: this check finds files that are already known, not new ones.

26. Disguised files, the browser's rating and PDF pictures

src/shared/disguised-files.js, decideDownload in src/shared/rules.js, src/background/browser-verdict.js, src/shared/pdf-pages.js, src/sandbox/pdf-pages.js, src/pages/preview-pages.js. Added in 0.41.

Disguised file names. A download whose name ends in a program type is a disguised program when, after taking out direction marks:

Program types: exe, msi, msix, appx, scr, com, pif, cpl, dll, bat, cmd, vbs, vbe, js, jse, wsf, wsh, hta, ps1, psm1, lnk, url, jar, msc, reg, iso, img, vhd, vhdx, dmg, pkg, app, sh, apk, plus the company's risky file types (downloads.blockedExtensions). Types a program pretends to be: pdf, doc, docx, xls, xlsx, ppt, pptx, odt, ods, rtf, txt, csv, xml, html, htm, jpg, jpeg, png, gif, bmp, webp, heic, mp3, mp4, mov, avi, wav, zip, rar, 7z, eml, msg.

A disguised program is always blocked while download protection is on: also from trusted download sites, and also when risky types are set to warn (there is no honest reason for such a name). Downloads from protected apps are decided first, as before. Logged as kind download, detail disguised, the real type and, when the name says so, the type it pretends to be; the notice names the file without direction marks, with long gaps shortened, at most 80 characters.

The browser's own rating. Chrome (Google Safe Browsing) and Edge (Microsoft Defender SmartScreen) rate a download while it runs (danger). With downloads.browserVerdict on (the default; policy key blockBrowserFlaggedDownloads) and download protection on, a download rated url, content, host or unwanted is removed: cancelled, or deleted from the disk when it had already finished, so it cannot be kept anyway. Logged as kind download, detail browser-verdict and the rating, action blocked. The ratings file (a type that can be dangerous) and uncommon (not commonly downloaded) are left to the browser's own warning, as are downloads it already let through (accepted).

PDF pictures in the safe preview. A PDF in the safe preview (shouldPreview in src/shared/rules.js: a PDF or Office file from a site that is not trusted, when the preview is on) is drawn by pdf.js in a sandboxed extension page (manifest.json "sandbox"): no origin of its own, no extension APIs, no storage, and a policy of default-src 'none', its own scripts only, no eval, pictures only as blob: or data:. It loads pdf.js as plain scripts (vendor/pdfjs/pdf.classic.js and pdf.worker.classic.js, made from the module builds by scripts/pdfjs-classic.mjs) and runs it without a separate worker. Pages are drawn without annotations (no links, form fields or comments) and without loading fonts (outlines only):

When drawing fails or takes too long, the preview shows the document's text, as before. A PDF protected with a password says so. Nothing leaves the computer.

27. Starting settings per kind of business

src/shared/industry.js. Added in 0.39. Chosen on the setup's "Whose computer is this?" step, or as a start for a policy group in the console. A preset only sets what it lists, as the person's own choices (nothing is locked); the console fills the group's form with it before saving.

Policy keyFinance and accountingHealthcareTechnology and softwareLegal and professional services
aiSitesActionblockblockwarnblock
fileSharingActionblockblockblockblock
personalEmailActionblockblockblock
detectorsall nine kinds on, email addresses too
noUploadsToAI tools, personal webmailfile sharing, personal webmail
unreadableFilesblock
previewUntrustedDocumentsononon
newWebsitesActionread-only
clipboardCommandActionblock
blockLookalikeDomainson
blockRiskyDomainEndingson

"Other or general" changes nothing. The kinds of sensitive data are only ever listed in full, because in a console policy the list means exactly those kinds.

28. Where your data goes, and trusted addresses that are too broad (0.45)

The report (console/data-flows.js, buildDataFlows). Input: dataEvents from buildConsole, every log entry of kind paste, upload or watch from the last 30 days.

WhatRule
One rowper known service (catalog name), otherwise per address without www.
Sent after a warning, blocked, not sentaction allowed-after-warning, blocked, cancelled
Watch onlykind watch; its detail is [paste or upload, warn or block, ...kinds]
People (0.46)the work accounts of the computers involved, sorted, each once. Only where IT turned on reportAccount; the column and CSV column are left out when no account is known
Often continued pastper site and kind of data: NOISY_MIN_WARNINGS = 5 or more warnings (sent or not sent after one) and NOISY_MIN_SHARE = 0.5 or more of them sent. Blocks and watch-only entries are not warnings
Ordermost events first, then by name; often continued past: most continued first
Log notedataLogFull: a computer with EXTENSION_LOG_ENTRIES = 200 log entries (the extension's MAX_LOG_ENTRIES), all within 30 days, so older ones are lost

Suggested changes (suggestionsFor, hosted console only, applied to the default group's form, saved only with Save policy):

FindingSuggestion
AI tools, file sharing or personal email, with at least one uploadnoUploadsTo gains that kind of site
AI tools, file sharing or personal emailaiSitesAction, fileSharingAction or personalEmailAction = block
Any row with a known addressblockedDomains gains the address without www.

Trusted addresses that are too broad (src/shared/broad-domains.js). An address is too broad when it is, or is a parent of, one of 38 free hosting addresses (FREE_HOSTING, also used by the sign-in check in section 20) or 9 shared cloud storage and delivery addresses (SHARED_CLOUD: amazonaws.com, cloudfront.net, azureedge.net, azurefd.net, akamaihd.net, fastly.net, digitaloceanspaces.com, backblazeb2.com, wasabisys.com). A specific address under one of them is fine, except the storage addresses that hold every customer's files in a folder each, which are too broad as well: s3.amazonaws.com and its regional forms (s3.eu-west-1.amazonaws.com, s3-eu-west-1.amazonaws.com), the same under backblazeb2.com and wasabisys.com, and a region of digitaloceanspaces.com (ams3.digitaloceanspaces.com). A bucket's own address (name.s3.amazonaws.com) is specific. The hint under a field reads addresses the way they are saved (*.netlify.app, netlify.app:443 and https://netlify.app/x are all netlify.app). Checked lists: dataGuard.trustedSites, downloads.trustedDomains, firewall.exceptions, signInCheck.allowedSites. It only warns (live under the field, and one Check soon issue per address, section 3); the address still works.

Online converters and translators in the catalog count as file sharing: iLovePDF, Smallpdf, PDF24, Sejda, PDF Candy, PDF2Go, Soda PDF, FreePDFConvert, PDFescape, Online-Convert, Zamzar, CloudConvert, Convertio, FreeConvert, DeepL and Google Translate (translate.google.com only). Only approved apps reads the catalog, so it applies to them straight away: where file sharing is controlled, they need approving like any other app. The data check and the no-uploads rule use each computer's saved list of file-sharing sites, which is filled from the catalog at setup; a computer set up before 0.45 gets them only when its list is set again (in Settings, or with fileSharingSites).

29. Source code (0.46)

countSourceCode in src/shared/detectors.js. Setting dataGuard.detectors.sourceCode, off by default and off in every kind of business. Only that code was found is recorded.

A text counts when all of these hold:

RuleNumber
Length of the text1,024 characters or more
Lines that carry a sign of code8 or more
Different signs among them3 or more
At least one strong signsee below
Share of the non-empty lines that carry a sign30% or more

Each line is read with its spaces tidied (none at the ends, one between words). The 15 signs:

SignStrongWhat counts
Class or functionyesclass, interface, struct, enum, trait or namespace with a name that starts with a capital, or any name right before {; def, fn, fun, func or function with a name right before (, or a line that ends in {; impl … {
Importyesimport a.b, import x as y, import … from '…', from x import y, #include, using X;, package a.b, use a::b;, require('…')
Database questionyesSELECT in capitals followed by *, a list, a function or FROM
Database changeyesINSERT INTO, UPDATE … SET, DELETE FROM, CREATE TABLE (or index, view, procedure, function), ALTER TABLE, in capitals
First line of a scriptyes#!/…
Database sourcenoFROM table, JOIN
Database clausenoWHERE, GROUP BY, ORDER BY, HAVING, VALUES (
Method or field with its visibilitynopublic, private, static, final and similar, then a type and a name
Variablenoconst, let, var, val, or a basic type (int, String, void…) and a name
Condition or loopnoif (…), for (…), while (…), if …:, for x in …:, else {, try:
End of a block or statementnoa line ending in {, a line of only closing brackets, return …;, break;, x++;
Assignment or callnoname = …, Type name = …;, name(…)
Field or method with its type after itnoname: Type;, name(…): Type;
Commentno//, /*, */
One word after import or packagenoimport os, package main

Words that are also ordinary words do not count as the strong sign: import duties, package deal, class schedule, class action for damages, function room (ground floor), use this form;, SELECT ONE OPTION. A line that only ends in ; is not a sign, so lists and semicolon-separated tables are not code.

Limits: lines over 400 characters are not read (minified code or data); at most the first 20,000 lines of each piece of 1,000,000 characters; and reading a piece stops after 200 ms (checked every 500 lines), after which it is judged on what was read. No pattern can be slowed down by a line made for it: the slowest such line found takes about 0.014 ms (before this was fixed in 0.46, one took 31 ms, over a minute for 1 MB).

Code files (.py .js .mjs .cjs .jsx .ts .tsx .java .kt .kts .scala .cs .vb .c .h .cpp .cc .hpp .go .rs .php .rb .swift .lua .pl .sh .ps1) are read as text up to the text limit of 2 MB, so every enabled check sees them (a key in a script, for example). A larger code file stays unread, as before.

Measured on 9 November 2026 on real files: fired on 0 of 294 pieces of 2 KB from the manuals in all languages, 0 of 51 licences and 0 of 40 package.json files; on 147 of 149 files of this project (the two missed are short lists without code structure), 86% of 599 JavaScript files and 74% of 337 TypeScript type files in node_modules. 1 MB of prose takes 20 to 40 ms.

Not recognised, or seldom: pieces under 1 KB, minified code, HTML and style sheets on their own, database statements in lower case, and most shell, Ruby and PowerShell scripts (few of their lines carry a sign). The check sees only what goes through the browser.

30. Only company accounts (0.46)

src/shared/company-accounts.js. Off while empty; never on a personal device (deviceType). Header rules have PRIORITY.accountHeader = 5, above every allow rule (a browser leaves out a header rule when an allow rule of the same or a higher priority matches). They block nothing. At most 50 entries per list. Rule ids 8, 9 and 901.

ServiceSetting (policy key)Header, set onAddresses
Microsoft, work and school accountsmicrosoftDirectoryId and allowedMicrosoftTenantsRestrict-Access-To-Tenants: own directory ID, then the others, comma-separated. Restrict-Access-Context: own directory IDexactly login.microsoftonline.com, login.microsoft.com, login.windows.net, for pages, frames and page requests. Not device.login.microsoftonline.com
Microsoft, personal accountsmicrosoftDirectoryId (set at all)sec-Restrict-Tenant-Access-Policy: restrict-msalogin.live.com, for pages, frames and page requests
GoogleallowedGoogleDomainsX-GoogApps-Allowed-Domains: the domains, comma-separatedgoogle.com and everything under it, all kinds of request

Other organisations alone do nothing: Microsoft needs the company's own directory ID. The Settings page and the console's policy form refuse that combination; a list locked by IT without the ID does not stop a person saving the rest. Microsoft requires Entra ID P1 or P2 and stops guest access to organisations not listed. Google's header leaves Search, YouTube and pages used without signing in alone. Signing in to the browser itself (the browser's own profile) does not pass through extension rules; that is set with browser policy.