Debug Mode Enabled in Production
Detects debug mode enabled in production configurations, exposing stack traces, internal paths, and sensitive configuration details.
от zakirkun★ 40 звёзд на GitHub
Установить Debug Mode Enabled in Production в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Debug Mode Enabled in Production
Overview
Debug mode in web frameworks exposes critical information to attackers:
- Flask DEBUG=True: Interactive debugger in browser, allows arbitrary code execution
- Django DEBUG=True: Full stack traces with local variable values shown to users
- Node.js with verbose error logging: Internal file paths, stack traces
- Spring Boot actuator:
/actuator/env,/actuator/heapdumpexposed
Remediation
- Set
DEBUG=Falsein all production configurations - Use environment variables to control debug settings
- Implement a custom error handler that returns generic error messages
- Disable development-only actuator endpoints in production
Vulnerable (Flask):
app.run(debug=True, host='0.0.0.0') # Never in production!
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- patterns.yaml
FAQ
Что делает скилл Debug Mode Enabled in Production?
Detects debug mode enabled in production configurations, exposing stack traces, internal paths, and sensitive configuration details.
Как установить скилл Debug Mode Enabled in Production?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Debug Mode Enabled in Production запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…