Create electron-version-detect.yaml
Detects electron version from package.json filespatch-1
parent
ea52d761e4
commit
ed9a65d436
|
@ -0,0 +1,22 @@
|
|||
id: electron-version-detect.yaml
|
||||
|
||||
info:
|
||||
name: Electron Version Detect
|
||||
author: me9187
|
||||
severity: info
|
||||
tags: electron,file
|
||||
reference:
|
||||
- https://www.electronjs.org/blog/chromium-rce-vulnerability/
|
||||
# Check the electron version on snyk.io to see if the bundled chromium version is outdated
|
||||
# If the chromium version is old you can turn XSS into RCE
|
||||
|
||||
file:
|
||||
- extensions:
|
||||
- json
|
||||
|
||||
extractors:
|
||||
- type: regex
|
||||
part: all
|
||||
regex:
|
||||
- '"electronVersion":"[^"]*"'
|
||||
|
Loading…
Reference in New Issue