Repository navigation
Cookie database from pinned OCD, hide scores without enough data, CSP script-src-elem - #47
Merged
Merged
Conversation
…CSP script-src-elem - Cookie database: lib/utils/cookie_db.g.dart is generated by tool/gen_cookie_db.dart from the pinned Open Cookie Database CSV (tool/data). Wildcard comes from OCD's flag, longest prefix wins, hand-curated names live in cookie_overrides.dart. 19 social-platform cookies are classified as social by a documented rule. - Attribution: OCD Apache-2.0 text shown on the app's licenses page, THIRD_PARTY_NOTICES.md. - No score without enough data: Sovereignty needs 50% of the checks verified; Cookie Privacy Lens needs both cookie sources. - CSP: script-src-elem and script-src-attr fallback (CSP3). - Audit report: K10 (quoted ';') was a false finding, RFC 6265 5.2. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
LICENSE said GPLv3 while README and the About screen said MIT. Wouter van Wijk is the only commit author, so LICENSE now carries the MIT text. README and About state that the name and icon are not covered by the licence. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #44 (audit of the score calculations).
lib/utils/cookie_db.g.dartis now generated bytool/gen_cookie_db.dartfrom the pinned Open Cookie Database CSV (tool/data/, commit7786335, 2026-11-06). The wildcard flag comes from OCD (not from a_/-suffix), the longest prefix wins, wildcards shorter than 3 characters match exactly. Hand-curated names that OCD lacks live inlib/utils/cookie_overrides.dart. 108 of the 2293 old names changed category (OCD wins). 19 cookies of social platforms are classifiedsocialby a documented rule; pixel and ad cookies stay advertising.THIRD_PARTY_NOTICES.md.LICENSEsaid GPLv3 while README and About said MIT. The project is MIT (the only commit author is the copyright holder), with a note in README and About that the name and icon are not covered by the licence.SovereigntyReport.minCoverage); Cookie Privacy Lens only scores when both the Set-Cookie headers and the browser cookies were read.script-src-elem/script-src-attrare evaluated per CSP3.;in cookie values) was wrong: RFC 6265 §5.2 splits at the first;. A test now documents that.Test plan
flutter test: 1327 passingflutter analyze: only the existingdeprecated_member_useinfosdart run tool/gen_cookie_db.dartis idempotent🤖 Generated with Claude Code