id: electron-version-detect

info:
  name: Electron Version - Detect
  author: me9187
  severity: info
  reference:
    - https://www.electronjs.org/blog/chromium-rce-vulnerability/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  tags: electron,file

file:
  - extensions:
      - json

    extractors:
      - type: regex
        regex:
          - '"electronVersion":"[^"]*"'
# digest: 4b0a00483046022100ba5865fd16bbda35bc4467041fd4305043493663531b648c157ab0de8e5ba1b3022100b351773a30b60e954035f1d1ffcb4dfa7ed2476b99e2363f863e9c27408940a4:922c64590222798bb761d5b6d8e72950