Skip to main content
Glama
security-constants.tsβ€’688 B
/** * Security constants for protecting against various code injection attacks */ /** * Keys that pose a prototype pollution risk and must be filtered * These keys can modify the prototype chain and should never be used in object merging */ export const PROTOTYPE_POLLUTION_KEYS = [ '__proto__', 'constructor', 'prototype', ] as const; /** * Characters that could be used for path traversal attacks */ export const PATH_TRAVERSAL_CHARS = ['.', '/', '\\'] as const; /** * Combined dangerous keys for object merging operations * Includes both prototype pollution keys and path traversal prevention */ export const DANGEROUS_KEYS = [...PROTOTYPE_POLLUTION_KEYS] as const;

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/kesslerio/attio-mcp-server'

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