attack-surface-test-checklist
БесплатноБез исполняемых скриптовНе проверенUse when a pull request, release branch or feature is about to be security tested and needs a targeted test list. Maps the changed code to nine attack…
от testland★ 18 звёзд на GitHubОб этом скилле
attack-surface-test-checklist
Overview
A change set has an attack surface: the set of security-relevant behaviors its files participate
in. A migration adding an avatar_url column and one adding a password_reset_token column
look identical in a diff stat and need entirely different tests. This skill turns a change set
into a bounded security test checklist in four moves:
- Classify each changed file into one or more of nine attack surfaces.
- Attach the OWASP ASVS verification requirements for each active surface.
- Tag each active surface with its OWASP Top 10 2021 category and WSTG test sections.
- Emit the per-surface manual and automated test items, and list the excluded surfaces.
Differentiation axis
What this owns: the mapping from a specific change to the specific security tests worth running against it, expressed as checkable items with standards references.
What it deliberately is not:
- Not a scanner configuration. The automated items are specifications of what to run, not tool settings. Triaging findings a scanner already produced is a different job.
- Not a penetration-test methodology. WSTG describes a full assessment of a deployed target; this selects a small subset because a change touched a surface, and stops when that surface is covered.
- Not a compliance-control audit. ASVS chapters are a catalog of things worth testing, not controls to attest against. A completed checklist is evidence tests ran, never evidence the change is secure or that any ASVS level is met.
Which ASVS version this uses
All requirement IDs below use OWASP ASVS 4.0.3 numbering. ASVS renumbers requirements between major versions, so an ID with no version attached is ambiguous. ASVS 5.0.0 was released on 2025-05-30 and 4.0.3 remains published as the previous stable release (OWASP ASVS project page). On a project standardized on 5.0.0, treat the chapter names below as the lookup key and re-resolve the numbers against that edition; the surfaces and test items do not change.
ASVS defines three verification levels: Level 1 is a low assurance level that is completely penetration testable, Level 2 is for applications containing sensitive data and is the recommended level for most applications, and Level 3 is for the most critical applications such as those handling high value transactions or sensitive medical data (ASVS 4.0.3, Using the ASVS). For a per-change checklist, default to Level 1 items and escalate to Level 2 when the change touches credential storage or session token issuance. That default is a scoping convention of this skill, not an ASVS rule.
The nine attack surfaces
Classify each changed file by path first, then confirm or correct with content. A file can belong to more than one surface.
| Surface | Path signals | Content signals |
|---|---|---|
| Authentication | auth/, login/, oauth/, sso/, mfa/, token/ |
Password hashing, session creation, JWT issuance, credential validation |
| Session management | session/, cookie, middleware/ |
Cookie attribute setting, token expiry, invalidation on logout |
| Input handling | routes/, controllers/, validators/, forms/, parsers/ |
SQL queries, template rendering, shell invocation, XML or JSON parsing |
| File upload | upload/, storage/, media/, attachments/ |
Multipart handling, MIME validation, storage path construction |
| Deserialization | serializ, marshal, pickle, yaml.load, JSON.parse |
Object hydration from an untrusted source |
| Access control | permissions/, policy/, roles/, authz/, acl/ |
Role checks, ownership assertions, resource-level guards |
| API and web service | api/, graphql/, soap/, rest/ |
Schema validation, HTTP method checks, rate limiting |
| Cryptography | crypto/, cipher, hmac, hash, tls/ |
Key generation, algorithm selection, IV or nonce handling |
| Data protection | pii/, gdpr/, models/, db/, cache/ |
Sensitive fields stored in plaintext, logging of secrets, caching policy |
Two rules keep the classification honest:
- Path first, content second. The path signal decides unless file content contradicts it. A
file under
utils/that callsyaml.loadis a deserialization surface; a file undercrypto/that only re-exports constants is not a cryptography surface. - A surface with zero changed lines is excluded, not marked "not applicable". Overscoping is the failure mode that kills these checklists: when every change produces the same forty items, the list stops being read.
Step 1 - Mark the active surfaces
For each changed file, record the surface or surfaces it matched and the count of changed lines attributed to each. A surface is active when at least one changed line lands in it. Keep the file list per surface: it is what m
Установить attack-surface-test-checklist в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл attack-surface-test-checklist?
Use when a pull request, release branch or feature is about to be security tested and needs a targeted test list. Maps the changed code to nine attack surfaces and attaches OWASP ASVS 4.0.3 requirements, Top 10 2021 IDs and WSTG sections, only for surfaces the change touches.
Как установить скилл attack-surface-test-checklist?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл attack-surface-test-checklist запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This 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…
от Anthropic