Skip to content

Commit

Permalink
wallet-ext: stricter csp (MystenLabs#9129)
Browse files Browse the repository at this point in the history
  • Loading branch information
pchrysochoidis authored Mar 13, 2023
1 parent 86b4311 commit 5ce1659
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/wallet/src/manifest/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@
"resources": ["dapp-interface.js"],
"matches": ["<all_urls>"]
}
]
],
"content_security_policy": {
"extension_pages": "default-src 'none'; object-src 'none'; connect-src *; font-src 'self'; img-src *; script-src 'self'; style-src 'self' 'unsafe-inline'; base-uri 'self'; form-action 'none'; frame-ancestors 'none';"
}
}

0 comments on commit 5ce1659

Please sign in to comment.