security-testing
Skill1 starsChanged 29 days agoMITView on GitHub
Test authorization with a role × endpoint matrix (401, 403, IDOR) and audit dependencies for known vulnerabilities (pnpm, npm, NuGet). Use when adding or changing an endpoint, a permission, a data scope or a dependency; before a release; or when the user says "security test", "permission test", "IDOR", "audit dependencies".
13 other projects use a version of this.
Adopted by
Most recently taken up by
- ViviBeri/webcraft-protheir own version, first seen Nov 22, 2026
- Sn4kyGit/qa-agent-blueprinttheir own version, first seen Nov 16, 2026
- sayurionishi/playwright-scaffoldtheir own version, first seen Nov 15, 2026
- d-padmanabhan/agent-engineering-handbooktheir own version, first seen Nov 11, 2026
- AnyOrgName/php-skillstheir own version, first seen Nov 8, 2026
- joe-qai/qa-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use mobile-testing, database-testing and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
petrkindlmannSkillmobile-testing
Test native, React Native, hybrid, and Flutter mobile apps with Appium 3.x, Detox, Maestro, and Patrol. Covers device farm setup (BrowserStack, Sauce Labs), gesture simulation, deep link and cold-start testing, push notifications, biometric (Face ID) auth, offline/poor-network simulation, and iOS/Android permission dialog handling. Use when: "mobile test," "Appium," "Detox," "Maestro," "Patrol," "Flutter test," "iOS test," "Android test," "device farm," "deep link," "biometric," "Face ID," "permission dialog," "React Native test." Not for: device/browser matrix strategy in the abstract — use cross-browser-testing; app startup/memory/battery profiling depth — use performance-testing; mobile screenshot diffing — use visual-testing. Related: ci-cd-integration, cross-browser-testing, performance-testing, test-data-management, test-reliability.
Also in 5 projects that use this
petrkindlmannSkilldatabase-testing
Validate database integrity, test migrations forward and backward, verify schema constraints, manage seed data, detect migration drift, and identify query performance issues. Covers PostgreSQL, MySQL, MongoDB with Prisma, TypeORM, Drizzle, and SQLAlchemy, plus Testcontainers test databases. Use when: "database test," "migration test," "migration rollback," "rollback test," "data integrity," "SQL test," "schema validation," "seed data," "query performance," "Testcontainers." Not for: synthetic data generation/masking at scale — use test-data-management; Docker/IaC test-environment provisioning — use test-environments; SQL injection — use security-testing. Related: test-data-management, test-environments, security-testing, ci-cd-integration.
Also in 4 projects that use this
conorluddySkillaccessibility-testing
WCAG compliance testing and accessibility quality assurance workflows for iOS apps. Use when validating accessibility labels, testing VoiceOver compatibility, checking contrast ratios, or ensuring WCAG 2.1 compliance. Covers accessibility tree analysis, semantic validation, and automated accessibility testing patterns.
Also in 5 projects that use this
kao273183Skilltest-automation
從測試用例(Google Sheet TC、JIRA ticket、功能描述)生成可執行的自動化測試腳本。支援雙平台原生框架(iOS: Swift Testing + XCUITest、Android: JUnit + Espresso + Mockk)。以 QA 測試工程師角度出發,將手動 TC 轉化為自動化腳本,包含 ROI 評估和 Page Object Model。當使用者提到「自動化測試」、「生成自動化腳本」、「把測試用例自動化」、「UI test 腳本」、「automation script」、「把 TC 轉成程式碼」,或提供 Google Sheet 測試用例要求生成自動化腳本,或討論哪些 TC 值得自動化時使用。
Also in 3 projects that use this
nek1987Skillapi-testing
Use when writing tests for backend APIs or frontend flows. Triggers for: unit tests, integration tests, E2E tests, pytest fixtures, TestClient setup, mock data factories, or test coverage analysis. NOT for: testing business logic that doesn't involve API endpoints.
Also in 5 projects that use this
testified-ossSkillexploratory-testing
Guide exploratory testing sessions including charter creation, session-based testing, heuristics application, and finding documentation. Use when planning exploratory testing, conducting test sessions, or documenting discoveries.
Also in 3 projects that use this
- +3 more from petrkindlmann
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- proffesor-for-testing/agentic-qe★ 524same name
- petrkindlmann/qa-skills★ 274same name
- mn-youssef/security-skills★ 47same name
- joe-qai/qa-skills★ 32same name
- d-padmanabhan/agent-engineering-handbook★ 20same name
- ViviBeri/webcraft-pro★ 11same name
- AnyOrgName/php-skills★ 4same name
- Sn4kyGit/qa-agent-blueprint★ 2same name
- Marnie0415/pi-skills★ 1same name
- mejbaurbahar/fagun★ 1same name
3 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- architectureSkill
- brainstormingSkill
- commit-pushSkill
- docs-standardsSkill
- domain-modelingSkill
- e2e-playwrightSkill
- executing-plansSkill
- grillingSkill
- migrating-legacy-codeSkill
- prototypeSkill
- resolving-merge-conflictsSkill
- routingSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-git-worktreesSkill
- writing-plansSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Before writing tests, build a table (in the test plan, or in the e2e spec):
- Distinctive: line 25
Run only on local or on an environment the user confirms may write and delete test data.
- Distinctive: line 31
Do not use a superadmin to conclude anything about permissions.
- Very specific: line 32
Use the project's own test framework (for example xUnit for .NET, or Playwright's request with a per-role storageState per e2e-playwright …
- Distinctive: line 34
Test account credentials come from environment variables, never from code (R-016, R-017).
- Distinctive: line 38
Run according to the lockfile in the repo:
- Very specific: line 50
Do not run audit fix, --force or a major upgrade on your own.
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- Cases A / B adapted from github.com/addyosmani/agent-skills · skills/security-and-hardening (MIT, © Addy Osmani); "missing data means no verdict" adapted from github.com/trailofbits/skills · plugins/supply-chain-risk-auditor (CC BY-SA 4.0, © Trail of Bits), rewritten. See LICENSE in this folder. -->Security testing
Two jobs: authorization tests (§1, §2) and dependency audit (§3). Reading code for vulnerabilities belongs to the
reviewer (code-reviewer); this skill writes tests and runs commands to produce evidence.
1 · Authorization matrix
Before writing tests, build a table (in the test plan, or in the e2e spec):
| Endpoint · method | No token | Role without permission | Permitted role, own data | Permitted role, another person's / unit's data |
Each cell holds the expected code: 401 · 403 · 200 · 403 or 404 per the project's convention (no convention yet
→ ask the user). Take the data from the project's permission map and data scope (unit, owner). A new endpoint or a
changed permission → one test per cell.
2 · Writing the tests
- Run only on local or on an environment the user confirms may write and delete test data; the test cleans up the records it creates.
- One test account per role. Two accounts of the same role that belong to different units / owners give the IDOR case.
- IDOR case: A creates a record; B reads, edits and deletes it by that id → the code in the last column; A reads it again and sees it unchanged.
- Also try the indirect paths: lists, search, counts and exports do not leak records outside the scope.
- Do not use a superadmin to conclude anything about permissions.
- Use the project's own test framework (for example xUnit for .NET, or Playwright's
requestwith a per-rolestorageStatepere2e-playwrightfor web stacks). - Test account credentials come from environment variables, never from code (R-016, R-017).
3 · Dependency audit
Run according to the lockfile in the repo:
| Repo has | Command |
pnpm-lock.yaml | pnpm audit --prod |
package-lock.json | npm audit --omit=dev |
*.csproj | dotnet list package --vulnerable --include-transitive |
- Report each vulnerability: package, version in use, severity, advisory id, fixed version, and the direct package that pulls it in.
- The command fails, there is no network, or the advisory source cannot be read → report "cannot assess:
<reason>". Never report clean. - Do not run
audit fix,--forceor a major upgrade on your own. Propose the smallest fixed version; the user approves, then a developer agent applies it. - A vulnerability only in a dev dependency, or on a code path that is never called → still list it, with the reason it ranks lower.
Excuses
| Thought | Reality |
"The endpoint already has [Authorize]" | [Authorize] blocks anonymous users, not B reading A's data; the IDOR case is needed |
| "Green with admin is enough" | Admin passes every check; test with an ordinary role |
| "The audit failed on network, treat it as clean" | Write "cannot assess" |
"audit fix is faster" | It may bump a major version and change behavior; the user approves first |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

