Skip to content

Experimental Features Enabled

Description

Experimental features are not expected to be in production-ready applications. They can introduce security vulnerabilities and should be disabled in production environments.

Examples

Insecure Code

javascript
new BrowserWindow({webPreferences: {experimentalFeatures: true}})

Secure Code

javascript
new BrowserWindow({webPreferences: {experimentalFeatures: false}})

Remediation

Disable experimental features by setting webPreferences.experimentalFeatures to false.

Rule Details

FieldValue
IDCODE-0371
CategoryInsecureConfig
SeverityCRITICAL
CWECWE-272
ConfidenceHIGH
ImpactHIGH
LikelihoodMEDIUM
ExploitabilityEASY
Tagssecurity-misconfiguration, least-privilege-violation
OWASPA6:2017-Security Misconfiguration, A05:2021-Security Misconfiguration