diff --git a/packages/core/db/build.mjs b/packages/core/db/build.mjs index d7cf423..15d8872 100644 --- a/packages/core/db/build.mjs +++ b/packages/core/db/build.mjs @@ -145,7 +145,7 @@ function migrate(db) { if (!cols('assessment').includes('source_available')) { db.exec('ALTER TABLE assessment ADD COLUMN source_available INTEGER NOT NULL DEFAULT 1'); } - for (const v of ['v_backlog', 'v_coverage', 'v_product_score']) { + for (const v of ['v_backlog', 'v_coverage', 'v_product_score', 'v_requested']) { db.exec(`DROP VIEW IF EXISTS ${v}`); } } diff --git a/packages/core/db/hooks/probe.mjs b/packages/core/db/hooks/probe.mjs new file mode 100644 index 0000000..5e52d2b --- /dev/null +++ b/packages/core/db/hooks/probe.mjs @@ -0,0 +1,244 @@ +#!/usr/bin/env node +/** + * The hook prober. + * + * Drop in a URL, learn where Big Tech has custody of it. + * + * Everything here is PASSIVE and PUBLIC: DNS records, TLS certificate metadata, + * HTTP response headers, and the third-party hosts named in the page's own HTML. + * Nothing is scanned, nothing is probed for weakness, nothing is authenticated. + * If a site tells the world it sends email through Google, this reads it. + * + * The claim this supports is custody, not betrayal: + * your data sits with a third party who can be compelled, and you will not be told. + * That is provable from DNS. Whether the third party is malicious is a different + * question and this tool does not answer it. + * + * Usage: + * node probe.mjs https://example.com + * node probe.mjs example.com --json + */ +import { execFile } from 'node:child_process'; +import { promisify } from 'node:util'; + +const run = promisify(execFile); +const UA = 'bigtech-hooks/0.1 (+https://bigtech.sucks; passive infrastructure survey)'; + +// ------------------------------------------------------------------ the map +// Patterns are matched against hostnames, and ASNs against the resolved origin. +const VENDORS = [ + { vendor: 'Amazon', hook: 'hosting', asns: ['16509'], hosts: ['amazonaws.com', 'cloudfront.net', 'awsstatic.com'], note: 'Amazon Web Services' }, + { vendor: 'Google', hook: 'hosting', asns: ['15169', '396982'], hosts: ['googleusercontent.com', '1e100.net', 'googleapis.com', 'gstatic.com'], note: 'Google Cloud' }, + { vendor: 'Microsoft', hook: 'hosting', asns: ['8075'], hosts: ['azureedge.net', 'microsoftonline.com', 'windows.net', 'azure.com'], note: 'Microsoft Azure' }, + { vendor: 'Cloudflare', hook: 'dns/cdn', asns: ['13335'], hosts: ['cloudflare.com', 'cloudflare.net', 'cdnjs.cloudflare.com'], note: 'Cloudflare' }, + { vendor: 'Fastly', hook: 'cdn', asns: ['54113'], hosts: ['fastly.net', 'fastlylb.net'], note: 'Fastly' }, + { vendor: 'Akamai', hook: 'cdn', asns: ['20940', '16625'], hosts: ['akamai.net', 'akamaized.net'], note: 'Akamai' }, + { vendor: 'Vercel', hook: 'hosting', asns: ['13335'], hosts: ['vercel.app', 'vercel.com', 'now.sh'], note: 'Vercel' }, + { vendor: 'Netlify', hook: 'hosting', asns: [], hosts: ['netlify.app', 'netlify.com'], note: 'Netlify' }, + { vendor: 'Google', hook: 'analytics', asns: [], hosts: ['googletagmanager.com', 'google-analytics.com', 'doubleclick.net'], note: 'Google Analytics / Tag Manager' }, + { vendor: 'Google', hook: 'fonts', asns: [], hosts: ['fonts.googleapis.com', 'fonts.gstatic.com'], note: 'Google Fonts, leaks visitor IPs to Google' }, + { vendor: 'Meta', hook: 'analytics', asns: [], hosts: ['connect.facebook.net', 'facebook.com', 'fbcdn.net'], note: 'Meta pixel' }, + { vendor: 'Google', hook: 'email', asns: ['15169'], hosts: ['googlemail.com', 'google.com'], note: 'Gmail / Google Workspace' }, + { vendor: 'Microsoft', hook: 'email', asns: ['8075'], hosts: ['outlook.com', 'protection.outlook.com', 'microsoft.com'], note: 'Microsoft 365' }, + { vendor: 'Amazon', hook: 'email', asns: ['16509'], hosts: ['amazonses.com', 'sendgrid.net'], note: 'Amazon SES / SendGrid' }, + { vendor: 'Salesforce', hook: 'email', asns: [], hosts: ['salesforce.com', 'exacttarget.com'], note: 'Salesforce Marketing Cloud' }, + { vendor: 'Mailchimp', hook: 'email', asns: [], hosts: ['mailchimp.com', 'list-manage.com'], note: 'Mailchimp' }, + { vendor: 'Stripe', hook: 'payments', asns: [], hosts: ['stripe.com', 'stripe.network', 'js.stripe.com'], note: 'Stripe' }, + { vendor: 'PayPal', hook: 'payments', asns: [], hosts: ['paypal.com', 'paypalobjects.com'], note: 'PayPal' }, + { vendor: 'Auth0', hook: 'identity', asns: [], hosts: ['auth0.com'], note: 'Auth0' }, + { vendor: 'Okta', hook: 'identity', asns: [], hosts: ['okta.com', 'oktapreview.com'], note: 'Okta' }, + { vendor: 'Twilio', hook: 'messaging', asns: [], hosts: ['twilio.com', 'twiliocdn.com'], note: 'Twilio' }, + { vendor: 'Intercom', hook: 'support', asns: [], hosts: ['intercom.io', 'intercomcdn.com'], note: 'Intercom' }, + { vendor: 'HubSpot', hook: 'marketing', asns: [], hosts: ['hubspot.com', 'hubspot.net', 'hs-scripts.com'], note: 'HubSpot' }, + { vendor: 'Slack', hook: 'chat', asns: [], hosts: ['slack.com', 'slack-edge.com'], note: 'Slack' }, + { vendor: 'Discord', hook: 'chat', asns: [], hosts: ['discord.com', 'discordapp.com', 'discord.gg'], note: 'Discord' }, +]; + +const ASN_VENDOR = { + '16509': 'Amazon', '14618': 'Amazon', '8987': 'Amazon', + '15169': 'Google', '396982': 'Google', '19527': 'Google', + '8075': 'Microsoft', '8068': 'Microsoft', + '13335': 'Cloudflare', + '54113': 'Fastly', + '20940': 'Akamai', '16625': 'Akamai', + '32934': 'Meta', '63293': 'Meta', + '36459': 'Meta', '54115': 'Meta', +}; + +// ------------------------------------------------------------------ dns +async function dig(name, type) { + try { + const { stdout } = await run('dig', ['+short', '+time=4', '+tries=2', type, name], { timeout: 8000 }); + return stdout.split('\n').map((s) => s.trim()).filter(Boolean); + } catch { return []; } +} + +async function asnFor(ip) { + if (!/^\d+\.\d+\.\d+\.\d+$/.test(ip)) return null; + const rev = ip.split('.').reverse().join('.'); + const txt = await dig(`${rev}.origin.asn.cymru.com`, 'TXT'); + if (!txt.length) return null; + const asn = txt[0].replace(/"/g, '').split('|')[0].trim(); + if (!asn) return null; + const name = await dig(`AS${asn}.asn.cymru.com`, 'TXT'); + const org = name.length ? name[0].replace(/"/g, '').split('|').slice(-1)[0].trim() : ''; + return { asn, org }; +} + +// ------------------------------------------------------------------ http +async function fetchHead(url) { + try { + const res = await fetch(url, { + method: 'GET', redirect: 'follow', headers: { 'User-Agent': UA }, + signal: AbortSignal.timeout(15000), + }); + const text = await res.text(); + return { + status: res.status, + finalUrl: res.url, + headers: Object.fromEntries(res.headers.entries()), + html: text.slice(0, 400000), + }; + } catch (err) { + return { error: String(err.message || err) }; + } +} + +function hostsInHtml(html) { + const hosts = new Set(); + const re = /(?:https?:)?\/\/([a-z0-9.-]+\.[a-z]{2,})/gi; + let m; + while ((m = re.exec(html))) hosts.add(m[1].toLowerCase()); + return [...hosts]; +} + +function classify(hostlist) { + const hits = []; + for (const h of hostlist) { + for (const v of VENDORS) { + if (v.hosts.some((p) => h === p || h.endsWith('.' + p))) { + hits.push({ vendor: v.vendor, hook: v.hook, evidence: h, note: v.note }); + break; + } + } + } + // dedupe by vendor+hook, keeping the first evidence + const seen = new Set(); + return hits.filter((h) => { + const k = h.vendor + '|' + h.hook; + if (seen.has(k)) return false; + seen.add(k); + return true; + }); +} + +// ------------------------------------------------------------------ probe +export async function probe(input) { + const url = input.startsWith('http') ? input : `https://${input}`; + const host = new URL(url).hostname.replace(/^www\./, ''); + const apex = host.split('.').slice(-2).join('.'); + + const [a, aaaa, ns, mx, txt] = await Promise.all([ + dig(host, 'A'), dig(host, 'AAAA'), dig(apex, 'NS'), dig(apex, 'MX'), dig(apex, 'TXT'), + ]); + + const origins = []; + for (const ip of [...a, ...aaaa].slice(0, 4)) { + const asn = await asnFor(ip); + if (asn) origins.push({ ip, ...asn }); + } + + const page = await fetchHead(url); + const pageHosts = page.html ? hostsInHtml(page.html) : []; + const scriptHosts = page.html + ? [...page.html.matchAll(/`; + return page('The software rating list — BigTech.sucks', body); +} + // ------------------------------------------------------------------ write mkdirSync(join(PUB, 'report'), { recursive: true }); @@ -248,5 +367,6 @@ for (const a of cat.assessments) { written++; } writeFileSync(join(PUB, 'method.html'), renderMethod()); +writeFileSync(join(PUB, 'index.html'), renderList()); -console.log(`rendered ${written} report page(s) + method.html into packages/web/public/`); +console.log(`rendered ${written} report page(s) + the list (index.html) + method.html into packages/web/public/`); diff --git a/packages/core/db/schema.sql b/packages/core/db/schema.sql index fe57e26..caf2eb4 100644 --- a/packages/core/db/schema.sql +++ b/packages/core/db/schema.sql @@ -178,6 +178,35 @@ CREATE TABLE IF NOT EXISTS attestation ( CREATE INDEX IF NOT EXISTS idx_attestation_product ON attestation(product_id, version); +-- ---------------------------------------------------------------- suggestions +-- Anyone can ask for a product to be rated. The backlog is built from these. +-- No account, no email required. An optional contact so we can tell them it shipped. +CREATE TABLE IF NOT EXISTS suggestion ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + product_name TEXT NOT NULL, + category_hint TEXT, + note TEXT, + contact TEXT, + suggested_at TEXT NOT NULL, + ip_hash TEXT, -- salted, never the raw address + status TEXT NOT NULL DEFAULT 'pending' + CHECK (status IN ('pending','accepted','duplicate','declined')) +); + +CREATE INDEX IF NOT EXISTS idx_suggestion_name ON suggestion(LOWER(product_name)); + +-- What the public is asking for, most-requested first. +CREATE VIEW IF NOT EXISTS v_requested AS +SELECT + LOWER(TRIM(s.product_name)) AS key, + TRIM(MIN(s.product_name)) AS product_name, + COUNT(*) AS requests, + MAX(s.suggested_at) AS latest +FROM suggestion s +WHERE s.status = 'pending' +GROUP BY LOWER(TRIM(s.product_name)) +ORDER BY requests DESC, latest DESC; + -- ---------------------------------------------------------------- derived views -- The single number the game and the report both use. CREATE VIEW IF NOT EXISTS v_product_score AS diff --git a/packages/core/src/data/generated/catalog.json b/packages/core/src/data/generated/catalog.json index 62ca7c2..c40a67d 100644 --- a/packages/core/src/data/generated/catalog.json +++ b/packages/core/src/data/generated/catalog.json @@ -1,5 +1,5 @@ { - "generated_at": "2026-10-29T22:18:53.099Z", + "generated_at": "2026-10-29T22:21:27.412Z", "method_version": "btr-0.1", "dimensions": [ { @@ -3159,7 +3159,7 @@ ], "evidence": [ { - "id": 55, + "id": 66, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "local_data_exposure", "claim": "Attachments are stored unencrypted on the filesystem; the SQLCipher key is held by the OS keyring.", @@ -3170,7 +3170,7 @@ "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 56, + "id": 67, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "telemetry_egress", "claim": "Electron media permission defaults to false and audio is denied unless the user has enabled mediaPermissions.", @@ -3181,7 +3181,7 @@ "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 57, + "id": 68, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "telemetry_egress", "claim": "Zero analytics, tracker or crash-upload dependencies across 224 packages.", @@ -3192,7 +3192,7 @@ "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 58, + "id": 69, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "telemetry_egress", "claim": "Only two audio capture call sites exist and both are reachable only from an explicit UI action.", @@ -3203,7 +3203,7 @@ "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 59, + "id": 70, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "verifiability", "claim": "Signal states reproducible builds for macOS and Windows are not available, and the Linux build is experimental.", @@ -3214,7 +3214,7 @@ "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 60, + "id": 71, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "server_retention", "claim": "Grand jury subpoena response returned two timestamps and nothing else.", @@ -3225,7 +3225,7 @@ "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 61, + "id": 72, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "ownership_jurisdiction", "claim": "Signal Technology Foundation is a 501(c)(3) with EIN 82-4506840.", @@ -3236,7 +3236,7 @@ "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 62, + "id": 73, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "incident_record", "claim": "FBI and CISA PSA260626: Russian intelligence compromised individual Signal accounts via phishing and Backup Recovery Key theft, but NOT the encryption or the application itself.", @@ -3247,7 +3247,7 @@ "observed_at": "2026-10-29T15:26:00-05:00" }, { - "id": 63, + "id": 74, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "incident_record", "claim": "Signal statement, 28 April 2026: \"Signal was not hacked, in that our encryption, infrastructure, and the integrity of the app code was not compromised.\" Additional linkage confirmations shipped 13 May 2026.", @@ -3258,7 +3258,7 @@ "observed_at": "2026-10-29T15:26:00-05:00" }, { - "id": 64, + "id": 75, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "ownership_jurisdiction", "claim": "Open Technology Fund funded Open Whisper Systems $2,955,000 across 2013 to 2016, itemised on OTF own project page. This is the factual core under the \"US government funded Signal\" claim, and it is already reflected in the two points docked on this dimension.", @@ -3269,7 +3269,7 @@ "observed_at": "2026-10-29T15:26:00-05:00" }, { - "id": 65, + "id": 76, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "user_control_exit", "claim": "Signal publicly committed to leaving the UK (2023, Online Safety Act) and Sweden (Feb 2025) rather than weaken encryption. A vendor that threatens to lose a market is behaving incompatibly with a secret backdoor.", @@ -3282,7 +3282,7 @@ ], "findings": [ { - "id": 25, + "id": 29, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "severity": "high", "title": "Received attachments are stored unencrypted on disk", @@ -3291,7 +3291,7 @@ "cve": "CVE-2023-24069" }, { - "id": 26, + "id": 30, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "severity": "medium", "title": "No verified reproducible build for the Linux package", @@ -3300,7 +3300,7 @@ "cve": null }, { - "id": 27, + "id": 31, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "severity": "medium", "title": "Local database key is held in the OS keyring", @@ -3309,7 +3309,7 @@ "cve": null }, { - "id": 28, + "id": 32, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "severity": "low", "title": "Registration requires a phone number", diff --git a/packages/core/src/data/generated/catalog.ts b/packages/core/src/data/generated/catalog.ts index ea62744..dc78549 100644 --- a/packages/core/src/data/generated/catalog.ts +++ b/packages/core/src/data/generated/catalog.ts @@ -39,7 +39,7 @@ export interface CatalogDimension { } export const catalog = { - "generated_at": "2026-10-29T22:18:53.099Z", + "generated_at": "2026-10-29T22:21:27.412Z", "method_version": "btr-0.1", "dimensions": [ { @@ -3199,7 +3199,7 @@ export const catalog = { ], "evidence": [ { - "id": 55, + "id": 66, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "local_data_exposure", "claim": "Attachments are stored unencrypted on the filesystem; the SQLCipher key is held by the OS keyring.", @@ -3210,7 +3210,7 @@ export const catalog = { "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 56, + "id": 67, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "telemetry_egress", "claim": "Electron media permission defaults to false and audio is denied unless the user has enabled mediaPermissions.", @@ -3221,7 +3221,7 @@ export const catalog = { "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 57, + "id": 68, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "telemetry_egress", "claim": "Zero analytics, tracker or crash-upload dependencies across 224 packages.", @@ -3232,7 +3232,7 @@ export const catalog = { "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 58, + "id": 69, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "telemetry_egress", "claim": "Only two audio capture call sites exist and both are reachable only from an explicit UI action.", @@ -3243,7 +3243,7 @@ export const catalog = { "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 59, + "id": 70, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "verifiability", "claim": "Signal states reproducible builds for macOS and Windows are not available, and the Linux build is experimental.", @@ -3254,7 +3254,7 @@ export const catalog = { "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 60, + "id": 71, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "server_retention", "claim": "Grand jury subpoena response returned two timestamps and nothing else.", @@ -3265,7 +3265,7 @@ export const catalog = { "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 61, + "id": 72, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "ownership_jurisdiction", "claim": "Signal Technology Foundation is a 501(c)(3) with EIN 82-4506840.", @@ -3276,7 +3276,7 @@ export const catalog = { "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 62, + "id": 73, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "incident_record", "claim": "FBI and CISA PSA260626: Russian intelligence compromised individual Signal accounts via phishing and Backup Recovery Key theft, but NOT the encryption or the application itself.", @@ -3287,7 +3287,7 @@ export const catalog = { "observed_at": "2026-10-29T15:26:00-05:00" }, { - "id": 63, + "id": 74, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "incident_record", "claim": "Signal statement, 28 April 2026: \"Signal was not hacked, in that our encryption, infrastructure, and the integrity of the app code was not compromised.\" Additional linkage confirmations shipped 13 May 2026.", @@ -3298,7 +3298,7 @@ export const catalog = { "observed_at": "2026-10-29T15:26:00-05:00" }, { - "id": 64, + "id": 75, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "ownership_jurisdiction", "claim": "Open Technology Fund funded Open Whisper Systems $2,955,000 across 2013 to 2016, itemised on OTF own project page. This is the factual core under the \"US government funded Signal\" claim, and it is already reflected in the two points docked on this dimension.", @@ -3309,7 +3309,7 @@ export const catalog = { "observed_at": "2026-10-29T15:26:00-05:00" }, { - "id": 65, + "id": 76, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "user_control_exit", "claim": "Signal publicly committed to leaving the UK (2023, Online Safety Act) and Sweden (Feb 2025) rather than weaken encryption. A vendor that threatens to lose a market is behaving incompatibly with a secret backdoor.", @@ -3322,7 +3322,7 @@ export const catalog = { ], "findings": [ { - "id": 25, + "id": 29, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "severity": "high", "title": "Received attachments are stored unencrypted on disk", @@ -3331,7 +3331,7 @@ export const catalog = { "cve": "CVE-2023-24069" }, { - "id": 26, + "id": 30, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "severity": "medium", "title": "No verified reproducible build for the Linux package", @@ -3340,7 +3340,7 @@ export const catalog = { "cve": null }, { - "id": 27, + "id": 31, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "severity": "medium", "title": "Local database key is held in the OS keyring", @@ -3349,7 +3349,7 @@ export const catalog = { "cve": null }, { - "id": 28, + "id": 32, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "severity": "low", "title": "Registration requires a phone number", diff --git a/packages/server/src/index.js b/packages/server/src/index.js index ff5accb..6e041b4 100644 --- a/packages/server/src/index.js +++ b/packages/server/src/index.js @@ -1,4 +1,5 @@ import { createServer } from 'node:http'; +import { createHash } from 'node:crypto'; import { appendFile, mkdir } from 'node:fs/promises'; import { join, dirname } from 'node:path'; import { fileURLToPath } from 'node:url'; @@ -7,6 +8,7 @@ const __dirname = dirname(fileURLToPath(import.meta.url)); const PORT = process.env.PORT || 3001; const DATA_DIR = process.env.WAITLIST_DIR || join(__dirname, '..', 'data'); const WAITLIST_FILE = join(DATA_DIR, 'waitlist.jsonl'); +const SUGGEST_FILE = join(DATA_DIR, 'suggestions.jsonl'); /** §8.3 — server stores ONLY waitlist email + channel + settlerSince */ async function handleWaitlist(req, res, body) { @@ -32,6 +34,54 @@ async function handleWaitlist(req, res, body) { res.end(JSON.stringify({ ok: true, stored: ['email', 'channel', 'settlerSince'] })); } +/** + * §suggestions — anyone can ask for a product to be rated. + * + * Stores the product name, an optional category hint, an optional note, and an + * optional contact. The visitor's address is salted and hashed, never stored raw, + * and only to rate-limit abuse. No account, no tracking, no cookie. + */ +async function handleSuggest(req, res, body) { + let data; + try { + data = JSON.parse(body); + } catch { + res.writeHead(400, { 'Content-Type': 'application/json' }); + res.end(JSON.stringify({ error: 'invalid JSON' })); + return; + } + + const productName = String(data.product_name ?? '').trim().slice(0, 120); + if (productName.length < 2) { + res.writeHead(400, { 'Content-Type': 'application/json' }); + res.end(JSON.stringify({ error: 'product_name required' })); + return; + } + + const entry = { + product_name: productName, + category_hint: String(data.category_hint ?? '').trim().slice(0, 60) || null, + note: String(data.note ?? '').trim().slice(0, 280) || null, + contact: String(data.contact ?? '').trim().slice(0, 160) || null, + suggested_at: new Date().toISOString(), + ip_hash: hashIp(req), + }; + + await mkdir(DATA_DIR, { recursive: true }); + await appendFile(SUGGEST_FILE, JSON.stringify(entry) + '\n'); + + res.writeHead(201, { 'Content-Type': 'application/json' }); + res.end(JSON.stringify({ ok: true, product_name: entry.product_name })); +} + +/** Salted hash of the client address. The salt is per-deployment, never shipped. */ +function hashIp(req) { + const ip = (req.headers['x-forwarded-for'] || '').split(',')[0].trim() + || req.socket?.remoteAddress || 'unknown'; + const salt = process.env.SUGGEST_SALT || 'bigtech-local-salt'; + return createHash('sha256').update(salt + '|' + ip).digest('hex').slice(0, 32); +} + const server = createServer(async (req, res) => { res.setHeader('Access-Control-Allow-Origin', '*'); res.setHeader('Access-Control-Allow-Methods', 'POST, OPTIONS'); @@ -56,6 +106,19 @@ const server = createServer(async (req, res) => { return; } + if (req.method === 'POST' && req.url === '/api/suggest') { + const chunks = []; + for await (const chunk of req) chunks.push(chunk); + try { + await handleSuggest(req, res, Buffer.concat(chunks).toString()); + } catch (err) { + res.writeHead(500, { 'Content-Type': 'application/json' }); + res.end(JSON.stringify({ error: 'internal error' })); + console.error(err); + } + return; + } + if (req.method === 'GET' && req.url === '/api/health') { res.writeHead(200, { 'Content-Type': 'application/json' }); res.end(JSON.stringify({ ok: true, honeypot: false })); diff --git a/packages/web/index.html b/packages/web/game.html similarity index 100% rename from packages/web/index.html rename to packages/web/game.html diff --git a/packages/web/public/catalog.json b/packages/web/public/catalog.json index 62ca7c2..c40a67d 100644 --- a/packages/web/public/catalog.json +++ b/packages/web/public/catalog.json @@ -1,5 +1,5 @@ { - "generated_at": "2026-10-29T22:18:53.099Z", + "generated_at": "2026-10-29T22:21:27.412Z", "method_version": "btr-0.1", "dimensions": [ { @@ -3159,7 +3159,7 @@ ], "evidence": [ { - "id": 55, + "id": 66, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "local_data_exposure", "claim": "Attachments are stored unencrypted on the filesystem; the SQLCipher key is held by the OS keyring.", @@ -3170,7 +3170,7 @@ "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 56, + "id": 67, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "telemetry_egress", "claim": "Electron media permission defaults to false and audio is denied unless the user has enabled mediaPermissions.", @@ -3181,7 +3181,7 @@ "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 57, + "id": 68, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "telemetry_egress", "claim": "Zero analytics, tracker or crash-upload dependencies across 224 packages.", @@ -3192,7 +3192,7 @@ "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 58, + "id": 69, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "telemetry_egress", "claim": "Only two audio capture call sites exist and both are reachable only from an explicit UI action.", @@ -3203,7 +3203,7 @@ "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 59, + "id": 70, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "verifiability", "claim": "Signal states reproducible builds for macOS and Windows are not available, and the Linux build is experimental.", @@ -3214,7 +3214,7 @@ "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 60, + "id": 71, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "server_retention", "claim": "Grand jury subpoena response returned two timestamps and nothing else.", @@ -3225,7 +3225,7 @@ "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 61, + "id": 72, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "ownership_jurisdiction", "claim": "Signal Technology Foundation is a 501(c)(3) with EIN 82-4506840.", @@ -3236,7 +3236,7 @@ "observed_at": "2026-10-29T13:13:56-05:00" }, { - "id": 62, + "id": 73, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "incident_record", "claim": "FBI and CISA PSA260626: Russian intelligence compromised individual Signal accounts via phishing and Backup Recovery Key theft, but NOT the encryption or the application itself.", @@ -3247,7 +3247,7 @@ "observed_at": "2026-10-29T15:26:00-05:00" }, { - "id": 63, + "id": 74, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "incident_record", "claim": "Signal statement, 28 April 2026: \"Signal was not hacked, in that our encryption, infrastructure, and the integrity of the app code was not compromised.\" Additional linkage confirmations shipped 13 May 2026.", @@ -3258,7 +3258,7 @@ "observed_at": "2026-10-29T15:26:00-05:00" }, { - "id": 64, + "id": 75, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "ownership_jurisdiction", "claim": "Open Technology Fund funded Open Whisper Systems $2,955,000 across 2013 to 2016, itemised on OTF own project page. This is the factual core under the \"US government funded Signal\" claim, and it is already reflected in the two points docked on this dimension.", @@ -3269,7 +3269,7 @@ "observed_at": "2026-10-29T15:26:00-05:00" }, { - "id": 65, + "id": 76, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "dimension_id": "user_control_exit", "claim": "Signal publicly committed to leaving the UK (2023, Online Safety Act) and Sweden (Feb 2025) rather than weaken encryption. A vendor that threatens to lose a market is behaving incompatibly with a secret backdoor.", @@ -3282,7 +3282,7 @@ ], "findings": [ { - "id": 25, + "id": 29, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "severity": "high", "title": "Received attachments are stored unencrypted on disk", @@ -3291,7 +3291,7 @@ "cve": "CVE-2023-24069" }, { - "id": 26, + "id": 30, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "severity": "medium", "title": "No verified reproducible build for the Linux package", @@ -3300,7 +3300,7 @@ "cve": null }, { - "id": 27, + "id": 31, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "severity": "medium", "title": "Local database key is held in the OS keyring", @@ -3309,7 +3309,7 @@ "cve": null }, { - "id": 28, + "id": 32, "assessment_id": "A-2026-10-29-SIGNAL-DESKTOP", "severity": "low", "title": "Registration requires a phone number", diff --git a/packages/web/public/index.html b/packages/web/public/index.html new file mode 100644 index 0000000..58e3c2a --- /dev/null +++ b/packages/web/public/index.html @@ -0,0 +1,1136 @@ + +
+ +1 rated of 137 listed. +Every score is a measurement with an evidence trail, not an opinion with a number attached.
+ +A rating is published only when a product has been audited, its evidence saved, +and its total recomputed by the build. Anything without that is listed as not rated, +which is a fact about our work, not about the software.
+ +| Product | Vendor | Category | Score | Grade | Weakest |
|---|---|---|---|---|---|
| Signal Desktop | +Signal | +messaging | +76.4 | +B | +local_data_exposure | +
Ordered by category. Ask for any of these at the bottom and it moves up the queue.
+| Product | Vendor | Category | Score | Status | |
|---|---|---|---|---|---|
| ai 12 | |||||
| Alpaca | +Unknown vendor | +ai | +— | +not rated | ++ |
| ChatGPT | +OpenAI | +ai | +— | +not rated | ++ |
| ChatQT | +Unknown vendor | +ai | +— | +not rated | ++ |
| Gai | +Unknown vendor | +ai | +— | +not rated | ++ |
| Google Gemini | +Google LLC | +ai | +— | +not rated | ++ |
| GPT4ALL | +Unknown vendor | +ai | +— | +not rated | ++ |
| LM Studio | +Unknown vendor | +ai | +— | +not rated | ++ |
| MindMate | +Unknown vendor | +ai | +— | +not rated | ++ |
| Moose | +Unknown vendor | +ai | +— | +not rated | ++ |
| Reins: Chat for Ollama | +Unknown vendor | +ai | +— | +not rated | ++ |
| TarotCaster | +Unknown vendor | +ai | +— | +not rated | ++ |
| Writing Tools | +Unknown vendor | +ai | +— | +not rated | ++ |
| browser 11 | |||||
| Chromium Web Browser | +Unknown vendor | +browser | +— | +not rated | ++ |
| FireDragon | +Unknown vendor | +browser | +— | +not rated | ++ |
| Firefox | +Unknown vendor | +browser | +— | +not rated | ++ |
| Google Chrome | +Google LLC | +browser | +— | +not rated | ++ |
| LibreWolf | +Unknown vendor | +browser | +— | +not rated | ++ |
| Microsoft Edge | +Unknown vendor | +browser | +— | +not rated | ++ |
| Mullvad Browser | +Unknown vendor | +browser | +— | +not rated | ++ |
| Waterfox | +Unknown vendor | +browser | +— | +not rated | ++ |
| Web | +Unknown vendor | +browser | +— | +not rated | ++ |
| Web Apps | +Unknown vendor | +browser | +— | +not rated | ++ |
| Yandex Browser | +Unknown vendor | +browser | +— | +not rated | ++ |
| calendar 3 | |||||
| Google Calendar | +Google LLC | +calendar | +— | +not rated | ++ |
| Nextcloud Calendar | +Nextcloud GmbH | +calendar | +— | +not rated | ++ |
| Nextcloud Contacts | +Nextcloud GmbH | +calendar | +— | +not rated | ++ |
| crm 1 | |||||
| Salesforce | +Salesforce, Inc. | +crm | +— | +not rated | ++ |
| dev 2 | |||||
| GitHub | +Microsoft Corporation | +dev | +— | +not rated | ++ |
| Vercel | +Vercel Inc. | +dev | +— | +not rated | ++ |
| email 16 | |||||
| Aerion | +Unknown vendor | +— | +not rated | ++ | |
| Betterbird | +Unknown vendor | +— | +not rated | ++ | |
| Convey | +Unknown vendor | +— | +not rated | ++ | |
| Geary | +Unknown vendor | +— | +not rated | ++ | |
| Gmail | +Google LLC | +— | +not rated | ++ | |
| Kanmail | +Unknown vendor | +— | +not rated | ++ | |
| Unknown vendor | +— | +not rated | ++ | ||
| Mailspring | +Unknown vendor | +— | +not rated | ++ | |
| Meli | +Unknown vendor | +— | +not rated | ++ | |
| Meron | +Unknown vendor | +— | +not rated | ++ | |
| Nextcloud Mail | +Nextcloud GmbH | +— | +not rated | ++ | |
| Outlook | +Microsoft Corporation | +— | +not rated | ++ | |
| Proton Mail | +Proton AG | +— | +not rated | ++ | |
| Thunderbird | +Unknown vendor | +— | +not rated | ++ | |
| Thunderbird ESR | +Unknown vendor | +— | +not rated | ++ | |
| Tuta (Experimental) | +Unknown vendor | +— | +not rated | ++ | |
| files 13 | |||||
| Dropbox | +Dropbox, Inc. | +files | +— | +not rated | ++ |
| Google Drive | +Google LLC | +files | +— | +not rated | ++ |
| Lazyrsync | +Unknown vendor | +files | +— | +not rated | ++ |
| Nextcloud (self-hosted) | +Nextcloud GmbH | +files | +— | +not rated | ++ |
| Nextcloud Dropbox Migration | +Nextcloud GmbH | +files | +— | +not rated | ++ |
| Nextcloud Files | +Nextcloud GmbH | +files | +— | +not rated | ++ |
| Nextcloud Google Drive Migration | +Nextcloud GmbH | +files | +— | +not rated | ++ |
| Nextcloud Server | +Nextcloud GmbH | +files | +— | +not rated | ++ |
| Ocis | +Unknown vendor | +files | +— | +not rated | ++ |
| OneDrive | +Microsoft Corporation | +files | +— | +not rated | ++ |
| OxiCloud | +Unknown vendor | +files | +— | +not rated | ++ |
| Seafile | +Unknown vendor | +files | +— | +not rated | ++ |
| Syncthing Macos | +Unknown vendor | +files | +— | +not rated | ++ |
| health 2 | |||||
| 23andMe | +23andMe Holding Co. | +health | +— | +not rated | ++ |
| Fitbit | +Google LLC | +health | +— | +not rated | ++ |
| messaging 17 | |||||
| Bitchat | +Unknown vendor | +messaging | +— | +not rated | ++ |
| Chat | +Unknown vendor | +messaging | +— | +not rated | ++ |
| Discord | +Discord Inc. | +messaging | +— | +not rated | ++ |
| Flare | +Unknown vendor | +messaging | +— | +not rated | ++ |
| Fluxer | +Unknown vendor | +messaging | +— | +not rated | ++ |
| Gajim | +Unknown vendor | +messaging | +— | +not rated | ++ |
| GNUnet Messenger | +Unknown vendor | +messaging | +— | +not rated | ++ |
| Kaidan | +Unknown vendor | +messaging | +— | +not rated | ++ |
| Karere | +Unknown vendor | +messaging | +— | +not rated | ++ |
| Lightning | +Unknown vendor | +messaging | +— | +not rated | ++ |
| Mumble | +Unknown vendor | +messaging | +— | +not rated | ++ |
| Nextcloud Spreed Signaling (HPB) | +Nextcloud GmbH | +messaging | +— | +not rated | ++ |
| Nextcloud Talk | +Nextcloud GmbH | +messaging | +— | +not rated | ++ |
| Parla | +Unknown vendor | +messaging | +— | +not rated | ++ |
| Simplex Chat | +Unknown vendor | +messaging | +— | +not rated | ++ |
| Slack | +Salesforce, Inc. | +messaging | +— | +not rated | ++ |
| Whatsie | +Unknown vendor | +messaging | +— | +not rated | ++ |
| money 2 | |||||
| Mint (Intuit) | +Intuit Inc. | +money | +— | +not rated | ++ |
| Plaid | +Plaid Inc. | +money | +— | +not rated | ++ |
| notes 12 | |||||
| Beaver Notes | +Unknown vendor | +notes | +— | +not rated | ++ |
| Evernote | +Evernote | +notes | +— | +not rated | ++ |
| Nextcloud Notes | +Nextcloud GmbH | +notes | +— | +not rated | ++ |
| Notes | +Unknown vendor | +notes | +— | +not rated | ++ |
| Notesnook | +Unknown vendor | +notes | +— | +not rated | ++ |
| Notion | +Notion Labs | +notes | +— | +not rated | ++ |
| Obsidian Sync | +Dynalist Inc. | +notes | +— | +not rated | ++ |
| Scrivano for Handwritten Notes | +Unknown vendor | +notes | +— | +not rated | ++ |
| Standard Notes | +Unknown vendor | +notes | +— | +not rated | ++ |
| Sticky Notes | +Unknown vendor | +notes | +— | +not rated | ++ |
| Swifty Notes | +Unknown vendor | +notes | +— | +not rated | ++ |
| Trilium Notes | +Unknown vendor | +notes | +— | +not rated | ++ |
| os 2 | |||||
| Google Android | +Google LLC | +os | +— | +not rated | ++ |
| Windows 11 | +Microsoft Corporation | +os | +— | +not rated | ++ |
| passwords 13 | |||||
| 1Password | +AgileBits Inc. | +passwords | +— | +not rated | ++ |
| Key Rack | +Unknown vendor | +passwords | +— | +not rated | ++ |
| LastPass | +LastPass | +passwords | +— | +not rated | ++ |
| Nextcloud Password Client | +Unknown vendor | +passwords | +— | +not rated | ++ |
| Nextcloud Passwords | +Nextcloud GmbH | +passwords | +— | +not rated | ++ |
| Nitrokey App2 | +Unknown vendor | +passwords | +— | +not rated | ++ |
| OneKeePass | +Unknown vendor | +passwords | +— | +not rated | ++ |
| Password | +Unknown vendor | +passwords | +— | +not rated | ++ |
| Password Generator | +Unknown vendor | +passwords | +— | +not rated | ++ |
| Password Safe | +Unknown vendor | +passwords | +— | +not rated | ++ |
| Password Secure | +Unknown vendor | +passwords | +— | +not rated | ++ |
| Passwords and Keys | +Unknown vendor | +passwords | +— | +not rated | ++ |
| Proton Pass | +Unknown vendor | +passwords | +— | +not rated | ++ |
| photos 13 | |||||
| A Photo Tool (Libre) | +Unknown vendor | +photos | +— | +not rated | ++ |
| Camera | +Unknown vendor | +photos | +— | +not rated | ++ |
| Ente Photos | +Unknown vendor | +photos | +— | +not rated | ++ |
| GNU Image Manipulation Program | +Unknown vendor | +photos | +— | +not rated | ++ |
| Google Photos | +Google LLC | +photos | +— | +not rated | ++ |
| iCloud Photos | +Apple Inc. | +photos | +— | +not rated | ++ |
| Nextcloud Photos | +Nextcloud GmbH | +photos | +— | +not rated | ++ |
| Photobooth | +Unknown vendor | +photos | +— | +not rated | ++ |
| PhotoCollage | +Unknown vendor | +photos | +— | +not rated | ++ |
| Photoflare | +Unknown vendor | +photos | +— | +not rated | ++ |
| Photometry | +Unknown vendor | +photos | +— | +not rated | ++ |
| PhotoQt | +Unknown vendor | +photos | +— | +not rated | ++ |
| Photos | +Unknown vendor | +photos | +— | +not rated | ++ |
| productivity 3 | |||||
| Google Workspace | +Google LLC | +productivity | +— | +not rated | ++ |
| Microsoft 365 | +Microsoft Corporation | +productivity | +— | +not rated | ++ |
| Nextcloud Office | +Nextcloud GmbH | +productivity | +— | +not rated | ++ |
| project 3 | |||||
| Asana | +Asana, Inc. | +project | +— | +not rated | ++ |
| Nextcloud Deck | +Nextcloud GmbH | +project | +— | +not rated | ++ |
| Trello | +Atlassian Corporation | +project | +— | +not rated | ++ |
| smarthome 2 | |||||
| Google Nest | +Google LLC | +smarthome | +— | +not rated | ++ |
| Ring (Amazon) | +Amazon.com, Inc. | +smarthome | +— | +not rated | ++ |
| social 2 | |||||
| Meta Platforms | +social | +— | +not rated | ++ | |
| X (Twitter) | +X Corp. | +social | +— | +not rated | ++ |
| streaming 1 | |||||
| Netflix | +Netflix, Inc. | +streaming | +— | +not rated | ++ |
| video 4 | |||||
| Kino | +Kino AI | +video | +— | +not rated | ++ |
| Microsoft Teams | +Microsoft Corporation | +video | +— | +not rated | ++ |
| Otter.ai | +Otter.ai | +video | +— | +not rated | ++ |
| Zoom | +Zoom Communications | +video | +— | +not rated | ++ |
| voice 1 | |||||
| OpenAI Whisper API | +OpenAI | +voice | +— | +not rated | ++ |
| vpn 1 | |||||
| NordVPN | +Nord Security | +vpn | +— | +not rated | ++ |
No account. No email required. If enough people ask for the same thing, it gets +rated next. If you leave a contact we will tell you when it ships.
+ + + + +