ajinabraham.njsscan.electronjs.security_electron.electron_blink_integration

profile photo of ajinabrahamajinabraham
Author
unknown
Download Count*
License

Blink's expirimental features are enabled in this application. Some of the features may affect the security of the application.

Run Locally

Run in CI

Defintion

rules:
  - id: electron_blink_integration
    patterns:
      - pattern-either:
          - pattern: |
              new BrowserWindow({webPreferences: {enableBlinkFeatures: '...'}})
          - pattern: |
              var $X = {webPreferences: {enableBlinkFeatures: '...'}};
    message: Blink's expirimental features are enabled in this application. Some of
      the features may affect the security of the application.
    languages:
      - javascript
    severity: WARNING
    metadata:
      owasp-web: a6
      cwe: cwe-272
      license: LGPL-3.0-or-later
      vulnerability_class:
        - Other