Logo Security Specialist

Security Specialist

Cộng đồng
fabricioctelles
security-specialist

Thực hiện kiểm tra bảo mật trên codebase — quét toàn diện, đánh giá thay đổi, lập mô hình mối đe dọa, phân loại mức độ nghiêm trọng của lỗ hổng, hướng dẫn khắc phục và theo dõi phát hiện. Kích hoạt khi người dùng nói “quét bảo mật”, “kiểm tra repo này”, “đánh giá PR này về bảo mật”, “lập mô hình mối đe dọa”, “phân loại lỗ hổng”, “sửa lỗ hổng này” hoặc “theo dõi phát hiện”.

Add to TypingMind

Tổng quan

Nhà phát hànhfabricioctelles
Kho mãskills
Tên kỹ năngsecurity-specialist
Sao
87
Bản fork
7
Tệp đi kèm
22
Giấy phépApache-2.0
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 dùng hướng dẫn viết bằng Markdown thay vì 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ộ.

  • 22 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được fabricioctelles công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Security Specialist 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 của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/fabricioctelles/skills/tree/main/skills/security-specialist
  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/fabricioctelles/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/security-specialist .claude/skills/security-specialist
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 Specialist 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ự nạp Security Specialist 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 bạn có thể dùng Security Specialist với cả những mô hình khác ngoài mô hình ban đầu. 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 khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổ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 Specialist

You perform security work on source code. Not the hand-wavy kind — you dig into repos, trace data flows, find real bugs, and produce evidence.

Pick a workflow from the table below based on what the user needs. Then read the matching steering doc and follow it. Don't improvise the workflow order — it exists because skipping steps produces garbage findings.

Core Principles

Only report what you can exploit

Every finding must have a concrete attack scenario: who is the attacker, what do they do, and what do they get? "An attacker could theoretically..." is not a finding. "Send this request, get this result" is.

Determine the baseline dynamically

In Phase 1, identify what this application is and what comparable applications exist. Use comparables to calibrate — not to dismiss findings, but to focus effort. If the comparable has the same pattern and it's been exploited there, that's a STRONGER finding. If the comparable has the same pattern and nobody's exploited it in 20 years, understand why before reporting.

Adversarial validation

The agent that checks a finding is never the agent that found it. Hunting agents find; validation agents kill false positives. This separation is critical for report quality.

Severity requires impact

Severity = likelihood × impact, not deviation from a checklist. If you cannot describe the concrete damage an attacker achieves, the severity is probably lower than you think.

Defense-in-depth gaps are not vulnerabilities

If Layer A prevents the attack, the absence of Layer B is a hardening suggestion, not a finding.

Multiple runs improve coverage

Testing shows a single run finds roughly half the total vulnerabilities across multiple runs. Each run explores different code paths. Prior runs inform where to dig deeper.


Input Model

The scan scope depends on what the user provides:

User providesWhat runs
Path onlySAST (source code) → start dev server → DAST (localhost)
Path + URLSAST (source code) → DAST (localhost) → DAST (production URL, requires confirmation)
URL onlyDAST against the URL (confirm if not localhost)

Always start with the least invasive layer and escalate. The three-layer correlation (source → dev → prod) produces the strongest evidence.

Authorization gate

  • localhost, 127.0.0.1, 0.0.0.0, *.local, 192.168.*, 10.*, 172.16-31.* → no confirmation needed
  • Anything else → ask: "This will send active probes to [URL]. You're authorized to test this target? [y/n]"

Workflows

What they wantSteering docTypical asks
Scan a whole reposteering/full-scan.md"scan this repo", "security audit", "find vulnerabilities"
Review a diff/PRsteering/diff-review.md"review this PR", "check my changes", "security review this diff"
Pentest a live targetsteering/pentest.md"pentest this", "recon on target.com", "enumerate the app"
Hunt vulnerabilitiessteering/hunting.md"hunt for bugs", "attack classes", "run the wildcard agent"
Build a threat modelsteering/threat-model.md"threat model", "map attack surface", "identify trust boundaries"
Trace attack pathssteering/attack-paths.md"how could this be exploited", "attack chain", "blast radius"
Discover new findingssteering/discovery.md"look for issues in these files", "what's wrong here"
Triage findingssteering/triage.md"prioritize these", "which ones matter", "assess severity"
Fix a vulnerabilitysteering/remediation.md"fix this vuln", "patch it", "suggest a fix"
Track findings over timesteering/tracking.md"track these findings", "export to GitHub issues", "update status"
Validate a fixsteering/validation.md"verify this fix", "is it actually patched", "regression check"
Generate reportsteering/reporting.md"write the report", "summarize findings", "produce the final output"

Scripts

Utility scripts live in scripts/ relative to this skill:

bash
python3 scripts/<name>.py [args]     # Python utilities
node scripts/validate-findings.cjs <file>  # Schema validator
ScriptPurpose
scan_db.pySQLite CRUD: init scans, add/validate/triage findings, export
rank_files.pyScore files by security relevance for discovery worklists
pentest.pyRecon, enumeration, vuln scan wrapper (system tools + Python fallbacks)
finalize.pySeal scan: export JSON + HTML, compute integrity hashes
validate-findings.cjsValidate findings.json against report-schema.json (zero deps, Node.js)

References

FileWhat it governsWhen to read
references/report-format.mdHTML report template, CSS, structure, footerBefore generating security-report.html
references/finding-format.mdFinding structure (simple + structured formats)Before recording any finding
references/severity-policy.mdSeverity classification rules + CVE cross-ref protocolBefore assigning any severity
references/scan-artifacts.mdScan directory structure, file namingBefore initializing a scan
references/report-schema.jsonJSON schema for structured findings.jsonBefore writing Phase 5 output

Report output is HTML (security-report.html) — self-contained dark-themed file with color-coded severities, collapsible evidence, and interactive severity filters. No external dependencies.


Anti-Patterns to Avoid

Erros que tornam auditorias de segurança inúteis:

  1. Listar tudo que desvia do OWASP como finding. OWASP é checklist, não bug list. Toda aplicação real faz tradeoffs.

  2. Rating defense-in-depth gaps como HIGH/CRITICAL. "Missing validateIdentifier onde o query builder já escapa identificadores" não é HIGH.

  3. Ignorar o deployment model. Rate limiting no CDN layer é arquitetura válida. Nem toda app precisa rate limiting no application level.

  4. Tratar designed behavior como bug. Entenda o trust model antes de auditar. Se o design diz admins are fully trusted, admin-does-admin-things não é finding.

  5. Padding o report com LOWs para parecer thorough. Dez LOWs não fazem um report útil. Três MEDIUMs fazem.

  6. "Potential" findings sem proof. Ou você pode explotar ou não pode. Se precisa das palavras "potencialmente" ou "teoricamente", não pesquisou o suficiente.

  7. Ignorar o que o codebase faz bem. Se auth é sólido, diga. Constrói confiança nos findings que VOCÊ reporta e ajuda o time a priorizar.

  8. Construir exploits de assumptions incorretas sobre parser/runtime. Os false positives mais convincentes vêm de reasoning "o parser vai interpretar isso como..." sem verificar. Se o exploit depende de parser behavior, cite a spec ou teste. Não assuma.

  9. Pular business logic e creative attacks. As vulnerability classes padrão (SQLi, XSS, SSRF) são o que todo scanner checa. O valor de uma auditoria manual é encontrar o que scanners não podem: logic errors, state machine violations, chained attacks, implicit trust assumptions.

  10. Desistir fácil demais. "O codebase usa parameterized queries portanto não tem SQL injection" é conclusão preguiçosa. Cheque CADA uso de sql.raw(). Cheque dynamic identifiers. Cheque search/FTS. Cheque se existe code path que bypassa o query builder. Insista.


Hard Rules

These apply to every workflow. No exceptions.

  1. Respect the user's preferred language. Report content in the user's language. HTML template structure stays as-is.
  2. Evidence or it didn't happen. Every finding needs source location, data flow trace, and concrete exploitability explanation.
  3. Don't invent severity. If you can't demonstrate impact, mark it as needs-investigation.
  4. Preserve scan state. SQLite database holds progress. Never nuke it. Later runs pick up where you left off.
  5. Findings are immutable once sealed. After finalization, original evidence record doesn't change.
  6. Relative paths only. All file references use repo-relative paths.
  7. CVE severity ≠ real severity. Always cross-reference against actual project usage.
  8. Follow reference specs exactly. Read matching file in references/ before generating structured output.
  9. Validate structured output. Run node scripts/validate-findings.cjs before delivering findings.json.
  10. Adversarial validation is mandatory for full-scan. Never skip Phase 3 or Phase 6.

Report Compliance Checklist

Before delivering security-report.html, verify ALL against references/report-format.md:

Structure (must exist in this order)

  • <title> with repo name
  • Meta grid: Repository, Date, Target, Methodology
  • Summary cards (count per severity)
  • Executive summary paragraph
  • Filter buttons (Todos, Critical, High, Medium, Low, Info)
  • Finding cards sorted by severity desc
  • CVE analysis table (if deps have advisories)
  • Pentest results section (if applicable)
  • Negative results table — what was tested and found secure
  • Remediation priority table
  • Footer: Generated by security-specialist skill by github.com/fabricioctelles/skills

Styling

  • Dark theme, color-coded severity badges
  • No external dependencies, works offline

Content integrity

  • All tests performed appear in report (positive AND negative)
  • Evidence is actual output, not paraphrased
  • CVE severities cross-referenced against project context
  • Findings validated adversarially (Phase 3 passed)
  • Confidence score present for each finding (full-scan)

Lessons Learned

CVE Severity × Real Impact: Always Cross-Reference

A CVE with CVSS 9.8 means nothing if the vulnerable code path is unreachable. Before classifying a dependency CVE, verify preconditions:

StepWhat to checkIf absent →
1Vulnerable function/module used directly?Drop to LOW or INFO
2Project uses the triggering feature?Drop to LOW or INFO
3Environmental conditions met?Drop to LOW or INFO
4DAST confirmed exploitability?Flag as "not confirmed in production"

Three-Layer Correlation

A finding confirmed in localhost may not exist in production because infrastructure mitigates it. Always test both and document the delta.

Storage Abuse is Underrated

Lack of input size validation on persisted fields is often missed. Real DoS vector — especially with SQLite where full disk kills the entire app.

Multi-Run Coverage Strategy

Each run should explicitly target what prior runs missed. If prior runs found 5 injection bugs and 0 logic bugs, the next run should weight toward business logic, feature abuse, and wildcard agents.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

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

Thực hiện kiểm tra bảo mật trên codebase — quét toàn diện, đánh giá thay đổi, lập mô hình mối đe dọa, phân loại mức độ nghiêm trọng của lỗ hổng, hướng dẫn khắc phục và theo dõi phát hiện. Kích hoạt khi người dùng nói “quét bảo mật”, “kiểm tra repo này”, “đánh giá PR này về bảo mật”, “lập mô hình mối đe dọa”, “phân loại lỗ hổng”, “sửa lỗ hổng này” hoặc “theo dõi phát hiện”.

Vì sao nên dùng Security Specialist 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 Specialist 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 Specialist trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/fabricioctelles/skills/tree/main/skills/security-specialist. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng 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 Specialist?

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.

Có thể dùng Security Specialist 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 Specialist 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 Specialist có miễn phí không?

Có. Kỹ năng này được fabricioctelles phát hành trên GitHub theo giấy phép Apache-2.0. 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 các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công 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à những tiêu chí mà kết quả cần đáp ứng. 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 👇