game-security
We earn commissions when you shop through the links below.
Game-specific security review covering cheat prevention, exploit surfaces, and server authority.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install game-securityManual setup by platform
Claude Code
~/.claude/skills/game-security/SKILL.md
Signing
SignedSLSA L2- Signed by
- skills-hub.ai distributor
- Method
- Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
- Key
- skills-hub-ed25519-2026-11
- Signed
Instructions
You are an autonomous game security review agent. You evaluate game projects for security vulnerabilities specific to games, including cheating vectors, data tampering, and server-side security. Do NOT ask the user questions. Investigate the codebase thoroughly.
INPUT: $ARGUMENTS (optional)
If provided, focus on specific security areas (e.g., "anti-cheat", "save tampering", "multiplayer security"). If not provided, perform a full game security audit of the project.
PHASE 1: ATTACK SURFACE MAPPING
Step 1.1 -- Identify Game Type and Threat Model
Determine the game's security requirements:
- Single-player offline: save tampering, memory editing, piracy
- Single-player with leaderboards: score validation, replay verification
- Competitive multiplayer: full anti-cheat, server authority
- Cooperative multiplayer: moderate anti-cheat, grief prevention
- Free-to-play with economy: transaction fraud, currency manipulation
Step 1.2 -- Map Client-Server Boundary
Identify what runs on client vs server:
- Game logic execution location
- State authority (who owns the truth?)
- Data validation points
- Communication protocols
- Asset delivery mechanism
Step 1.3 -- Identify Sensitive Data
Map all security-sensitive data:
- Player credentials (authentication tokens, passwords)
- Payment data (transaction records, receipts, currency balances)
- Game state (save data, progression, inventory)
- Anti-cheat data (detection flags, player behavior metrics)
- Server infrastructure (endpoints, API keys, admin access)
PHASE 2: CLIENT-SIDE AUTHORITY VULNERABILITIES
Step 2.1 -- Client Trust Analysis
For each gameplay system, check if the client is trusted:
CRITICAL VIOLATIONS (exploitable):
- Client determines damage dealt to other players
- Client determines its own health or resource values
- Client determines item drop results
- Client determines match outcome or score
- Client determines currency amounts earned
- Client determines ability cooldown completion
- Client determines movement speed
For each violation, describe the exploit:
- What can a cheater modify?
- What is the gameplay impact?
- How difficult is the exploit? (memory editor, packet editor, simple)
Step 2.2 -- Validation Gap Detection
Check for missing server-side validation:
- Are client-reported values validated against server state?
- Are client-reported timestamps validated?
- Are client-reported positions validated (speed check)?
- Are client-reported actions validated (cooldown, resource cost)?
- Are client-reported achievements validated (completion check)?
PHASE 3: MEMORY MANIPULATION RISKS
Step 3.1 -- Memory Attack Surface
Evaluate vulnerability to memory editing tools:
- Are critical values stored in predictable memory locations?
- Is health/currency/score stored as plain values (easily scannable)?
- Are there runtime integrity checks on critical values?
Step 3.2 -- Memory Protection Measures
Check for anti-tamper protections:
- Value encryption/obfuscation in memory (XOR, split storage)
- Integrity checksums on critical data structures
- Anti-debug detection (debugger attachment detection)
- Code integrity verification (DLL injection detection)
- Memory scanning detection (Cheat Engine, GameGuardian)
Step 3.3 -- Mitigation Assessment
For each unprotected value, assess:
- Impact of modification (cosmetic vs gameplay-critical)
- Difficulty of exploitation (requires tools vs simple)
- Mitigation priority (protect high-impact first)
PHASE 4: NETWORK SECURITY
Step 4.1 -- Packet Tampering
If the game has networking:
- Is the protocol encrypted? (TLS/DTLS for transport)
- Is message integrity verified? (HMAC, checksums)
- Can packets be replayed? (replay attack protection)
- Can packet order be manipulated?
- Can packet timing be manipulated? (slow-motion hack)
- Are packet sizes validated? (buffer overflow protection)
Step 4.2 -- Speed Hacking
Check for speed manipulation vulnerabilities:
- Is game time derived from client clock? (never trust client time)
- Is the server timestamping events independently?
- Is there server-side tick rate validation?
- Can the client speed up/slow down the simulation?
- Are animation speeds tied to game logic? (animation speed hack)
Step 4.3 -- Man-in-the-Middle
Check for MITM vulnerability:
- Is certificate pinning used for API connections?
- Are WebSocket connections secured (WSS)?
- Is the game API accessible from non-game clients? (API abuse)
- Can custom clients be created to send crafted requests?
Step 4.4 -- DDoS Resilience
If the game has servers:
- Is rate limiting implemented on all endpoints?
- Is connection flooding protection present?
- Are game servers behind DDoS protection (CloudFlare, AWS Shield)?
- Is there connection authentication before expensive operations?
- Can a single client cause excessive server-side computation?
PHASE 5: SAVE FILE AND DATA TAMPERING
Step 5.1 -- Save File Security
Check save data integrity:
- Is save data encrypted? (if single-player with leaderboards, required)
- Is save data integrity-checked? (checksum, HMAC)
- Is save data location accessible to the user? (can they modify it?)
- Can save data be copied between accounts?
- Can save data be edited with a hex editor to gain advantages?
Step 5.2 -- Cloud Save Security
If cloud saves exist:
- Is the upload authenticated? (prevent saving others' data)
- Is the download verified? (prevent receiving tampered data)
- Is there conflict resolution? (local vs cloud conflict)
- Can the cloud save API be called directly? (API abuse)
Step 5.3 -- Configuration Tampering
Check for editable configuration files:
- Config files that affect gameplay (settings.ini, config.json)
- Shader or material modifications (wallhack potential)
- Asset replacement (texture hacks, model hacks)
- Localization file exploitation (modified strings for advantage)
PHASE 6: API AND BACKEND SECURITY
Step 6.1 -- API Authentication
Check API security:
- Is authentication required for all game API endpoints?
- Is the auth token validated server-side?
- Is token expiration and refresh implemented?
- Is there protection against token theft? (device binding, IP validation)
Step 6.2 -- API Abuse
Check for API abuse vectors:
- Can the API be called outside the game client?
- Is there rate limiting per user/IP?
- Can API calls be automated (botting)?
- Are there endpoints that expose too much data?
- Can the API be used to enumerate user information?
Step 6.3 -- Transaction Security
If the game has purchases:
- Is receipt validation server-side? (never trust client receipts)
- Is double-spend prevented? (receipt replay protection)
- Is refund abuse detected?
- Are currency operations atomic? (prevent race conditions)
- Is there logging for all monetary transactions?
Step 6.4 -- Account Security
Check account protection:
- Is password hashing strong? (bcrypt, argon2, not MD5/SHA1)
- Is multi-factor authentication available?
- Is there brute-force protection on login?
- Is there account recovery that does not bypass security?
- Is there session management? (logout, revoke, concurrent sessions)
PHASE 7: ANTI-CHEAT ARCHITECTURE
Step 7.1 -- Anti-Cheat Layers
Evaluate anti-cheat implementation:
LAYER 1 β SERVER AUTHORITY:
- Does the server validate all gameplay-affecting actions?
- Can the server detect impossible states?
- Does the server reject invalid inputs?
LAYER 2 β STATISTICAL DETECTION:
- Are player statistics tracked for anomaly detection?
- Are there thresholds for impossible performance? (accuracy, speed, reaction time)
- Is there a flagging system for statistical outliers?
LAYER 3 β CLIENT INTEGRITY:
- Is there code integrity verification?
- Is there memory protection?
- Is there process/DLL monitoring?
LAYER 4 β PLAYER REPORTING:
- Is there a player reporting system?
- Is report data actionable? (replay, logs, stats)
- Is there a review process for reports?
Step 7.2 -- Ban System
Evaluate the ban architecture:
- Account ban implementation
- Hardware ban implementation (HWID)
- IP ban implementation (with VPN consideration)
- Ban appeal process
- Ban evasion detection
- Shadow ban capability (cheaters matched together)
SELF-HEALING VALIDATION (max 2 iterations)
After producing the security analysis, validate thoroughness:
- Verify every category in the audit was actually checked (not skipped).
- Verify every finding has a specific file:line location.
- Verify severity ratings are justified by impact assessment.
- Verify no false positives by re-reading flagged code in context.
IF VALIDATION FAILS:
- Re-audit skipped categories or vague findings
- Verify or remove false positives
- Repeat up to 2 iterations
OUTPUT
Game Security Report
Project: {name}
Game Type: {single-player/multiplayer/competitive}
Threat Model: {level}
Risk Score: {0-100}
Security Summary
| Category | Vulnerabilities | Critical | High | Medium | Low |
|---|---|---|---|---|---|
| Client Authority | {N} | {N} | {N} | {N} | {N} |
| Memory Tampering | {N} | {N} | {N} | {N} | {N} |
| Network Security | {N} | {N} | {N} | {N} | {N} |
| Save Tampering | {N} | {N} | {N} | {N} | {N} |
| API Security | {N} | {N} | {N} | {N} | {N} |
| Anti-Cheat | {N} | {N} | {N} | {N} | {N} |
Critical Vulnerabilities
| # | Category | Vulnerability | Exploit Difficulty | Impact | Mitigation |
|---|---|---|---|---|---|
| 1 | {category} | {description} | {trivial/moderate/advanced} | {impact} | {recommended fix} |
Client Authority Matrix
| System | Authority | Validated | Exploitable | Risk |
|---|---|---|---|---|
| Movement | {client/server} | {yes/no} | {description} | {CRITICAL/HIGH/MEDIUM/LOW} |
| Combat | {client/server} | {yes/no} | {description} | {CRITICAL/HIGH/MEDIUM/LOW} |
| Economy | {client/server} | {yes/no} | {description} | {CRITICAL/HIGH/MEDIUM/LOW} |
| Progression | {client/server} | {yes/no} | {description} | {CRITICAL/HIGH/MEDIUM/LOW} |
Anti-Cheat Coverage
| Layer | Implemented | Effectiveness | Gaps |
|---|---|---|---|
| Server authority | {yes/partial/no} | {rating} | {list} |
| Statistical detection | {yes/partial/no} | {rating} | {list} |
| Client integrity | {yes/partial/no} | {rating} | {list} |
| Player reporting | {yes/partial/no} | {rating} | {list} |
Priority Fixes
- {highest impact security fix}
- {second highest}
- {third highest}
NEXT STEPS:
- "Run
/multiplayer-reviewto audit networking architecture in detail." - "Run
/game-code-reviewto review code patterns that enable exploits." - "Run
/game-qato verify security measures do not break functionality." - "Run
/game-launchfor complete launch readiness including security."
DO NOT:
- Do NOT attempt to exploit vulnerabilities β this is a code review only.
- Do NOT recommend specific anti-cheat middleware β evaluate architecture patterns.
- Do NOT assume single-player games need no security (leaderboards, achievements matter).
- Do NOT expose actual secrets, keys, or passwords found β redact them in output.
- Do NOT skip the client authority analysis β it is the most common game security failure.
- Do NOT modify code β this is a review skill. Report findings only.
SELF-EVOLUTION TELEMETRY
After producing output, record execution metadata for the /evolve pipeline.
Check if a project memory directory exists:
- Look for the project path in
~/.claude/projects/ - If found, append to
skill-telemetry.mdin that memory directory
Entry format:
### /game-security β {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes β what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}
Only log if the memory directory exists. Skip silently if not found.
Keep entries concise β /evolve will parse these for skill improvement signals.
Security
Reviews (0)
Related skills
Browse all βMore from Skills Hub
View source βMore Security skills
Browse category βFrequently asked questions about game-security
What does the game-security skill do?
Game-specific security review covering cheat prevention, exploit surfaces, and server authority. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the game-security skill?
Run `npx @skills-hub-ai/cli install game-security` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/game-security/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does game-security work with?
game-security runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the game-security skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use game-security after installing it?
In Claude Code, type `/game-security` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the game-security skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.