Langsung ke konten
Skillpedia
Keamanan33k Β· #8479

security-audit

Fungsinya

Skill ini memeriksa kode game untuk kelemahan keamanan yang umum, seperti file simpanan yang diubah, kecurangan, dan data yang terbuka, lalu memberi peringkat perbaikannya. Cocok untuk tim game yang sedang bersiap untuk rilis publik atau multipemain.

Kapan dipakai

  • βœ“Saat sebuah game akan dirilis secara publik dan membutuhkan tinjauan keamanan.
  • βœ“Saat fitur daring atau multipemain akan diaktifkan dan risiko kecurangan perlu diperiksa.
  • βœ“Saat sebuah bug terkait keamanan dilaporkan dan tim membutuhkan audit yang lebih luas.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/security-audit/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œAudit game saya untuk risiko manipulasi simpanan dan kecurangan sebelum kami membuka multipemain.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill mencari di basis kode kegagalan keamanan game yang paling umum dan menghasilkan rencana perbaikan yang diurutkan berdasarkan prioritas. Laporan disimpan sebagai file keamanan yang bertanggal, dan audit berjalan dengan cara yang sama di setiap tingkat alur kerja.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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: 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

Pertanyaan umum

Apakah ini hanya untuk game multipemain?

Tidak. Bahkan game pemain tunggal bisa memiliki risiko manipulasi simpanan, jadi audit ini juga mencakupnya.

Apakah laporan ini wajib sebelum rilis?

Pada tingkat alur kerja standar dan lengkap, pemeriksaan gerbang rilis mewajibkan laporan ini.

Apakah skill ini memperbaiki masalahnya sendiri?

Skill menghasilkan rencana perbaikan berprioritas, yang kemudian dikerjakan tim.

Detail

Deskripsi asli dari pembuat

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

repo: Donchitos/Claude-Code-Game-Studios

Popularitas

Bintang GitHub
33k
Peringkat
#8479
Lisensi
MIT
Diperbarui
18/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa