Logo Cybersecurity Review

Cybersecurity Review

Cộng đồng
ericmjl
cybersecurity-review

Perform comprehensive cybersecurity code review across 9 security dimensions: injection prevention, authentication/authorization, secrets management, supply chain security (including CI/CD pipeline integrity), cryptography, secure configuration/API security (including SSRF), error handling/logging/resource safety, LLM/AI application security, and infrastructure/API protocol security (GraphQL, Kubernetes, WebSockets, OAuth 2.0, gRPC). Use when reviewing newly written code, auditing existing repositories, evaluating open source projects, or assessing pull requests for security vulnerabilities. Triggers include requests like "security review", "check for vulnerabilities", "audit this code", "cybersecurity review", "is this code secure", or "check this PR for security issues".

Tổng quan

Nhà phát hànhericmjl
Kho mãskills
Tên kỹ năngcybersecurity-review
Sao
41
Bản fork
5
Tệp đi kèm
9
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 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ộ.

  • 9 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 ericmjl 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 Cybersecurity Review 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/ericmjl/skills/tree/main/skills/cybersecurity-review
  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/ericmjl/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/cybersecurity-review .claude/skills/cybersecurity-review
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 Cybersecurity Review 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 Cybersecurity Review 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 Cybersecurity Review 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.

Cybersecurity Review

Perform structured security code review across 9 dimensions, adapting depth based on review mode.

Review Modes

Select the appropriate mode based on context:

ModeTriggerScopeDepth
New CodeReviewing code just written or a new featureChanged files onlyDeep on all 9 dimensions
Existing RepoAuditing an established codebaseFull repository scanPrioritize high-severity, sample for depth
Open Source EvalEvaluating a dependency or OSS projectFull project + community signalsSupply chain focus + all 9 dimensions
Pull RequestReviewing a PR for merge readinessDiff only + touched filesDeep on changed code, contextual on surrounding code

Review Workflow

Step 1: Determine scope and mode

Identify which review mode applies. For PR reviews, obtain the diff. For repo audits, identify primary languages and frameworks.

Step 2: Run through each applicable dimension

Load the relevant reference file for each dimension and assess the code:

  1. Input Validation & Injection Prevention -- See references/injection-prevention.md

    • SQL injection, XSS, command injection, path traversal, deserialization, SSTI, XXE
  2. Authentication & Authorization -- See references/auth-and-access-control.md

    • Broken auth, IDOR, privilege escalation, session management, JWT misuse
  3. Secrets & Credential Management -- See references/secrets-management.md

    • Hardcoded secrets, API keys in source, committed .env files, missing secret scanning
  4. Dependency & Supply Chain Security -- See references/supply-chain-security.md

    • Vulnerable dependencies, typosquatting, dependency confusion, lockfile integrity, CI/CD pipeline integrity, GitHub Actions SHA pinning
  5. Cryptography & Data Protection -- See references/cryptography.md

    • Weak algorithms, insecure random, hardcoded keys, missing TLS, poor password hashing
  6. Secure Configuration & API Security -- See references/config-and-api-security.md

    • Debug mode, permissive CORS, missing security headers, BOLA, mass assignment, rate limiting, SSRF kill-chain patterns
  7. Error Handling, Logging & Resource Safety -- See references/error-logging-resources.md

    • Stack trace exposure, sensitive data in logs, log injection, ReDoS, buffer overflows, TOCTOU, mishandling exceptional conditions
  8. LLM & AI Application Security -- See references/llm-ai-security.md

    • Prompt injection (direct and indirect/RAG), improper LLM output handling, excessive agency, system prompt leakage, AI supply chain
  9. Infrastructure & API Protocol Security -- See references/infra-and-protocol-security.md

    • GraphQL (introspection, depth/complexity, batching), Kubernetes/container misconfig, WebSocket security, OAuth 2.0 vulnerabilities, gRPC security

Step 3: Produce findings report

For each finding, report:

  • Severity: Critical / High / Medium / Low / Informational
  • Dimension: Which of the 7 categories
  • Location: File path and line number(s)
  • CWE: The relevant CWE identifier
  • Description: What the vulnerability is and why it matters
  • Recommendation: Specific fix with code example where possible

Step 4: Summarize

Provide a summary table of all findings by severity, plus an overall security posture assessment.

Severity Classification

SeverityCriteria
CriticalRemotely exploitable, no auth required, leads to data breach or RCE
HighExploitable with low complexity, significant impact (privilege escalation, data leak)
MediumExploitable with moderate complexity or requires some preconditions
LowMinor issue, defense-in-depth improvement, or requires significant preconditions
InformationalBest practice recommendation, no direct exploitability

Mode-Specific Guidance

New Code Review

Focus on all 9 dimensions with equal weight. Check that new code does not introduce patterns flagged in the reference files. Verify that new dependencies are pinned and scanned. For AI/LLM features, apply dimension 8. For GraphQL/K8s/WebSocket features, apply dimension 9.

Existing Repo Audit

Start with a high-level scan using grep patterns from each reference file. Prioritize Critical/High findings. Sample representative files for deeper review. Check for missing security controls (CSP headers, rate limiting, auth middleware). If the repo uses LLM APIs or ships Kubernetes manifests/Helm charts, include dimensions 8 and 9.

Open Source Evaluation

Begin with supply chain signals: maintenance activity, contributor count, security policy presence, OpenSSF Scorecard if available. Inspect GitHub Actions workflows for SHA pinning and pull_request_target usage. Then review code for all 9 dimensions. Flag any use of dangerous patterns (eval, pickle, shell=True) as higher risk since the code runs in consumer environments.

Pull Request Review

Focus on the diff. For each changed file, assess which dimensions are relevant based on the code's function. Flag new dangerous patterns. Verify that security-sensitive changes have tests. Check that secrets were not accidentally committed. For PRs touching CI/CD workflows, always check SHA pinning and pull_request_target (dimension 4).

Framework Check: Next.js Bundle-Level Data Exposure on Auth-Gated Routes

Middleware/route auth gates the PAGE, not the CHUNK. Any data (JSON snapshots, config, constants) statically imported into a CLIENT component is compiled into a /_next/* static chunk that is always publicly fetchable — middleware matchers exclude /_next/* — and the chunk URL is enumerable from any public page's build manifest of the same deployment. Authenticated-but-unauthorized users also download the chunk before any client-side gate (e.g. an isAdmin check) renders.

Check (add to dimension 2 auth review for Next.js apps): for every auth-gated route, grep its client components for static JSON/data imports and scan the bundled payload for PII (person names, emails, EINs, company/entity identifiers).

Fix evaluation order: a dynamic-import "fix" is INSUFFICIENT — the chunk still exists at a fetchable URL; only loading is deferred. Real fixes: (a) serve the data as props from a server component gated on server-side auth (complex when auth is Clerk-JWT + Convex in RSC), (b) strip sensitive values from the bundled payload at source (script-level sanitization), or (c) explicitly accept the risk with the owner's sign-off.

Instance: learn-anything /admin/gantt retreat-board.json shipped in a public chunk (MAJOR, 2026-08-16).

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 Cybersecurity Review làm được gì?

Perform comprehensive cybersecurity code review across 9 security dimensions: injection prevention, authentication/authorization, secrets management, supply chain security (including CI/CD pipeline integrity), cryptography, secure configuration/API security (including SSRF), error handling/logging/resource safety, LLM/AI application security, and infrastructure/API protocol security (GraphQL, Kubernetes, WebSockets, OAuth 2.0, gRPC). Use when reviewing newly written code, auditing existing repositories, evaluating open source projects, or assessing pull requests for security vulnerabilities...

Vì sao nên dùng Cybersecurity Review 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. Cybersecurity Review 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 Cybersecurity Review trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ericmjl/skills/tree/main/skills/cybersecurity-review. 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 Cybersecurity Review?

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 Cybersecurity Review 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 Cybersecurity Review 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 Cybersecurity Review có miễn phí không?

Có. Kỹ năng này được ericmjl 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 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 👇