Chuyển đến nội dung
Skillpedia
Bảo mật33k · #8479

security-audit

Skill này làm gì

Skill này kiểm tra code game về các điểm yếu bảo mật phổ biến, như chỉnh sửa file lưu, gian lận và dữ liệu bị lộ, rồi xếp hạng các cách sửa. Skill dành cho nhóm game chuẩn bị phát hành công khai hoặc có nhiều người chơi.

Khi nào nên dùng

  • ✓Khi game sắp được phát hành công khai và cần một đợt rà soát bảo mật.
  • ✓Khi một tính năng trực tuyến hoặc nhiều người chơi sắp được bật và rủi ro gian lận cần được kiểm tra.
  • ✓Khi có một lỗi liên quan đến bảo mật được báo cáo và nhóm cần một đợt kiểm toán rộng hơn.

Liên kết skill

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/security-audit/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/security-audit/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy kiểm toán game của tôi về rủi ro chỉnh sửa file lưu và gian lận trước khi chúng tôi mở chế độ nhiều người chơi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill tìm trong codebase các lỗi bảo mật phổ biến nhất của game và tạo một kế hoạch sửa có thứ tự ưu tiên. Skill lưu báo cáo thành tệp bảo mật có ghi ngày, và kiểm toán chạy giống nhau ở mọi mức quy trình làm việc.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation,workflow

Automation mode: Resolve modes.automation (project.local.yaml → project.yaml → default collaborative). Every AskUserQuestion call and every file write follows .claude/docs/automation-modes.md (collaborative asks always · guided major-only · autonomous logs and proceeds; automation_always_ask categories always prompt).

workflow (resolved above) decides only what Phase 7 tells you about the release gate: at standard and full it requires this report; at minimal it does not. The audit itself runs the same at every tier.

Security Audit

Security is not optional for any shipped game. Even single-player games have save tampering vectors. Multiplayer games have cheat surfaces, data exposure risks, and denial-of-service potential. This skill systematically audits the codebase for the most common game security failures and produces a prioritised remediation plan.

Run this skill:

  • Before any public release (required for the Polish → Release gate at workflow: standard and full)
  • Before enabling any online/multiplayer feature
  • After implementing any system that reads from disk or network
  • When a security-related bug is reported

Output: production/security/security-audit-[date]-[scope].md — the scope in the name keeps a same-day quick or save run from overwriting the full report the release gate reads.


Phase 1: Parse Arguments and Scope

Modes:

  • full — all categories (recommended before release)
  • network — network/multiplayer only
  • save — save file and serialization only
  • input — input validation and injection only
  • quick — high-severity checks only (fastest, for iterative use)
  • No argument — run full

Read project.yaml to determine the following, falling back to .claude/docs/technical-preferences.md for engine/language/platforms when a key is absent or empty:

  • engine.name and engine.language — load-bearing: they select the Phase 3 pattern set, and an engine with no sourced set for a category makes that category NOT ASSESSED. If engine.name is absent or empty, say so in the report and treat every grep category as NOT ASSESSED; do not fall back to the Godot lists because they are the ones written out in full

  • platform.targets (affects which attack surfaces apply)

  • platform.multiplayer and platform.online — whether multiplayer/networking is in scope. technical-preferences.md has no equivalent fields, so the legacy fallback cannot supply them.

    ABSENT DOES NOT MEAN false. These keys have a reader — this skill — and no writer in the setup flow: neither /setup-engine nor /start emits a platform: block, and only /settings sets them, when someone runs it, so on most CCGS projects both keys are absent. Defaulting them to false would skip Category 2 (Network and Multiplayer Security) on every project, genuinely multiplayer ones included — a security category failing open on a value nothing sets.

    When either key is absent or empty: do not assume single-player, and do not skip Category 2. Ask the user whether the game has multiplayer or online features. If you cannot ask, run Category 2 anyway and mark it NOT ASSESSED — multiplayer scope unconfirmed (platform.multiplayer unset — set it with /settings), which makes CLEAR TO SHIP unreachable per Phase 5. While the scope is unconfirmed, rate severity as for a multiplayer game — an open HIGH is then DO NOT SHIP — and say in the report that the rating assumed multiplayer, as security-engineer does. Over-scanning a single-player game costs a few minutes; under-scanning a multiplayer one ships the category unrun.

    Set them explicitly with /settings platform.multiplayer=true (they are project-wide, so --local is refused). Recording it in project.yaml is the fix; this rule is the guard for until someone does.


Phase 2: Spawn Security Engineer

Spawn security-engineer via Agent — the audit is its job, so do not run the categories in this session instead. If it cannot be spawned, say why, run the scan here, and let the report's Audited by line say so.

Send this fixed brief template. Fill only the {…} slots, from project.yaml (else technical preferences), the code root resolved per .claude/docs/code-root-resolution.md, and t

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

Skill chỉ dành cho game nhiều người chơi thôi à?

Không. Ngay cả game một người chơi cũng có thể có rủi ro chỉnh sửa file lưu, nên kiểm toán cũng bao gồm chúng.

Báo cáo này có bắt buộc trước khi phát hành không?

Ở mức tiêu chuẩn và đầy đủ, kiểm tra cổng phát hành yêu cầu báo cáo này.

Skill có tự sửa các vấn đề không?

Skill tạo một kế hoạch khắc phục có thứ tự ưu tiên, rồi nhóm làm theo.

Chi tiết

Mô tả gốc của tác giả

Security audit — save tampering, cheat vectors, network exploits, data exposure, input validation. Before public or multiplayer release.

repo: Donchitos/Claude-Code-Game-Studios

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8479
Giấy phép
MIT
Cập nhật
18/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự