Skip to content
vetkitChecksChangelogDocumentation

vetkit.ruby.open-redirect.params

A redirect target is taken from request params (open redirect). Attackers can craft links on your domain that forward victims to a phishing site.

Last updated:

Suite: Security

ruby

A redirect target is taken from request params (open redirect). Attackers can craft links on your domain that forward victims to a phishing site.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Redirect to fixed routes, or pass allow_other_host: false (Rails 7+) and validate the path.

References

Source: packages/engine/rules/sast/ruby.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.