Skip to main content
Glama
http-redir-forging.py472 B
# The following noncompliant code example is vulnerable # to open redirection as it constructs a URL with # user-controllable data. This URL is then used to # redirect the user without being first validated. An # attacker can leverage this to manipulate users into # performing unwanted redirects. from flask import Flask, redirect app = Flask("example") @app.route("/redirect") def redirect(): url = request.args["url"] return redirect(url) # Noncompliant

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/michoo/security_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server