Skip to main content
Glama
logging-injection.py343 B
# The following code is vulnerable to log injection as it constructs # log entries using untrusted data. An attacker can leverage this to # manipulate the chain of events being recorded. import logging app = Flask(__name__) @app.route('/example') def log(): data = request.args["data"] app.logger.critical("%s", data) # 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