quest'n'click 4.5.1 · r1

Built for quest'n'click 4.5.1, revision r1. Whether it is published, and which one is current, is recorded at publication.json.

Local and LAN security

Français · Explanation + reference · Published, reviewed by a person · Applies from: 4.2.1

The local Studio writes files on your machine and can call a model provider with your key. This page says what protects those routes, on your own machine and on your local network, and where the protection stops.

Audience, context, and the statuses of what this page rests on

Audience: author · Context: local Studio

The local Studio · contract: stable · verified by CI (support matrix of 4.4.0, 2026-10-23): Chromium end to end (the Studio's checks); Windows: the unit suite only · automated checks: jobs e2e, windows; CI plan e2e, windows; 2 test files · people's passes: studio-hero-matrix not run (#238) · known limits: lan-is-not-public

Why

A dev server that writes files is a door into your machine. Three things could knock on it: another machine on the network, a web page in your browser that tries to reach localhost (directly, or by rebinding its own name to your machine, "DNS rebinding"), and a model provider address that would lead the Studio to a service of your private network ("SSRF"). The Studio closes each one by default and opens only what you ask for.

Local and LAN

Guarantee · lan-token-same-origin · referenced · executed on 671dbcb5621a · scope reviewed In LAN mode the Studio answers 401 to a request without the session's token, and 403 to a write whose Origin is another site, even with the token.

Guarantee · own-names-only · referenced · executed on 671dbcb5621a · scope reviewed A Host that is not this machine (or an address studio:lan serves) is refused, even with a matching Origin.

Model providers

What is not protected: the game is trusted code

A game's TypeScript and its custom commands are trusted code, not sandboxed data: the Studio, the validator and the solver run them on your machine. Open only games you trust, as you would any project you npm install. See SECURITY.md.

Limit · lan-is-not-public The LAN token is a convenience for a phone on your own network: it is shown in the terminal and in the URL, and lives as long as the server. It is not an authentication for a public deployment.

Alternatives set aside

Trade-offs

Decisions and ADRs


Edit the source of this page · Report an error