vetkit.swift.ssrf.vapor-request-input
A Vapor outbound HTTP request is sent to a URL taken from request input. An attacker can make the server call internal services or cloud metadata endpoints (server-side request forgery).
Last updated:
Suite: Security
swift
A Vapor outbound HTTP request is sent to a URL taken from request input. An attacker can make the server call internal services or cloud metadata endpoints (server-side request forgery).
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Keep the scheme and host fixed and pass only validated path components, or check the destination against an allow-list.
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.