vetkit.swift.webview.javascript-can-open-windows
Web view JavaScript may open windows without user interaction (javaScriptCanOpenWindowsAutomatically = true), which helps pop-up phishing and click-jacking.
Last updated:
Suite: Security
swift
Web view JavaScript may open windows without user interaction (javaScriptCanOpenWindowsAutomatically = true), which helps pop-up phishing and click-jacking.
Category: SECURITY · Engine rule severity: INFO
How to fix it
Leave the default (false) unless the loaded content is fully trusted.
Rule pattern example
The engine’s matching pattern, not a confirmed exploit. Metavariables and ellipses describe matching syntax.
$PREFS.javaScriptCanOpenWindowsAutomatically = trueReferences
Source: packages/engine/rules/sast/swift.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.