generated from acrosman/electron-sf-base
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Summary
The two HTML files lack a require-trusted-types-for CSP directive. The overall application would be more secure with it.
Please describe the problem you are trying to solve.
ElectronNegativity uses Google CSP Evaluator which is currently flagging the lack of a
require-trusted-types-for CSP directive.
Proposed Solution
- Add
require-trusted-types-for 'script'
to the CSP headers of both files. - Update the render scripts to avoid directly setting
innerHTML
and other things that violate the header.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed