vetkit.swift.open-redirect.vapor-request-input
A Vapor redirect target is taken from request input. An attacker can send users to a phishing site from a link on this domain (open redirect).
Last updated:
Suite: Security
swift
A Vapor redirect target is taken from request input. An attacker can send users to a phishing site from a link on this domain (open redirect).
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Redirect only to relative paths you construct, or validate the target against an allow-list of hosts.
References
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.