executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
anti-cheat-serverExpert server-side anti-cheat — server-side validation, client integrity, anomaly detection, cheat vectors and response/escalation systems for online games.
Independent GitHub snapshot · Automated classification · Original documentation governs
The server is the only place that can prove cheating. Client-side checks lie; server-side checks, telemetry and escalation decide. This skill covers server-side validation, client integrity/attestation, anomaly detection, a cheat-vector catalog and the ban/escalation pipeline.
Server authority is the anti-cheat. A correctly authoritative server (see authoritative-server) already prevents the biggest cheats by construction (teleport, item duplication, god-mode) — because the client never sets state. Everything else (aim helpers, wallhacks) must be caught by validation + anomaly detection.
authority kills: teleport, dupe, god-mode, speedhack (partially)
validation kills: speedhack (velocity bounds), aim-bot burst abuse, script-driven input
anomaly detects: wallhack (firing through walls), impossible awareness
Applied to every input command, every tick:
| Check | Blocks |
|---|---|
| Δpos ≤ speed·dt + tolerance | speedhack, teleport |
| Δrot ≤ turnRate·dt | turn-hack |
| Shot requires line-of-sight at rewind time | wallhack, wallbang |
| Cooldown/ammo/resources enforced | cooldown/dupe |
| Ability effects checked server-side | god-mode mods |
| Server recomputes damage | DP Shots |
Details in server-side-validation.md. Cheap, always-on, deterministic — never optional per player.
Client sends periodic integrity attestation — the server probes what the client could have done:
Design goal: raise cost to cheat, not to make cheating impossible (impossible). § client-integrity.
Never trust a client's "I saw the enemy." Use server state as ground truth to find behavioral impossibilities:
| Anomaly | Signal |
|---|---|
| Precognitive dodge | player dodges an un-visible attack (enemy not in LOS/awareness) |
| Aim-lock | crosshair on target skulls beyond human speed/smoothness bands |
| Impossible reaction | reaction latency below human floor over a window |
| Wall-sighted kills | kill where shooter had no LOS in 100% of the input window |
| Input impossible | mouse delta > driver max / button sequence impossibly fast |
Scored via confidence accumulation (see anomaly-detection.md) — single incidents are noise; patterns are evidence.
| Cheat | Survives authority? | Detection |
|---|---|---|
| Aimbot | yes (input position) | trajectory/aim-lock stats |
| Triggerbot | yes | fire-delay missing + hit ratio |
| Wallhack | yes | LOS-based kill/fire analysis |
| ESP | yes | reaction/predictive movement diffs |
| Speedhack | partial | Δpos/Δrot checks |
| Dupe/pickup | no | authority |
| Memory-write mods | partial | integrity attestation + drift |
| Input macro | no | skewed command shape |
Catalog drives the detection rules — keep it in a doc (this is the "known adversary" register).
The server never decides alone (fair-trial rule): escalate to a central anti-cheat service with evidence:
server flags player (confidence + evidence packet)
→ central service reviews (auto-rules + optional human review)
→ verdict: CLEAR / SANCTION(ban, shadowban, MMR reset) / ESCALATE
| Response | When |
|---|---|
score adjustment (MMR rollback) | low-confidence, borderline |
shadowban (sever pool) | suspected-but-unproven — the best "kill the cheating economy" tool |
temporary ban | mid-confidence repeat |
permanent ban | high-confidence + repeated |
Shadowban = send suspected cheaters only with other suspected cheaters (they ruin each other's lobbies, never the clean pool). See response-and-escalation.md.
Every flag carries an audit trail (seen by the review human or auto-rule):
struct Evidence {
metadata; // session, region, build
suspiciousSeqs; // the raw inputs/wire records that fired
anomalyScores; // per-vector confidence
telemetry refs
}
Be deterministic & tamper-evident: the raw wire data (immutable) IS the artifact; don't reconstruct "what happened" later.
| Metric | Watch |
|---|---|
| cheat rate / 10k matches | trend |
| flag→verdict latency | triage |
| false-positive rate | the most important anti-ban-health metric |
| shadowban pool size | pool health |
| appeal success rate | fairness audit |
references/server-side-validation.md — Δpos/Δrot, LOS, cooldowns, ability verification, determinismreferences/client-integrity.md — attestation, checksums, drift detection, platform attestation, optionalityreferences/anomaly-detection.md — telemetry signals, confidence scoring, statistical vs MLreferences/cheat-vectors.md — the catalog, each cheat + detection surfactionreferences/response-and-escalation.md — bans, shadowban, MMR rollback, review pipelinereferences/evidence-and-audit.md — artifacts, replay, determinism, appeals, tamper-evidence