Repository navigation
v0.5.0
Two new rules, faster crawls and an opt-in Chromium sandbox.
New rules
adobe-fonts(error): fonts loaded from Adobe Fonts / Typekit (use.typekit.net,p.typekit.net). The fix text explains that, unlike Google Fonts, these need a separate licence to be self-hosted. (#8)consent-settings-link(warning): after "reject" and a reload, no visible link or button reopens the cookie settings (Art. 7(3) GDPR). Known reopen widgets of the supported consent managers count, as do links and buttons labelled like "Cookie-Einstellungen". Checked against the vendor sites of Cookiebot, OneTrust, CookieFirst, Osano, Termly, Complianz and CookieYes without false warnings. (#28)
If your site uses a consent banner without a footer link or floating button to reopen it, this release adds a warning to your scan.
Upgrading with fail-on-incomplete: on a site without a consent banner, consent-settings-link is not evaluable, like trackers-after-reject and reject-option. If you already disable those two for that reason, add consent-settings-link to the list, otherwise the step exits with 3.
Options
--concurrency <n>(config/API:concurrency): loads up to n pages of a crawl at once. Results are committed in breadth-first order, so pages, findings and SARIF fingerprints are identical to a sequential scan. A six-page crawl went from 20 s to 11 s at--concurrency 3. Default stays 1. (#14)--sandbox(API:sandbox: true): runs Chromium with its sandbox, recommended when scanning untrusted sites on a machine with secrets. Off by default; if it can't start, privalint stops with an explanation instead of silently running without it. (#13)
Trackers and consent managers
- Criteo, Taboola, Outbrain, Adform and Quantcast added to the tracker list (#7)
- Osano: the reject button is found again (
osano-cm-denyAll) (#9)
Report format
Schema 1.1.0 gains three optional fields: options.sandbox, options.concurrency and consent.settingsControl. Existing 1.1.0 reports stay valid.
Full changelog: https://github.com/JExcellence/privalint/blob/main/CHANGELOG.md