Logo Security Testing

Security Testing

Cộng đồng
mn-youssef
security-testing

Use when you want to security-test, pentest, audit, or find vulnerabilities in an application you own or are authorized to test — entry point that confirms authorization and routes to the right phase (threat model, code audit, active test, or hardening).

Tổng quan

Nhà phát hànhmn-youssef
Kho mãsecurity-skills
Tên kỹ năngsecurity-testing
Sao
49
Bản fork
7
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được mn-youssef công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Security Testing trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/mn-youssef/security-skills/tree/master/skills/security-testing
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mn-youssef/security-skills.git /tmp/security-skills
mkdir -p .claude/skills
cp -r /tmp/security-skills/skills/security-testing .claude/skills/security-testing
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Security Testing trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Security Testing ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Security Testing không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Security Testing (Orchestrator)

Overview

Front door for defensive security work. It enforces an authorization gate, then routes you through the lifecycle: PLAN → FIND → EXPLOIT → FIX. Use attacker thinking to find your own weaknesses, then close them.

Core principle: Attackers think in paths, defenders think in lists. A defender must be right everywhere; an attacker needs one weak link. Hunt the path.

How to run this orchestrator (MANDATORY — read first)

This skill is a router, not a substitute for the skills it names. The tables below tell you which skill to open at each phase — you MUST actually open it with the Skill tool.

The rule: before doing the work of a phase, invoke that phase's skill and follow its checklist. Reading a one-line description in a routing table is NOT running the skill and does NOT count as coverage. Doing the work "from your own expertise" instead of invoking the skill is the failure this section exists to stop.

  • RECON → recon-and-osint · PLAN → threat-modeling
  • FIND/EXPLOIT → invoke each applicable specialist (access-control-testing, authentication-testing, injection-testing, file-upload-and-ssrf, api-security-testing, client-side-exploitation, business-logic-testing, secrets-management-audit) before testing that area — plus security-code-audit (static) and active-pentest (dynamic).
  • CHAIN → vulnerability-chaining · FIX → security-hardening · REPORT → pentest-reporting

Coverage honesty: in the coverage report, mark a skill ✓ ONLY if you invoked it via the Skill tool. If you applied its methodology from memory without invoking it, write "methodology-only". If it's irrelevant to the target, write "N/A — ". Never mark ✓ to mean "I did similar work."

Red flags — STOP and invoke the skill before continuing:

  • "I already know what this covers / I know this domain extremely well"
  • "The summary in the routing table is enough"
  • "I'll just start with the highest-yield target and do the work directly"
  • "I'll consult the specialist skills later / as a reference"
  • "The skill is overkill — I've found these bugs hundreds of times"
  • Time pressure: "the user wants results fast, skip the load step"

Each of these is the exact rationalization that produces silent gaps. The map is not the territory — open each door (call Skill) before doing its work.

Authorization Gate (do this first — every time)

Before any testing, confirm out loud with the user:

  1. Ownership / authorization — Do you own this app, or have written permission to test it?
  2. Target environment — Is testing scoped to a lab/staging/local instance (not third-party production)?
  3. Out of scope — Confirm no destructive actions, no DoS, no real user data exfiltration.

If any answer is unclear or "no" → stop and only do code audit on code the user controls. Never test third-party systems without written authorization.

Routing

dot
digraph route {
  "What do you need?" [shape=diamond];
  "recon-and-osint" [shape=box];
  "threat-modeling" [shape=box];
  "FIND/EXPLOIT skills" [shape=box];
  "security-hardening" [shape=box];
  "pentest-reporting" [shape=box];

  "What do you need?" -> "recon-and-osint" [label="discover the attack surface"];
  "What do you need?" -> "threat-modeling" [label="plan / prioritize"];
  "What do you need?" -> "FIND/EXPLOIT skills" [label="find & validate bugs"];
  "What do you need?" -> "security-hardening" [label="fix findings"];
  "What do you need?" -> "pentest-reporting" [label="report & track closure"];
  "recon-and-osint" -> "threat-modeling" -> "FIND/EXPLOIT skills";
  "FIND/EXPLOIT skills" -> "security-hardening" -> "pentest-reporting";
}

Lifecycle phases (run in order for a full assessment):

PhaseSkillWhen
RECONrecon-and-osintDiscover the real attack surface before assuming it.
PLANthreat-modelingRank what to worry about and test first.
FIND/EXPLOITdeep-dive specialists (below)Find and validate vulnerabilities.
FIXsecurity-hardeningCorrect, verified fixes.
REPORTpentest-reportingScore, document, and track findings to closure.

FIND/EXPLOIT deep-dive specialists (pick by what you're testing):

TargetSkill
Access control / IDOR / privesc (OWASP #1)access-control-testing
Login / sessions / OAuth / JWT / MFA (account takeover)authentication-testing
Workflow / pricing / race conditions / abusebusiness-logic-testing
REST / GraphQL / gRPC / WebSocket (OWASP API Top 10)api-security-testing
Browser / HTTP layer (DOM XSS, CSP/CORS, prototype pollution, smuggling)client-side-exploitation
Input reaching an interpreter (SQLi/NoSQLi, command, SSTI, XXE)injection-testing
File uploads, SSRF, insecure deserializationfile-upload-and-ssrf
Leaked keys/tokens (code, git history, logs, config)secrets-management-audit

Then synthesize: vulnerability-chaining combines the findings above into end-to-end attack paths — the highest-impact step, where several mediums become one critical.

Two cross-cutting helpers the specialists use:

  • security-code-audit — static (white-box) review: read source & grep for vuln patterns.
  • active-pentest — execution harness: lab/proxy/scanner setup + safe run + PoC capture. The specialists supply the attack recipe; active-pentest is how you run it on the live app.

Recommended flow: recon → threat model → deep-dive find/exploit (start with access-control-testing, it's the #1 real-world risk) → harden → report. Each phase feeds the next.

Surface-driven routing (applicability & gaps)

Don't run every skill — run what the target has. From recon-and-osint + threat-modeling, build the surface inventory, then map present surfaces to specialists:

Surface present?Route toIf absent
Browser UI / client-side JSclient-side-exploitationskip (N/A)
Login / accounts / tokensauthentication-testingskip
Authenticated / multi-user dataaccess-control-testingskip
API (REST/GraphQL/gRPC/WS)api-security-testingskip
DB / shell / template / XML sinksinjection-testingskip (per sink)
File upload / URL fetch / deserializationfile-upload-and-ssrfskip (per feature)
Workflows / money / quotasbusiness-logic-testingskip
Any code / repo / config (≈always)secrets-management-audit—

Each specialist also self-checks via its own Applies when / Skip when block — so a frontend skill pointed at a headless API reports N/A and stops instead of producing noise.

Gap check (the inverse — surface with no specialist): for every surface in the inventory that no specialist covers (e.g. a custom binary protocol, a message bus, an IoT/firmware endpoint):

  1. Flag it explicitly — never let it pass as "covered."
  2. Fall back to generic security-code-audit (static) + active-pentest (dynamic) methodology.
  3. Recommend a new specialist for it.

Always emit a coverage report so it's clear what ran, what was skipped and why, and what has no coverage:

Frontend ...... none  → client-side-exploitation: N/A (skipped)
API (REST) .... yes   → api-security-testing, access-control-testing ✓
Uploads ....... none  → file-upload-and-ssrf: N/A (skipped)
gRPC stream ... yes   → ⚠ GAP: generic methodology + consider a new specialist

Output of a full run

  • A ranked threat model (what matters most)
  • A findings register: severity · file:line · why exploitable · status
  • Validated PoCs for high-severity items
  • Applied fixes, each with a re-test confirming closure

Common mistakes

  • Reading the routing table instead of invoking the skills it routes to → the summaries are a map, not the territory. Open each door (call the Skill tool) before doing its work, and mark it ✓ only if you actually invoked it (see "How to run this orchestrator").
  • Skipping the threat model → you test random things, miss the crown jewels.
  • Auditing without authorization to test the live system → stay in code audit only.
  • Finding without fixing/re-testing → a report nobody acts on isn't security.

Câu hỏi thường gặp

Kỹ năng AI Security Testing làm được gì?

Use when you want to security-test, pentest, audit, or find vulnerabilities in an application you own or are authorized to test — entry point that confirms authorization and routes to the right phase (threat model, code audit, active test, or hardening).

Vì sao nên dùng Security Testing trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Security Testing là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Security Testing trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/mn-youssef/security-skills/tree/master/skills/security-testing. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Security Testing?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Security Testing với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Security Testing với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Security Testing có miễn phí không?

Có. Kỹ năng này được mn-youssef phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇