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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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: standardandfull) - 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 onlysave— save file and serialization onlyinput— input validation and injection onlyquick— 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.nameandengine.language— load-bearing: they select the Phase 3 pattern set, and an engine with no sourced set for a category makes that categoryNOT ASSESSED. Ifengine.nameis absent or empty, say so in the report and treat every grep category asNOT ASSESSED; do not fall back to the Godot lists because they are the ones written out in fullplatform.targets(affects which attack surfaces apply)platform.multiplayerandplatform.online— whether multiplayer/networking is in scope.technical-preferences.mdhas 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-enginenor/startemits aplatform:block, and only/settingssets them, when someone runs it, so on most CCGS projects both keys are absent. Defaulting them tofalsewould 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 makesCLEAR TO SHIPunreachable 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, assecurity-engineerdoes. 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--localis refused). Recording it inproject.yamlis 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.
Độ 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
Bình luận
- …
Thêm skill từ kho mã này
adopt
33kKiểm tra xem tài liệu của một dự án game hiện có có tuân theo định dạng của mẫu studio hay không, rồi viết một kế hoạch di chuyển có đánh số để sửa các khoảng trống.
architecture-decision
33kViết một bản ghi quyết định kiến trúc cho một lựa chọn kỹ thuật, gồm bối cảnh, các phương án thay thế và hệ quả, với xem xét từ các vai trò kỹ thuật phù hợp.
architecture-review
33kKiểm tra các quyết định kỹ thuật của bạn có bao phủ mọi yêu cầu thiết kế, không mâu thuẫn và phù hợp với phiên bản động cơ, với kết luận đạt hoặc có mối lo ngại rõ ràng.
art-bible
33kViết một art bible xác định bản sắc thị giác của game, để việc sản xuất tài nguyên tuân theo một bộ quy tắc phong cách rõ ràng.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.