Closed
Description
We allowed unsafe-eval
in browser extension because browserified bundle ipfs-api.min.js
relies on eval
. Unfortunately Mozilla does not accept extensions with unsafe-eval
:
The use of 'unsafe-eval' is not allowed in the manifest.json's CSP as it can cause major security issues. [feedback from review]
[..] extensions with 'unsafe-eval', 'unsafe-inline', remote script, or remote sources in their CSP are not allowed for extensions listed on addons.mozilla.org due to major security issues. [MDN]
We need to address it somehow.
Any ideas @ipfs/javascript-team?
Is it possible to create own bundle without eval
?
We can start using webpack if needed.