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-shapes-three

Latest version: v0.4.2

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: miyazaki
0 Stars
0 Forks
7 Versions
6.4K Downloads
HTML Repo language

Scan summary

@adatechnology/game-shapes-three was last scanned on 28 Nov 2026 at version 0.4.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 7 versions; the latest 2 were published within 4 days (25–28 Nov 2026).
  • Findings: No rules fired in version 0.4.2.
  • Downloads: 6,404 downloads.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.2 LATEST 28 Nov 2026 No rules fired
0.4.1 25 Nov 2026 No rules fired
0.4.0 12 Nov 2026 No rules fired
0.3.1 4 Nov 2026 Not shown
0.3.0 3 Nov 2026 Not shown

No rules fired in 0.4.2

Findings

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

README

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

@adatechnology/game-shapes-three

The three.js side of @adatechnology/game-shapes: buffers become geometries, meshes, part groups, InstancedMesh and LOD. three.js is passed in by the host; the package never imports it.

Install

pnpm add @adatechnology/game-shapes @adatechnology/game-shapes-three three

Browser without a bundler: dist/index.global.js exposes GameShapesThree (game-shapes is bundled in; three.js is yours).

Usage

import * as THREE from 'three'
import { generate } from '@adatechnology/game-shapes'
import { shapeGeometries, toGeometry, toObject3D, mergeByMaterial } from '@adatechnology/game-shapes-three'

// a whole shape: one mesh per (part, material), part groups at their pivots, instances, a LOD when there are levels
const { object, parts, meshes, instanced, points, materials } = toObject3D(THREE, generate(schema), { materials: { wood: myWood } })
scene.add(object)
parts.door.rotation.y = 1.2

// three's constructors, made by game-shapes (bit-identical, instances of three's classes, template cache)
const T = shapeGeometries(THREE)
const handle = new T.CylinderGeometry(0.05, 0.065, 1.1, 10) // instanceof THREE.CylinderGeometry, type 'CylinderGeometry'

// one primitive or one batch
const geometry = toGeometry(THREE, buildPrimitive({ kind: 'torus', radius: 0.3, tube: 0.02 }))
Export What it does
toGeometry(THREE, primitiveOrBatch, { copy }) A BufferGeometry; a primitive gets three's type, parameters and the prototype of the class it reproduces, its attributes in three's order, its index and groups. copy: false shares the arrays (read-only)
shapeGeometries(THREE, { cache }) A namespace equal to THREE except BoxGeometry, CylinderGeometry, ConeGeometry, SphereGeometry, PlaneGeometry, CircleGeometry, RingGeometry, LatheGeometry, TorusGeometry and ExtrudeGeometry (one straight-edged shape; curves, several shapes, a path or a custom uv generator fall back to three). Hand it as T to code ported from the teams
toObject3D(THREE, buffers, { materials, materialFor, shadows, copy, name }) { object, near, parts, meshes, instanced, points, materials }; meshes are named static:<material> / part:<id> with userData.material, userData.part and userData.ranges; levels after the first are static (parts baked at rest), and cullDistance ends the LOD
createMaterials(THREE, hints, ids) MeshStandardMaterial per id from the schema's material hints (vertex colours on)
mergeByMaterial(THREE, root, space) Every visible mesh under root baked into space and joined per material (non-indexed), on game-shapes' merge; the same bytes game-props3d's version gave
releaseObject3D(roots, { keep }) Frees the GPU side of trees taken out of the scene for good: geometries, materials, textures (maps and shader uniforms) and skeletons, except what a tree in keep (the scene) still uses or what is marked userData.shared. Returns how many it freed
discardObject3D(objects, { keep }) removeFromParent() plus releaseObject3D for one object or a list (one walk of the scene), keeping what the rest of its scene draws: the one call for something that leaves the game
isMesh(object) Type guard for a mesh (or a skinned or instanced one) met while walking a tree with traverse
coincidentFacesOf(root, { eps, minArea, includeHidden }) Faces under root that z-fight: triangles on the same plane (within 1 mm), facing the same way, that overlap more than 1 cm². Walks every drawn mesh in world space (instances too; decals with polygonOffset are skipped) and names both meshes in each hit. Every package's catalog test runs it on each piece (see CLAUDE.md §13)
markShared(...resources) Marks a palette, kit or catalog resource as shared on purpose, so the release never frees it; same as userData.shared = true without touching the resource (digests and goldens stay)
markPositionsWritten(mesh, v0, v1) / rangesWrittenSince(attribute, version) Declares, right after the one needsUpdate = true of a write, which vertex range of a merged mesh it changed, and reads back the ranges written since a version. The destruction renderer measures each part's range of a merged mesh as a collider: a declared write re-measures only the parts in that range; a write that flags needsUpdate and declares nothing re-measures every part of the mesh

Português

Desenho three.js das formas do game-shapes: geometria com o tipo e o protótipo da classe do three, malha por lote, grupos de peça, instâncias e LOD; o shapeGeometries(THREE) é o T que o código portado dos times recebe para continuar escrevendo new T.CylinderGeometry(...).

Tudo o que sai da cena para sempre passa por discardObject3D ou releaseObject3D (regra de memória do kit, CLAUDE.md seção 7): o three.js só libera a GPU no dispose().

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-shapes-three

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

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes 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

Copy of Template Design OX Blog (2)
Research

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

Frame 2085668439 (1)
Group 1261154229