Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@adatechnology/game-player

Latest version: v0.7.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: miyazaki
0 Stars
0 Forks
21 Versions
4.9K Downloads
HTML Repo language

Scan summary

@adatechnology/game-player was last scanned on 25 Nov 2026 at version 0.7.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 21 versions; the latest was published on 25 Nov 2026.
  • Findings: No rules fired in version 0.7.0.
  • Downloads: 4,927 downloads.

Versions

21 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.7.0 LATEST 25 Nov 2026 No rules fired
0.6.4 9 Nov 2026 No rules fired
0.6.3 8 Nov 2026 No rules fired
0.6.2 8 Nov 2026 Not shown
0.6.0 7 Nov 2026 Not shown

No rules fired in 0.7.0

Findings

Findings for v0.7.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.7.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@adatechnology/game-player

The player's body for games, pure and seeded: vitals from an attribute sheet, stamina, wounds and bleeding, the bandage, being grabbed and breaking free (six pushes or the knife), knock-downs, vaulting a low wall, footstep noise, panic, the shove and the melee blow against any crowd, and an optional individual infection. No three.js, no audio, no game content: it emits events (noise, sound, message...) and the game plays and shows them.

It is a literal port of the team game's player (jogo.js G 68427-68640: player, playerUpdate, frontZombies, shove, knife, with FICHA, DERIV, INFEC and FERIDA). Every number is in src/data/defaults.json with its source line, and the golden game-player.json (18 scripted runs of the game code in node:vm, recorded by tools/characters-catalog) is replayed frame by frame by the tests.

  • The normal world comes first. The infection is off by default: wounds bleed, a bite hurts, nothing turns. infection: true turns on the game rule (scratch 6%, laceration 22%, bite 100%; fever at 30 s, delirium at 70 s, death at 120 s, the body turns 8 s later).
  • The sheet (attributes): strength, vigor, agility, perception, intellect, presence (5 each by default). The derived values (maxHealth, maxStamina, runSpeed, walkSpeed, footstepNoise, composure) are linear formulas given as data (derived).
  • The world is a set of callbacks (cellKind, solidAt, blocked, inWater, busy, canVault, afterMove); the default is an open dry field.
  • The crowd is the PlayerCrowd interface (read by index, written by hold, stun, chase, damage); game-crowd implements it, and any game with its own agents writes a small adapter.
  • Every draw is in the game's order on the stream you pass (random), so a game that shares one stream keeps its sequence.

Install

pnpm add @adatechnology/game-player

Browser without a bundler (the global is GamePlayer):

<script src="https://unpkg.com/@adatechnology/game-player/dist/index.global.js"></script>

Usage

import { createPlayer, playerTextOf } from '@adatechnology/game-player'

const player = createPlayer({ seed: 7, attributes: { agility: 7 }, world: { solidAt: grid.solidAt, cellKind: grid.cellKind, inWater, crowd } })
player.on('noise', ({ x, z, radius }) => crowd.emitNoise(x, z, radius))
player.on('sound', (request) => audio.play(request)) // { sound: 'step' | 'flesh', volume, position }
player.on('message', ({ id, seconds }) => hud.show(playerTextOf(id, locale), seconds))
player.on('died', ({ cause }) => endScreen(cause))

// every frame: held keys as booleans, the keys pressed this frame under `pressed`
player.update(dt, { forward: 1, right: 0, run: shift, aim, yaw: camera.yaw, bandage: keyB, pressed: { crouch, push, knife, vault, throw: t } })
player.state.health // also stamina, bleeding, wounds, grabbedBy, panic...
player.spreadFactor() // panic x fever x moving, for the weapon's spread

player.hurt(12) // a hit: draws the wound kind
player.grab(agentIndex) // 3 s to break free
player.knock(1.5)

HUD and death screen (./hud)

@adatechnology/game-player/hud is the body's screen, in DOM and with no three.js, laid over the game's view: the health and stamina bars with the bleeding, the infection stage and the wounds under them (bottom left), the weapon in the hand and its rounds (bottom right, only when the hand holds one), a name at the top left, the body's message events at the top centre and the crosshair in the first person. Nothing in it takes the mouse. The death screen opens once the body has been dead delaySeconds (1.5 s: the death camera settles first), frees the pointer lock and shows the cause, the time survived and two buttons: restart the scene (also Enter or R) and back to the start. Each hook fires once until the body lives again. The words are pt-BR (default) and en.

import { createDeathScreen, createPlayerHud, playerHudViewOf } from '@adatechnology/game-player/hud'

const hud = createPlayerHud({ container, locale: 'pt-BR', title: 'Level 1' })
const death = createDeathScreen({ container, onRestart: rebuildFromSeed, onBackToStart: () => player.load(startSave) })
player.on('message', ({ id, seconds }) => hud.message(playerTextOf(id), seconds))

// every frame
hud.update(playerHudViewOf(player))
hud.setView(camera.isFirstPerson() ? 'first' : 'third')
hud.setWeapon(gun ? { name: gun.name, ammo: `${gun.mag} / ${gun.reserve}` } : null)
death.update({ alive: player.state.alive, deathTime: player.state.deathTime, cause: player.state.cause, survivedSeconds })

Test area

createPlayerTestModule() (player_area, only the generic contracts) makes the room's camera the player body and puts the vitals on the bench; examples/player-test-area loads it into the shared test room (PlayerArea.loadInto(room), sala-jogador.html), and examples/interactables-test-area carries it too.

Pushing furniture

createFurniturePush(rules?) is the logic of pushing a heavy thing on foot: begin({ massKg, material }), then update(dt, { walk, isFree }) every frame answers the step and says the phase (grip while the hold timer fills, push, strain), the progress of the timer and the block (too_heavy, obstacle). The host answers isFree by sweeping the volume of the piece and draws the rest. gripSecondsFor, pushSpeedFor and canPush give the numbers; the force of the legs, the friction by material, the times and the speeds are all in FurniturePushRules (FURNITURE_PUSH_DEFAULTS). The walk with the piece speeds up and brakes like a person's (accel: the force left over the friction, over the mass, at most accel.max; braking at accel.brake), and each step reports its velocity, its acceleration and, when it hits something and stops at once, the velocity it had (stoppedFrom). slipsOnTop(acceleration, frictionFor(material)) says whether a thing resting on the piece slides on it: a cup on a table rides while the push speeds up and slides on when the table stops dead.

Opening doors by hand

createDoorUse(rules?) is the logic of working a door, lid or drawer by hand: begin({ opening, massKg, locked }) answers where the leaf goes (1 open, 0 closed; a second begin in the middle of a swing turns it round) or null for a locked leaf, which only rattles. step(dt, isFree, hand?) then goes through reach (the hand to the handle), swing (the leaf follows the hand, a little at a time so it stops at the first thing in its way, block: 'obstacle') and release. The player does not follow the leaf: when hand.reaches() says the handle left the arm (DOOR_ARM_REACH from the shoulder), a leaf that goes away gets a shove (push, hand.pull false) and one that comes toward the body is let go (release), and the leaf finishes on its own to its goal. A heavier leaf swings slower (swingSecondsFor); every number is in DoorUseRules (DOOR_USE_DEFAULTS).

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @adatechnology/game-player

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Frame 2085668439 (1)
Group 1261154229