The browser client establishes a remote command channel and executes code supplied through it. It also fetches, decodes, and injects remote game code into an iframe.
Source passes code obtained from a remote response into a dynamic execution sink.
index.jsView on unpkg · L1On first browser use, the package opens an ntfy command stream tied to a generated client ID.
index.jsView on unpkg · L1163Messages requesting EVAL_CODE are executed with eval or Function, allowing the remote sender to run arbitrary browser JavaScript.
index.jsView on unpkg · L1100Messages requesting EVAL_CODE are executed with eval or Function, allowing the remote sender to run arbitrary browser JavaScript.
index.jsView on unpkg · L1114The package also decodes remotely fetched game assets and writes the resulting code into a script-enabled iframe.
index.jsView on unpkg · L405Source passes code obtained from a remote response into a dynamic execution sink.
index.jsView on unpkg · L1The package also decodes remotely fetched game assets and writes the resulting code into a script-enabled iframe.
index.jsView on unpkg · L405Messages requesting EVAL_CODE are executed with eval or Function, allowing the remote sender to run arbitrary browser JavaScript.
index.jsView on unpkg · L1100Messages requesting EVAL_CODE are executed with eval or Function, allowing the remote sender to run arbitrary browser JavaScript.
index.jsView on unpkg · L1114On first browser use, the package opens an ntfy command stream tied to a generated client ID.
index.jsView on unpkg · L1163