id: webview-javascript-enabled

info:
  name: WebView JavaScript - Detect
  author: gaurang
  severity: info
  description: WebView Javascript enabling was detected.
  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: android,file,js,webview

file:
  - extensions:
      - all
    matchers:
      - type: word
        words:
          - "Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V"
# digest: 4a0a0047304502203cdc416a537e7de6c000b408745102d25b14a776ee40ee722b884cca8db77570022100fc980c5288f4bf6e9b306806802fe0135e9208d09e9cd452e80483af34f76533:922c64590222798bb761d5b6d8e72950