dos
This skill should be used when the user asks to "check for denial of service", "analyze availability risks", "find DoS vulnerabilities", or mentions "denial…
от florianbuetow★ 22 звезды на GitHub
Установить dos в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Denial of Service Analysis
Analyze source code for denial of service threats where attackers can disrupt or degrade service availability. Maps to STRIDE D -- violations of the Availability security property.
Supported Flags
Read ../../shared/schemas/flags.md for the full flag specification. This skill supports all cross-cutting flags including --scope, --depth, --severity, --format, --fix, --quiet, and --explain.
Framework Context
Read ../../shared/frameworks/stride.md, specifically the D - Denial of Service section, for the threat model backing this analysis. Key concerns: resource exhaustion (CPU, memory, disk, network), algorithmic complexity attacks, application crashes, zip bombs.
Workflow
1. Determine Scope
Parse flags and resolve the target file list per the flags spec. Filter to files handling external input processing:
- API endpoints and route handlers (especially public/unauthenticated ones)
- File upload and processing handlers
- Search and query endpoints
- WebSocket handlers and long-lived connections
- Message queue consumers and event processors
- Cron jobs and batch processors
- Middleware configuration (body parsers, rate limiters)
- Regular expressions applied to user input
- Image/video/document processing pipelines
2. Analyze for Denial of Service Threats
For each in-scope file, apply the Analysis Checklist below. At --depth standard, examine resource consumption patterns in each file. At --depth deep, trace input from entry points through processing chains to identify amplification points, unbounded operations, and cascading failure paths.
3. Report Findings
Output findings per ../../shared/schemas/findings.md using the DOS ID prefix (e.g., DOS-001). Set references.stride to "D" on every finding.
Analysis Checklist
Work through these questions against the scoped code. Each "yes" may produce a finding.
- Missing rate limiting -- Are public-facing endpoints (login, search, signup, API) exposed without rate limiting or throttling middleware? Check route definitions for absence of
rateLimit,throttle,@rate_limit, or API gateway quotas. Auth endpoints are especially critical -- brute force attacks are both a spoofing and DoS vector. - Unbounded input size -- Are request body, file upload, or query parameter sizes unconstrained? Look for missing
bodyParser.json({ limit: }), absentMAX_CONTENT_LENGTH, file upload handlers without size caps, or missingContent-Lengthchecks. Multipart form handlers that buffer entire uploads into memory are high risk. - ReDoS patterns -- Do regular expressions use nested quantifiers or overlapping alternations on user input? Search for regex patterns like
(a+)+,(a|a)*,(\w+\s*)+,(.*a){x}, or([a-zA-Z]+)*applied to request data. These cause exponential backtracking. Test suspicious patterns with a ReDoS analyzer. - Algorithmic complexity -- Are user inputs fed into operations with super-linear worst-case complexity? Look for nested loops over user-controlled collections, quadratic string building (repeated concatenation in loops), unbounded recursion on user data, or hash collision-prone data structures.
- Uncontrolled resource allocation -- Can user input control how much memory, disk, or CPU is allocated? Look for array/buffer creation sized by request parameters, unbounded
SELECTwithoutLIMIT, pagination without maximum page size, ornew Array(req.query.size). - Zip/decompression bombs -- Are compressed files (zip, gzip, brotli, tar) decompressed without checking the expanded size or compression ratio? Look for
unzip,gunzip,decompress,inflate,extractallcalls without size monitoring, ratio limits, or file count caps. - Missing timeouts -- Are external HTTP calls, database queries, or subprocess executions missing timeout configuration? Look for
requests.getwithouttimeout=,fetchwithoutAbortController, database connections withoutstatement_timeout,subprocess.runwithouttimeout. - Single point of failure -- Does the application crash entirely on unhandled exceptions? Check for missing global error handlers, uncaught promise rejections crashing the Node.js process (
unhandledRejection), orprocess.exit/os._exitin error paths that kill the entire service. - Synchronous blocking in async paths -- Are CPU-intensive or I/O-blocking operations running on the main event loop (Node.js, Python asyncio)? Look for
fs.readFileSync,crypto.pbkdf2Sync, largeJSON.parse, image processing, or PDF generation on the event loop without worker offloading. - Unbounded fan-out -- Can a single request trigger an unbounded number of downstream operations (API calls, database queries, notifications, emails)? Look for loops over user-provided arrays that make externa
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dos?
This skill should be used when the user asks to "check for denial of service", "analyze availability risks", "find DoS vulnerabilities", or mentions "denial of service" or "DoS" in a security context. Maps to STRIDE category D.
Как установить скилл dos?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dos запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…