Skip to content

Privacy tab: suspicious techniques (plan 04) - #60

Merged
woutervanwijk merged 14 commits into
mainfrom
claude/plan-04-techniques
Nov 18, 2026
Merged

woutervanwijk merged 14 commits into
mainfrom
claude/plan-04-techniques

Conversation

@woutervanwijk

Copy link
Copy Markdown
Owner

Plan 04 of the explorer audit (docs/superpowers/plans/2026-11-15-04-suspicious-techniques.md).

What's new

New techniques section in the Privacy tab, plus analysis/techniques.json:

  • Fingerprinting calls (canvas, fonts, WebGL, audio, WebRTC, permission prompts on load): measured only in the separate off-screen fresh load (Run fresh load), never in the live browser. Thresholds follow Englehardt & Narayanan (2016) and are named constants.
  • Shared identifiers: a cookie value that is sent to other parties (compared in memory only; values are never shown, logged or exported). Short/common values and consent cookies are ignored.
  • CNAME cloaking: first-party hostnames that alias to advertising/analytics/behavior trackers (DoH, at most 20 hosts, only while the Privacy tab is open; PRIVACY.md updated).
  • Missing SRI: third-party scripts and stylesheets without an integrity attribute.
  • "Not measured is not clean": without a fresh load, on platforms without a headless WebView, or with missing data, the section says so instead of "none found".

Notes

  • Findings are indications with neutral titles; the existing analysis disclaimer stays.
  • Follow-up: the paper's exclusion of canvases using save/restore/addEventListener and getImageData counting need a script change; a labelled chart read back during load could still be flagged.

Testing

  • flutter analyze --no-pub clean; flutter test 1520 passed, 1 skipped.
  • Real macOS app: a fingerprinting test page triggers every expected finding; a chart page, nu.nl and example.com trigger none of the fingerprinting rules; bol.com's own bot-detection script shows canvas/audio/WebGL. The live browser carries no instrumentation.

🤖 Generated with Claude Code

woutervanwijk and others added 14 commits November 17, 2026 22:34
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ut SRI

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… check is Failed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s, cloaking, SRI)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s the real script

Emoji support checks no longer count as canvas text, fonts are counted by
family (capped at 500), the script is the first http frame unless it is the
page itself, and canvases under 16 px are not recorded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Marketing entities also own hosting domains (force.com). Also puts back the
lines of the fresh load test that were only reformatted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…xport, platform support, cloaking state)

Consent cookies are not shared identifiers; identifiers are deduped by value;
one prompt finding per api; complete needs browser, cookies and resources;
unsupported platforms say so up front; export gains hostnameCheck and
complete; a missing in-app browser or non-http page no longer leaves the
hostname check on Checking; parse failures show a plain message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s none

A failed browser read is Failed, and a page not loaded yet stays Pending.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ques

# Conflicts:
#	lib/services/inspection_export_service.dart
…easurer

The default measurer is NoFreshLoad on platforms without a headless
WebView (Linux CI), where the 'not run yet' state cannot occur. Pass
HeadlessFreshLoadMeasurer explicitly so the test is platform-independent.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
…ques

# Conflicts:
#	lib/services/inspection_export_service.dart
@woutervanwijk
woutervanwijk merged commit 89e452e into main Nov 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant