Skip to main content
Glama
ssl-standard.py531 B
# To establish a SSL/TLS connection not vulnerable to # man-in-the-middle attacks, it’s essential to make sure # the server presents the right certificate. import ssl ctx = ssl._create_unverified_context() # Noncompliant: by default hostname verification is not done ctx = ssl._create_stdlib_context() # Noncompliant: by default hostname verification is not done ctx = ssl.create_default_context() ctx.check_hostname = False # Noncompliant ctx = ssl._create_default_https_context() ctx.check_hostname = False # 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