Cookie Compliance (cookie-compliance)
Summary
Tracking cookies vs consent signals and cookie security flags.
Classification
- Category:
SECURITY - Plugin id:
cookie-compliance - Version:
1.0.0 - Target types:
WEBSITE,WEBSHOP - Weight class:
LIGHT - Risk level: not set on plugin object
- Browser required: No (HTTP / Node / other — see source)
- Tier / group: Tier 1 — HTTP-only
Schedule
- scheduleHints:
{ defaultInterval: '0 */6 * * *', priority: 4 } - Prerequisites: None declared on this plugin.
Configurable inputs
Public keys are derived from inputSchema: z.object({ ... }) (underscore-prefixed keys are runtime-only and omitted here).
| Field | Notes |
|---|---|
timeout |
Zod field in inputSchema — see source for defaults, min/max, and .describe(). |
knownTrackers |
Zod field in inputSchema — see source for defaults, min/max, and .describe(). |
Runtime / injected config
- None documented beyond standard worker context (
target,config,logger,reportProgress). Underscore-prefixed keys are internal.
What it does
- Runs as part of the worker test execution pipeline; results become
Runrows and may createFindingrecords. - Tracking cookies vs consent signals and cookie security flags.
- For finding titles, metrics, and artifacts specific to this plugin, refer to the implementation linked below.
- Tracking cookies a script sets are read from a browser that loads the page and gives no consent. A tracker is reported only when a second load, in a fresh browser context with no cookies, shows it too (TESTE-NO-586): a tag that sometimes fires before the consent tool blocks it is a race, not a confirmed fault. A tracker only one load showed is counted in
trackingWithoutConsentUnconfirmed(names intrackingUnconfirmedCookies) and logged, never reported. - When the browser loads give no verdict (no browser, or the confirming load failed) the run's coverage is the header flag checks only, so open tracking findings stay open.
Source
packages/test-plugins/src/plugins/cookie-compliance.ts