security-audit
できること
このスキルは、セーブデータの改ざんやチート、データの露出など、よくあるセキュリティ上の弱点をゲームのコードで確認し、修正の優先順位を付けます。公開またはオンラインのマルチプレイヤーに向けて準備中のゲームチームのためのものです。
使う場面
- ✓ゲームを一般公開する前に、セキュリティレビューが必要なとき。
- ✓オンラインやマルチプレイヤーの機能を有効にする前に、チートのリスクを確認したいとき。
- ✓セキュリティに関するバグが報告され、より広い監査が必要なとき。
スキルのリンク
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/security-audit/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“マルチプレイヤーを開始する前に、ゲームにセーブデータの改ざんやチートのリスクがないか監査してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、コードベースで最も一般的なゲームのセキュリティ上の失敗を検索し、優先順位付けされた修正計画を作ります。報告書は日付付きのセキュリティファイルとして保存され、監査はワークフローのどのレベルでも同じように実行されます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
!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
よくある質問
マルチプレイヤーのゲームだけが対象ですか?
いいえ。シングルプレイヤーのゲームでもセーブデータの改ざんのリスクがあるため、それも対象です。
リリース前にこの報告書は必要ですか?
標準とフルのワークフローレベルでは、リリースのゲートがこの報告書を求めます。
問題を自分で修正しますか?
優先順位付けされた修正計画を作り、チームがそれに沿って作業します。
詳細
作者による元の説明
Security audit — save tampering, cheat vectors, network exploits, data exposure, input validation. Before public or multiplayer release.
人気
- GitHubのスター
- 33k
- ランキング
- #8479
- ライセンス
- MIT
- 更新日
- 2026/10/18
コメント
- …
このリポジトリの他のスキル
adopt
33k既存のゲームプロジェクトの文書がスタジオのテンプレートの形式に従っているか確認し、ギャップを直すための番号付きの移行計画を書きます。
architecture-decision
33k技術的な選択についてアーキテクチャの判断記録を書き、背景、代替案、影響を記載し、適切な技術の役割によるレビューを受けます。
architecture-review
33k技術的な判断がすべての設計要件を満たし、互いに矛盾せず、エンジンのバージョンに合うかを確認し、明確な合格または懸念の判定を出します。
art-bible
33kゲームのビジュアルのアイデンティティを定義するアートバイブルを書き、アセット制作が一つの明確なスタイルのルールに従うようにします。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。