Skip to main content
Glama
localstack
by localstack
aws-cli-sanitizer.ts290 B
export function sanitizeAwsCliCommand(rawCommand: string): string { const command = rawCommand.trim(); const forbidden = /(\|\||&&|;|`|\$\([^)]*\)|\||>|<|\n)/; if (forbidden.test(command)) { throw new Error("Command contains forbidden shell characters."); } return command; }

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

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