Game Security Review
Reviews Unity, Godot and Unreal code for cheats that hurt other players, purchase exploits and unsafe save files.
Claude's review
7/10 Sharp game security review guide across Unity, Godot and Unreal, with clear findings vs non-findings and engine-specific red flags.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Use when reviewing game code in C#, GDScript or C++ (Unity, Godot, Unreal, custom engines) - client vs server authority, RPC and packet validation, in-app purchases and economy, save and replay files, mod and script loading, secrets in client builds
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: game-security-pitfalls
category: security
description: Use when reviewing game code in C#, GDScript or C++ (Unity, Godot, Unreal, custom engines) - client vs server authority, RPC and packet validation, in-app purchases and economy, save and replay files, mod and script loading, secrets in client builds
tech_stack: Game code
source: original; informed by trailofbits/skills (CC BY-SA 4.0, ideas only, own wording) and Glenn Fiedler's networking articles (gafferongames.com, cited); Unity, Godot and Unreal networking and serialization documentation cited, not reproduced
---
# Game Security Pitfalls
## Overview
Everything in the client — memory, files, packets — belongs to the player. That makes most single-player cheating a non-finding (attacker and victim are the same person) and makes everything that affects **other players or real money** a real one: multiplayer outcomes, leaderboards, trading, purchases, shared content.
**Core principle:** clients send intent ("move north", "fire toward x"), the server decides outcomes ("hit for 37"). Any message that carries an outcome is a finding when other players depend on it.
## 1. Server Authority (CWE-602)
```csharp
// ❌ Unity Netcode for GameObjects: any client can call it, and it reports the result
[ServerRpc(RequireOwnership = false)]
void ApplyDamageServerRpc(ulong targetId, int damage) { players[targetId].Health -= damage; }
// ✅ the client sends intent; the server checks the sender and computes the outcome
[Rpc(SendTo.Server)]
void FireRpc(Vector3 direction, RpcParams rpcParams = default) {
var shooter = PlayerFor(rpcParams.Receive.SenderClientId);
if (!shooter.CanFire()) return;
weapons.ResolveShot(shooter, direction.normalized);
}
```
```gdscript
# ❌ Godot: any peer may call it and claim any score
@rpc("any_peer")
func submit_score(player_id: int, score: int) -> void:
scores[player_id] = score
# ✅ identity from the transport, outcome from server state
@rpc("any_peer", "reliable")
func request_finish_level() -> void:
...From makifbaysal's repository, Apache-2.0 licence.
Related skills
-
Checked
Game Audio Mixing
Sets up game audio buses, volume sliders, music ducking and adaptive music for Godot, Unity or FMOD.
8/101 credit -
Checked
Game camera tuning
Builds and tunes follow, orbit and first person game cameras in Godot or Cinemachine so they stop jittering.
8/101 credit -
Checked
Game Enemy AI
Designs enemy AI with perception, pathfinding and steering so enemies chase fairly and never get stuck.
8/101 credit -
Checked
Game Loop and Timing
Makes movement, timers and physics behave the same at any frame rate in Unity, Godot, Bevy and web games.
7/101 credit -
Checked
Roblox Game Structure
Helps you organise a Roblox game's client and server code, data flow and streaming so it stays secure.
7/101 credit -
Checked
Advanced GDScript for Godot
Covers fast GDScript idioms, tool scripts, async traps and signals in Godot, so game code runs without surprises.
7/101 credit