Content Type Sniffing Vulnerability
Detects missing X-Content-Type-Options header and incorrect Content-Type that allows MIME sniffing attacks.
от zakirkun★ 40 звёзд на GitHub
Установить Content Type Sniffing Vulnerability в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Content Type Sniffing
Overview
Browsers that MIME-sniff responses can interpret uploaded files differently from the declared content type. An attacker uploads an HTML file disguised as an image, and the browser sniffs it as HTML and executes the embedded JavaScript.
X-Content-Type-Options: nosniff prevents this sniffing behavior.
Remediation
- Set
X-Content-Type-Options: nosniffon all responses - Always declare the correct Content-Type for served files
- Do not serve user-uploaded content from the same origin as the application
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- patterns.yaml
FAQ
Что делает скилл Content Type Sniffing Vulnerability?
Detects missing X-Content-Type-Options header and incorrect Content-Type that allows MIME sniffing attacks.
Как установить скилл Content Type Sniffing Vulnerability?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Content Type Sniffing Vulnerability запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…