Detection
Detectors
Every rule valkyr-core ships, grouped by family, with its evidence weight and the summary it writes. Generated from the Rust sources.
Each detector is a rule id such as movement.speed. The tables below are generated from the source at build time: the rule, its default evidence weight (the log likelihood ratio from trust.rs) and the format of the summary it writes into a flag, with numbers shown as N.
Weights are defaults
Weights and thresholds are configurable per game in valkyr.toml. See Configuration.
Movement and view
Physics and input limits: speed with a tolerance for latency, teleports, flying and noclip through colliders, jump timing, bunny hop scripts, pitch outside the valid range and spin bots.
| Rule | Weight | Flag summary |
|---|---|---|
view.pitch | 3 | pitch N deg is outside the reachable range of +-N deg |
movement. | 2 | |
view.spin | 2.5 | rotated N deg in N ms, no hand on a mouse does that |
movement. | 2 | moved N m in one update (N ms) without a server teleport |
movement. | 2.2 | path from (N, N, N) to (N, N, N) crosses a solid collider |
movement.speed | 1.6 | averaged N m/s over N ms, limit N m/s with tolerance |
movement. | 0.8 | claimed to stand on ground for N frames with no surface below |
movement.jump | 1.5 | rose N m above takeoff, the highest legal jump is N m |
movement.fly | 2.2 | airborne for N ms without falling for N ms, gravity is N m/s^2 |
movement.bhop | 1.6 | N% of the last N landings were followed by a single frame perfect jump |
Generated from crates/
Combat
Fire rate and cooldowns from the weapon table, hits through walls, hits out of range and silent aim, where the claimed target is far from where the player was looking.
| Rule | Weight | Flag summary |
|---|---|---|
combat. | 2.2 | N of the last 10 shots came faster than the weapon allows (N ms between shots) |
combat. | 1.8 | shot left N deg away from where the player was looking |
combat.range | 1.5 | hit at N m, weapon range is N m |
combat. | 1.2 | the shot hit player N through solid geometry |
combat. | 1.2 | claimed a hit on player N but the rewound hitbox (N ms back) was N deg off the shot; N of the last 10 claimed hits failed |
combat. | 2 | ability N used again after N ms, cooldown is N ms |
Generated from crates/
Aim
Snaps that no wrist produces, trigger bots that fire the tick a target appears, inhuman reaction times and the learned models. The logistic aim.model scores per engagement statistics; the sequence model aim.seq reads the raw view movement. See ML model.
| Rule | Weight | Flag summary |
|---|---|---|
aim.snap | 2 | N hits within N s came right after a rotation of N+ deg completed inside a single frame |
aim. | 2.5 | median delay between the crosshair reaching a target and the shot is N ms over N hits |
aim. | 2 | median time from an enemy appearing to hitting it is N ms over N engagements |
aim.model | 2.5 | aim model N vN scores N; top factors: N |
Generated from crates/
| Rule | Weight | Flag summary |
|---|---|---|
aim.seq | 2 | sequence model N vN: N windows, aggregate log odds N (limit N); top signals: N |
Generated from crates/
Information advantage
Wallhacks show up as a player who tracks or pre aims enemies they cannot see, far more often than chance. Decoys are fake entities the server shows to one player only; looking at or shooting one is strong evidence.
| Rule | Weight | Flag summary |
|---|---|---|
info.decoy | 3.5 | tracked a decoy that honest clients never render, N separate times |
info. | 2.6 | behaves as if it knows where hidden enemies are: score N over N hidden frames and N appearances |
Generated from crates/
Network and timing
Replayed packets, speed hacks that run the client clock fast, clocks that go backwards, fake lag used to teleport and macros with machine regular timing.
| Rule | Weight | Flag summary |
|---|---|---|
network. | 1.6 | input sequence N was already received (replayed packet) |
network.rate | 1 | N inputs within N ms, limit N |
network. | 0.6 | client clock went back N ms |
network. | 2.5 | client clock runs N% faster than the server clock over N s |
network. | 2 | N of N lag bursts ended in a hit within N ms, lag lines up with advantage |
network.macro | 1.5 | last N semi automatic shots were spaced with N bits of timing entropy, humans vary more |
Generated from crates/
Economy
Invariants of money and items: negative balances, values above a ceiling, gains faster than the game allows, duplicated items and client and server balances that disagree.
| Rule | Weight | Flag summary |
|---|---|---|
economy. | 1.5 | N balance is N but the previous balance N plus the change N gives N (N) |
economy. | 1.5 | N balance fell to N, below the minimum N |
economy. | 1.5 | N balance reached N, above the cap N |
economy.gain | 2 | gained N N in one event (N), limit N |
economy.rate | 1.8 | gained N N within 60 s, limit N |
economy.dupe | 2.5 |
Generated from crates/
Server truth
The client claims a value (ammo, health, cooldown) and the server holds the real one. A mismatch or an impossible value is flagged.
| Rule | Weight | Flag summary |
|---|---|---|
state. | 1.0 | N value of N is N, outside the declared range N |
state. | 1.0 | client claimed N = N but the server holds N (N disagreements within N ms, tolerance N) |
Generated from crates/
Accounts
Opt in checks across matches: smurf accounts whose skill jumps far above their history, and ban evasion through gameplay fingerprints of a banned player. Links between accounts are only stored when you enable them.
| Rule | Weight | Flag summary |
|---|---|---|
account. | 0.4 | gameplay fingerprint close to banned account N (distance N, cosine N, N features) |
Generated from crates/
Client signals
When you use valkyr-client or the valkyr-guard layer, their signals enter as client.* rules. They are hints: a verdict built only from client signals is capped at review.
Culling, decoys and honeypots
Detection is not the only defense. valkyr also helps the server send less:
- Culling decides which enemies a player could possibly see or hear, so the server never sends the rest. A wallhack cannot show what the client never received.
- Position fuzzing adds noise to far away enemies that are only heard.
- Honeypots place decoys where only a cheater would look.