18F / domain-scan

A lightweight pipeline, locally or in Lambda, for scanning things like HTTPS, third party service use, and web accessibility.
Other
369 stars 139 forks source link

Add cookie scanner #282

Open ghost opened 5 years ago

ghost commented 5 years ago

This can be done similar to the third party scan with headless chrome. See https://stackoverflow.com/questions/50252943/puppeteer-get-3rd-party-cookies for the basic method and https://github.com/andersju/webbkoll/blob/master/misc/backend/index.js#L84 for an example implementation.

While the mere existence of a cookie is relevant from a privacy perspective, additional evaluations could focus on security aspects like cookie attributes and session management.