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

@pocketrts/grid

Latest version: v0.2.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: baijunjie
0 Stars
0 Forks
3 Versions
TypeScript Repo language

Scan summary

@pocketrts/grid was last scanned on 30 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published on 30 Nov 2026.
  • Findings: No rules fired in version 0.2.0.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 30 Nov 2026 No rules fired
0.1.0 30 Nov 2026 No rules fired
0.0.0-stage 30 Nov 2026 Not shown

No rules fired in 0.2.0

Findings

Findings for v0.2.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.2.0; other versions have their own rules, not their own score.

README

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

@pocketrts/grid

Grid algorithms for real-time strategy games on an 8-connected cell grid: flow fields shared by whole armies and computed under a fixed per-step budget, bounded local A*, straight-line reach, nearest free cell, distance fields, bucket grids for neighbour queries, field of view, polygons, 8-connected wall chains, line formations and a complete elastic-column march system. Pure logic over typed arrays, deterministic (only @pocketrts/determinism math), no DOM. Extracted from Pocket War, where it moves thousands of units.

Try it: apps/grid-demo (pnpm --filter @pocketrts/grid-demo dev).

Install

pnpm add @pocketrts/grid

ES module, TypeScript types included. Depends on @pocketrts/determinism.

Concepts

  • Cells are numbered row-major: cell = y * w + x. Directions are indices into DIRX / DIRY (clockwise from east, y down; odd = diagonal).
  • The game owns the grid. The package reads what it is given (cost and block arrays, step-rule callbacks) and never stores game objects.
  • Diagonal steps normally follow cornerFree: no squeezing between two diagonal obstacles, so a one-cell-wide 8-connected wall (see ringChain) really closes.
  • Everything is deterministic for identical inputs, including budgeted flow-field progress (the budget counts nodes, not time), so it is safe in lockstep simulations.

Interface

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 @pocketrts/grid

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Copy of Template Design OX Blog (2)
Research

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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229