Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all web_accessible_resources, inject page code with Blob urls. #86

Merged
merged 15 commits into from
Jul 28, 2018

Conversation

cowlicks
Copy link
Owner

Having web accessible resources exposes us to some fingerprinting techniques related to a bug in firefox (link).

This also has other benefits.

  • Now that we inject scripts with blob URL's we should avoid problems with sites that have restrictive CSP's that might block extension:// urls.
  • The fingerprinting script now also no-longer gets injected with a data attribute that is observable by the page, this makes it harder for a malicious site to try to interfere with PP.
  • We can now handle the contentscripts in a more testable way, like other modules we have.

Thanks to violentmonkey for inspiring me with this blogpost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant