Scan your whole stack
Latest version: vgit:a308a07fdf8678c96369151bf71c558b172fce47
game was last scanned on 19 Nov 2026 at commit a308a07f. Risk score 1 of 100 (low). No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| a308a07f | 1 rule fired |
Findings for commit a308a07f. 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.
A Markdown file contains script tags, frames, event handlers such as onerror, javascript: links or data:text/html addresses. This is harmless as plain text but runs if a tool renders the Markdown as HTML without sanitizing it.
LOWThe score describes a308a07f; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
For a game with its own fixed integration rate, use the opt-in
ctx.substeps(body, hz, step) facility in RULES.md (Integrating at the game's
own rate). Its callbacks share the tick budget and its recorded poses drive
local drawing. Keep the game's input-transition policy explicit.
Read the installed toolkit's node_modules/@homie-rocks/studio/guides/game/{RULES,REWRITE}.md
before authoring: these match its runtime even when this plugin is older. Toolkit
check/build report stale installed plugin copies and the update step. For solid slopes and terrain, use heightTiles with base and the source
diagonal; test sides, underside, step clearance and rays. Maps are indexed at
compile time up to 100,000 shapes; measure default-budget spawn and traversal. For live
cover, doors and platforms, use declared entity collider state and movement's
ctx.world.sweep/support/overlaps; test prediction, loss, rejoin and restore.
Apps: For a business, venue, cause or customer app, follow the app skill: apps/<id>/app.json, one morphing screen, roles and parts. Reuse these engines and workflows; do not impose game rounds, scores, bots, a game demo or page navigation. The app check proves shared actions and reconnect; app stores use the same standalone command.
For place-based builds, read the six-build patterns: owner words to needs, records as objects, a local scene and ambience, one trusted operation for screens and AI, graceful graphics, and adversarial proof. Apply the same authority and honest-evidence rules to game economies and tickets.
You are in a Homie studio when the folder (or one above it) has studio.json. If there
is none, use the studio-setup skill first.
Asked to rewrite an existing browser-hosted game for the server? Read
REWRITE.md in full before editing. Preserve the renderer, feel,
other games and every existing test file, including its import paths. If an old
rules.ts exports tested helpers, keep those exports when adding defineRules;
do not redirect the tests to a new helper file. Run the original test command.
For a request involving a larger room or map, read RULES.md's Spatial delivery
section. players.max chooses the room size and Gate layout. Choose room.view.radiusM
for the playable neighbourhood, and visual precision and far update rates to fit
the game. Local measurements are in docs/rooms-milestone-2-notes.md; they are not
Cloudflare or physical-phone capacity guarantees.
Look for pieces before writing them. Games build on each other by sharing parts: a creature from one game, a level from another, a bot brain from a third. For each system the game needs (camera, movement, bots, pickups, effects, sound, UI, environment), before writing it from scratch:
@homie-rocks/* packages (npm) for the general mechanism: camera, input, audio, effects;parts_find for pieces other studios shared, and bring one in with part_add.Search by system (touch controls, feedback, sound, scoring, title and results UI, rooms), not only by genre. Add a fitting result with part_add before implementing a replacement; import and use it in the game. A starter or npm package is not a catalog search. Record part version, source game/studio, licence and integration in CODEX Built from, or the search and concrete gap if nothing fits. In a hosted workspace these same tools work; after part_add, wait for the committed preview through build_progress.
Record both in the game's CODEX (Built from) and its credits: what came from where, and what you wrote here and
why. After building a piece another game could use, offer to make it a part (part_new) and, only if the person
asks, to share it (part_share). The parts skill has the method.
A new studio's first game: follow studio-setup, choose sensible defaults from the request,
write the plan and build it. The live demo is optional; never require a detour or an interview.
A game with a Game Codex (games/<id>/CODEX.md): read it first; it is the plan. Every decision that
changes it goes into it in the same change, with a dated line under Latest, and the page is redrawn
(npx --no-install homie-studio codex <id>). A big change to a game without one: plan it first.
Other studios beside this one (a neighbouring folder with its own studio.json) are other people's
work: never read their games or copy from them, not even as a model for this one, unless the person asks.
What you may read is this studio and the toolkit in its node_modules/@homie-rocks/studio/.
New game: call the Homie MCP tool game_make (id, name) for the exact command
and rules (without the connector, go on: the command is here and the rules are this skill's), then run
npx --no-install homie-studio game new <id> --from gem-rush --name "<Name>"
(--from block-drop for a falling-block puzzle; --from gem-rush-3d for a 3D game: three.js with free library models; --from hero-rush-3d for a 3D game with
animated characters that run, jump and swing). The id becomes the game's
address (/<id>/); lowercase, digits, hyphens.
Make an existing single-player web game multiplayer: use the port skill (it
grades the port, brings the game in, and proves it with the owner tests).
Build on another studio's game: through parts, never the whole game (remix was
retired; game remix answers with a sentence that says so). parts_find searches the pieces
other studios shared (a creature, a level, a bot brain) and part_add brings one in with its
licence and credit: the parts skill has the method. When someone asks to copy or remix a
whole game, say that plainly and offer to make a game of their own like it, with parts where
some fit.
A game's own licence is game.json "license": an SPDX identifier ("MIT"), said on its
page; a game that names none says nothing. A game.json with "remixOf" was made from another
studio's game: keep the key, whatever else changes (its landing says "Based on by
").
For wrapping worlds or generated levels, use the map's opt-in wrap and room-scoped
world.map.replace APIs described in RULES.md's Wrapped worlds and generated levels.
Prefer one indexed map revision for a generated maze; keep independently moving
doors and platforms as live colliders. Generation and navigation baking spend the
room handler's budget.
Read RULES.md before writing code. All starters use this contract.
Work in few, large edits: read each source file once, decide its changes, then
make every change it needs in ONE file_edit with an edits list. Build after each
coherent change across rules, movement and view. When a diagnostic names a file and line, read that exact location and repair the expression it names before unrelated cleanup. Rebuild to verify that error is gone. room.me.seat identifies a player; there is no room.me.slot. Prefer targeted edits for repairs. A write replaces the whole file: never send only its tail or resume a truncated file with a replacement containing the remaining lines.
New games use game.json "entry": "src/view.ts", "room": { "host": "server" },
and a studio-chosen players.max. HTML loads <script type="module" src="./assets/main.js"></script>, not the source-file URL. Choose seats, tick rate (20 by default), dimensions and
starter yourself from the request; never ask the person an engineering question.
block-drop is the falling-block/board-game reference: separate stationary wells, seven-piece bags, rotation, line clears, real keyboard and touch controls. Use it for Tetris-like requests and retain its working mechanic while changing the requested look or features. coin-dash is the smallest movement reference; gem-rush adds bumps; ember-vale adds
companions, decisions and character saves; the two 3D starters add models and jumps.
A starter is a starting point: implement the requested mechanic, not a renamed gem collector.
The build refuses a game with neither rules plus view nor a browser-hosted netplay contract;
a plain browser bundle is not a multiplayer game.
src/rules.ts. Default-export defineRules({ contract: 2, ... }).
Declare every lasting value in entity fields, movement motion, or room shared,
and payloads in shapes. An entity handler changes only self; room handlers alone
change shared state. Affect others with declared events, delivered on a later tick.
Validate commands against current turn, cooldown, distance and ownership in rules.
IDs are opaque f.ref() strings; compare them, never parse or sort them as numbers.src/move.ts. Export move = defineMove(...), import it in rules.
The server and local prediction run the same step. Read only body pose/motion,
input, public tune, map plus declared live colliders and ctx clock/math. Sweep against the world, normalize
diagonals, and declare the normal running maxSpeed. Put jumps, dashes and knocks
here, with rule decisions encoded in motion. Do not add body.move: 'owner':
authoritative movement already predicts immediately and keeps the wall solid.src/view.ts. import type rules from './rules' and
openRoom<typeof rules>(); send room.input and room.command, draw room.me,
room.each, room.shared, room.round and room.roster. Handle a null own body.
Camera, models, DOM, audio and particles stay here. The local pose is predicted;
other poses are interpolated. A button or swing can animate on press, but damage,
pickups and scores wait for the server. No second physics loop or local score authority.world.tick, world.dt, world.ticks, world.after,
world.random and world.math (movement: ctx). No clocks, timers, async, network,
Math.random, transcendental Math functions, **, changing module state or
load-time computation in rules. Bounded local queries, bounded collections and
declared fields keep work under the deterministic budget. Read all build messages
and repair the named handler; never evade the guard or raise budgets to hide a bug.map: './map' and put bounds, solids and named spots in
map/main.json. Draw from the same map. In 3D rules use metres, z up and feet
positions; Three.js draws (x,z,y). Height tiles are terrain; boxes are solid
platforms. Decorative hills or meshes do not collide unless represented in the map.rounds.seconds: 0 plus a room
handler that calls world.round.end() for turn games. Never give a quiz or word
game fake movement just to satisfy a test. Initialize late arrivals in on.arrive
as well as existing bodies in onRoom.roundStart. think returns inputs, not commands;
bot actions go through the same rules as a person's. Show the actual goal and result.guide.view returns declared shapes.view; guide.floor chooses
a vocabulary goal without a model; think follows self.goal and calls
world.goalDone. Write agents.json goals, lines and asks in the game's voice.
Draw room.askButtons(id) and call room.ask. Server policies reserve companion
seats; input never grants a role. Use world.level, world.guideLevel,
world.guideSeats and world.kids. Preserve visible AI labels.asks with state, questions and a synchronous floor;
call world.ask per beat or turn and handle on.answer once (ai, local, or
floor). No promise/await or net.decide in rules. The floor must play well alone.guardGestures' touch-drag selector; otherwise bind
touch pointers explicitly. Verify actual touchscreen taps, not only .click().
Keep controls clear of the shell's pills (room.net.shell). Watchers use
room.net.viewSeat for their camera and HUD, and room.net.spotlight for action.
watch: 'overview' or false changes the offered UI, not secrecy of snapshots.Make it the requested game, one milestone at a time. Read each file, make coherent edits, build, act on the diagnostics and test the actual play before declaring it done.
Room chat and speech bubbles (NETPLAY.md section 19; chat/CHAT.md). Every game has room chat on its
play page with no code: reactions that float up every screen, quick lines, and typing where the rules allow.
Give it the game's own voice in game.json "chat": "lines" (up to 12 quick lines, short and kind:
{ "gg": "Good game!", "gem": "Grab that gem!" }), up to 3 extra "emoji" ({ "gem": "💎" }), and the
defaults that suit its players ("mode": "lines" for a game for children; the owner can change any of it).
Draw what players say over their characters with the port kit, after the name labels:
const bubbles = createBubbles({ measure: (t) => { ctx.font = BUBBLE_FONT; return ctx.measureText(t).width; } });
net.on('say', (s) => bubbles.say(s.seat, s.text, { id: s.id, kind: s.kind }));
net.on('unchat', (e) => e.ids.forEach((id) => bubbles.remove(id)));
paintBubbles(ctx, bubbles.place(speakers.map((p) => ({ key: p.seat, x: p.labelX, y: p.labelTop, self: p.mine }))));
A game's own chat keys (a quick-line wheel): net.sayLine('gg'), net.react('fire'). Never draw a name or a
message as markup. Where chat sits: the Chat pill rides the room button's band (screen.share below; a
round icon on a phone), and the strip of new lines shows for a moment at the bottom left. If the game's HUD or
controls are there, put the strip where it has room in game.json "screen": { "chat": { "at": "top-right", "y": 110 } } (a corner, top-center or bottom-center; x / y in pixels; per device: desk, phone,
sideways, tv), or keep new lines in the Chat sheet with "lines": "sheet-only" (the pill counts them).
Never turn typing off to make room: place the strip instead (chat/CHAT.md has every field).
Update game.json name and blurb, and the <title>.
For a world that should still exist tomorrow, set game.json:
{"room":{"host":"server","lifetime":"persistent","characters":true}}
Lasting worlds default to offline: false: wait for the durable server. A studio
may explicitly set offline: true for separate local practice, whose progress
is not saved to the world or account. Never count that as proof of persistence.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.