Skip to main content
Wright Websites

cookie-sentinel

list cookies in a crawl

Fail CI when a page sets a cookie that is not declared in the cookie policy.

  • 16/week on npm
  • 2★
  • MIT
  • v1.1.1
  • In use on this site
  • Privacy & Compliance
npx cookie-sentinel

Read the full README on GitHub (opens in a new tab)View on npm (opens in a new tab)

cookie-sentinel

From the README

cookie-sentinel fetches your pages (following every redirect), collects every Set-Cookie header from every hop and audits each cookie against modern browser rules and security best practice. Every finding comes with a severity and a concrete fix. It also audits raw Set-Cookie lines offline from a file or stdin.

npm run update-ocdb

Where we use it

CI job on this site: html · In use

Related service: WebCare™ support

Related packages

Privacy & Compliance