testing-application-security
БесплатноБез исполняемых скриптовНе проверенApplies OWASP-informed security testing within a tester scope: an authorization gate before any probing, authorization matrices, broken access control and…
от jaktestowac★ 124 звезды на GitHubОб этом скилле
Testing Application Security
Use this skill when a feature's protection matters and the functional suite only proves the happy path works for someone who is allowed to use it.
This is security testing at a tester's depth: systematic verification that the application enforces what it claims, not penetration testing. The highest-value work here is unglamorous and rarely done: a complete authorization matrix, checked server-side, for every role against every endpoint. Broken access control is consistently the most common serious defect class in web applications, and it is found by being thorough rather than by being clever.
Everything in this skill runs after the authorization gate in Phase 0. Testing a system you are not authorized to test is not a testing activity.
When to Use
- a feature is behind authentication or role-based permissions
- an exploratory session surfaced something security-shaped
- a security review needs QA-level coverage of access control
- API endpoints exist that the UI hides but does not protect
- a new role, permission, or tenant boundary has been added
- personal or financial data is handled and the handling needs checking
Operating Principles
- Authorization first, always. Written permission for this system, this environment, this scope, this window. No exception, including for your employer's own systems.
- Observe, do not exploit. Confirm the finding with the minimum action that demonstrates it, then stop. Reading one record you should not see proves the point; enumerating the table does not add to it and does add harm.
- The server decides. A UI that hides a button proves nothing. Every check runs against the API.
- Systematic beats clever. A complete role-by-endpoint matrix finds more real defects than an inventive payload.
- Never in production without explicit written approval, and never with real customer data.
- Report findings through the security path, not the public bug tracker.
- Depth has a limit. Beyond confirming a class of finding, hand off to a security professional rather than going further.
Workflow
Phase 0: The authorization gate
Nothing else in this skill runs until this is complete. Work through ./resources/scope-and-authorization-gate.md and record:
- written authorization from someone with the authority to give it, naming the system
- environment: staging by default; production requires separate, explicit approval and a named approver
- scope: which hosts, which endpoints, which accounts. Everything not listed is out of scope.
- prohibited actions: no denial of service, no load generation, no third-party systems, no real customer accounts, no data exfiltration
- time window
- contact: who to call the moment something unexpected happens
- data rule: synthetic accounts only
If any line is missing, stop and get it. A missing authorization line is a blocking condition, not a formality to catch up on afterwards.
For third-party systems, a bug bounty scope statement counts as authorization for exactly what it lists and nothing else.
Phase 1: Map the attack surface
- every route the application serves, including ones the UI does not link
- every API endpoint, from the spec, a route dump, or observed traffic
- every role, and every permission each role holds
- every tenant boundary, if the system is multi-tenant
- authentication mechanisms: password, SSO, tokens, API keys, session cookies
- where user input reaches: forms, query parameters, headers, file uploads, webhooks
- where data leaves: exports, reports, emails, third-party integrations
The API endpoints absent from the UI are the productive part. They are frequently protected by nothing except being undocumented.
Phase 2: Build the authorization matrix
The core deliverable. ./resources/authz-matrix-template.md has the format.
Every role against every protected resource, with the expected outcome and the observed one:
| Endpoint | Anonymous | User A | User B (other tenant) | Admin |
|---|---|---|---|---|
GET /api/orders/{A's id} |
401 | 200 | 403 | 200 |
PATCH /api/orders/{A's id} |
401 | 200 | 403 | 200 |
GET /api/admin/users |
401 | 403 | 403 | 200 |
Bold marks the expected allow. Every other cell is a deny that must be verified rather than assumed.
Check each cell at the API, with the session or token for that role, bypassing the UI entirely. A cell verified by "the button is not visible" is not verified.
The cases that produce findings:
- IDOR: swap an identifier for one belonging to another user or tenant
- Vertical escalation: a standard user calling an admin endpoint
- Horizontal escalation: user A reading or modifying user B's resource
- Method confusion:
GETdenied,POSTorPATCHunchecked on the same path - Missing object-level checks: the collection endpoint filters correctly, the item endpoint does not
- **Mass assi
Установить testing-application-security в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл testing-application-security?
Applies OWASP-informed security testing within a tester scope: an authorization gate before any probing, authorization matrices, broken access control and IDOR checks, input validation and injection observation, session and auth behaviour, and safe reporting of findings. Use when testing auth-protected features, when a security review needs QA coverage, when an exploratory session surfaced something security-shaped, or when access control needs a systematic check rather than a spot check.
Как установить скилл testing-application-security?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл testing-application-security запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set 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…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic