Skip to main content
Glama

scan_code

Scan code snippets or files for exposed secrets like API keys, passwords, and tokens to prevent sensitive data leaks in repositories.

Instructions

Scan a code snippet or file content for secrets and sensitive information. Supports up to 10MB of code content with enhanced validation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesCode content to scan (max 10MB)
filePathNoFile path (optional, helps with context)

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/cbuntingde/leak-secure-mcp'

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