Skip to content
Skillpedia
Security33k Β· #8479

security-audit

What it does

This skill checks a game's code for common security weaknesses, such as edited save files, cheating and exposed data, then ranks the fixes. It is for game teams preparing a public or multiplayer release.

When to use it

  • βœ“When a game is about to be released publicly and needs a security review.
  • βœ“When an online or multiplayer feature is about to be enabled and cheat risks must be checked.
  • βœ“When a security-related bug is reported and the team needs a wider audit.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/security-audit/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œAudit my game for save tampering and cheating risks before we open multiplayer.”

5 new skills a week. 1 minute to read.

How it works

The skill searches the codebase for the most common game security failures and produces a prioritized plan to fix them. It saves the report as a dated security file, and the audit runs the same way at every workflow level.

Technical content (original SKILL.md)

Original text by the author, straight from 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

FAQ

Is it only for multiplayer games?

No. Even single-player games can have save tampering risks, so the audit covers them too.

Is this report required before release?

At the standard and full workflow levels, the release gate requires this report.

Does it fix the problems itself?

It produces a prioritized remediation plan, which the team then works through.

Details

Original description by the author

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

repo: Donchitos/Claude-Code-Game-Studios

Popularity

GitHub stars
33k
Ranking position
#8479
License
MIT
Updated
10/18/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills