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

@openfairygui/backend

Latest version: v0.9.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: krapnik
81 Stars
19 Forks
15 Versions
1.2K Downloads
TypeScript Repo language

Scan summary

@openfairygui/backend was last scanned on 29 Nov 2026 at version 0.9.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 15 versions; the latest 4 were published within 4 days (26–29 Nov 2026).
  • Findings: No rules fired in version 0.9.0.
  • Downloads: 1,205 downloads.

Versions

15 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.9.0 LATEST 29 Nov 2026 No rules fired
0.8.1 28 Nov 2026 No rules fired
0.8.0 27 Nov 2026 No rules fired
0.7.1 26 Nov 2026 Not shown
0.7.0 15 Oct 2026 Not shown

No rules fired in 0.9.0

Findings

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

README

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

@openfairygui/backend

Stateful backend runtime and session services for OpenFairyGUI.

Purpose

@openfairygui/backend is the first stateful runtime layer in the monorepo.

It owns:

  • project/session lifecycle
  • revisioned request handling
  • coordinated save semantics, with atomic staged directory swaps on the Node adapter
  • browser-safe project sessions
  • browser-safe async project storage adapter
  • adapter-backed file sessions and backend-local session locking
  • capability discovery
  • transport-neutral bootstrap

It also provides:

  • service stratification (read / authoring / artifact / runtime)
  • unified response metadata and diagnostics
  • capability planes
  • centralized path/workspace safety policy
  • backend contract versioning surface
  • compatibility policy
  • polling runtime events with per-runtime monotonic sequence and bounded retention
  • synchronous cache refresh returning a detached revision-bound snapshot
  • revision-bound derived read-only cache snapshots
  • revision-bound project identity outlines for transaction planning
  • revision-bound in-component display-node filtering with explicit candidate limits and byte budgets
  • bounded, detached public UAM model and primary resource-byte reads with edit-revision checks
  • revision-bound read-only project validation reports
  • explicit Node bridge boundaries for publish/restore

It does not redefine transaction grammar or expose Document. It also does not implement MCP or any transport-specific wire protocol. The root @openfairygui/backend entrypoint is browser-safe: pure authoring sessions can run in memory, and browser editors can inject an async storage adapter for OPFS, IndexedDB, ZIP-backed virtual filesystems, or File System Access API bridges. Storage adapters must implement unlink() so resource rename/move/remove can clean up stale source files. Existing browser projects use a session-lifetime Web Lock: a live peer tab receives lock_conflict, while reload or abrupt document termination releases ownership without leaving a persistent .openfairygui.backend.lock marker. The Node adapter instead keeps a token-protected lock beside the project directory, recovers only valid same-host stale ownership, and rejects project-directory symbolic links. When Web Locks are unavailable, the storage adapter must provide acquireSessionLock() with the same atomic cross-context and owner-termination semantics. The default Node filesystem/runtime lives under @openfairygui/backend/node and retains its advisory lock file behavior. Adapter-backed openSession hydrates primary resource bytes so browser-safe transactions can rename/move assets or add/replace/remove binary resources. saveSession writes replacement bytes before it removes stale source files, preserving the prior file when a write fails. It also compares the source project with a UAM round trip through ProjectWriter; sessions with unrepresented persisted properties expose uamFidelity: 'unsupported' together with a bounded uamFidelityReport, and write attempts fail with uam_fidelity_unsupported carrying error.fidelityReport and matching meta.diagnostics. Existing projects in browser storage must be opened through this path by injecting createBackendStorageFileSystem(storage) into BackendRuntime; openProjectSession is only for sessions whose supplied UAM project is authoritative. Transactions, saves, and materialization are serialized per session together with close. Opening and storage rebinding reserve the canonical target before asynchronous I/O; failed rebinding retains the original session binding.

Relationship to other packages

  • @openfairygui/core owns UAM, I/O, validation, and the transaction kernel
  • @openfairygui/functions owns the thin stateless app seam and workflow helpers
  • @openfairygui/backend wraps those layers into a reusable runtime/service boundary

Example

Browser-safe authoritative UAM project session:

import { BackendRuntime } from '@openfairygui/backend';

const runtime = new BackendRuntime();
const opened = runtime.openProjectSession({ project: uamProject });
if (!opened.ok) throw new Error(opened.error.message);

const outline = runtime.getProjectOutline({ sessionId: opened.data.sessionId });
if (!outline.ok) throw new Error(outline.error.message);

const validation = runtime.validateSession({ sessionId: opened.data.sessionId });
if (!validation.ok) throw new Error(validation.error.message);

const applied = await runtime.applyTransaction({
    sessionId: opened.data.sessionId,
    expectedRevision: opened.data.revision,
    operations,
});

Open an existing project from browser async storage with source-fidelity checks:

import { BackendRuntime, createBackendStorageFileSystem } from '@openfairygui/backend';

const fileSystem = createBackendStorageFileSystem({
    async readFile(filePath) { return storage.readText(filePath); },
    async readFileRaw(filePath) { return storage.readBytes(filePath); },
    async writeFile(filePath, content) { await storage.writeText(filePath, content); },
    async writeFileRaw(filePath, data) { await storage.writeBytes(filePath, data); },
    async mkdir(dirPath) { await storage.mkdir(dirPath); },
    async readdir(dirPath) { return storage.readdir(dirPath); },
    async exists(filePath) { return storage.exists(filePath); },
    async unlink(filePath) { await storage.remove(filePath); },
    async rmdir(dirPath) { await storage.rmdir(dirPath); },
});

const runtime = new BackendRuntime({ fileSystem });
const opened = await runtime.openSession({ projectPath: 'ExistingProject' });
if (!opened.ok) throw new Error(opened.error.message);

Materialize an authoritative UAM project into browser async storage:

const runtime = new BackendRuntime();
const opened = runtime.openProjectSession({
    project: uamProject,
    storage: { fileSystem, fairyPath: 'NewProject/Project.fairy' },
});
if (!opened.ok) throw new Error(opened.error.message);

const bootstrapped = await runtime.materializeSession({
    sessionId: opened.data.sessionId,
    expectedRevision: opened.data.revision,
    mode: 'fullProject',
    reason: 'workspace_bootstrap',
});
if (!bootstrapped.ok) throw new Error(bootstrapped.error.message);

console.log(bootstrapped.data.writtenPaths);

Node file-backed session:

import { createNodeBackendRuntime } from '@openfairygui/backend/node';

const runtime = createNodeBackendRuntime();
const opened = await runtime.openSession({ projectPath: './MyProject' });
if (!opened.ok) throw new Error(opened.error.message);

const capabilities = runtime.getCapabilities();
console.log(capabilities.data.runtimeOwner);
console.log(capabilities.data.contractVersion);
console.log(capabilities.data.artifact.publishBridge.executionBoundary);
console.log(capabilities.data.compatibilityPolicy.incompatibleChange);

const refresh = runtime.refreshCache({ sessionId: opened.data.sessionId });
if (refresh.ok) {
    console.log(refresh.data.cacheRevision, refresh.data.entries);
}

await runtime.closeSession({ sessionId: opened.data.sessionId });

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 @openfairygui/backend

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

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

Frame 2085668439 (1)
Group 1261154229