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

@uibot/document-editor

Latest version: v0.24.1

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: foundj
25 Versions
981 Downloads

Scan summary

@uibot/document-editor was last scanned on 29 Nov 2026 at version 0.24.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 25 versions; the latest 4 were published within 6 days (24–29 Nov 2026).
  • Findings: No rules fired in version 0.24.1.
  • Downloads: 981 downloads.

Versions

25 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.24.1 LATEST 29 Nov 2026 No rules fired
0.24.0 29 Nov 2026 No rules fired
0.23.0 25 Nov 2026 No rules fired
0.22.0 24 Nov 2026 Not shown
0.20.0 9 Nov 2026 Not shown

No rules fired in 0.24.1

Findings

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

README

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

UIBot document integration

@uibot/document-editor provides a rich editor, outline and Spec document pages. The host owns document storage, access checks, revisions and model services. Source availability does not confirm npm publication or production integration.

Choose a page

  • document-writing: focused editing.
  • document-reading: readonly content with an outline derived from current headings.
  • document-library: document selection with unsaved-edit protection.
  • document-assistant: document editor and an independently bound chat surface.

Read the resource's complete Spec, controls, dependencies and limitations. Compile with DOCUMENT_SPEC_CATALOG from @uibot/document-editor/catalog. The assistant page also needs CHAT_SPEC_CATALOG from @uibot/ai-chat/catalog and STUDIO_CATALOG_ENTRIES from @uibot/blocks-studio/catalog for its responsive Grid. Register Grid from @uibot/blocks-studio, createDocumentSpecEntries from @uibot/document-editor/spec, and createChatSpecEntries from @uibot/ai-chat/spec. Use the consumer's existing registry assembly rather than replacing its entries. Import @uibot/document-editor/style.css in the browser entry.

Spec document pages inherit the nearest host light/dark class or explicit data-theme / data-color-scheme marker, falling back to CSS color-scheme and then light. The editor and floating controls share that preference even when the operating system uses another theme. Switching appearance preserves the editor session and unsaved content. Direct DocumentEditor / BlockEditor consumers can still pass theme="light" for white paper and dark text or theme="dark", or provide their own theme object.

Host document binding

createDocumentSpecEntries({ resolveHost }) resolves each binding ID to a DocumentSpecBinding. For direct React use:

import { DocumentWorkspace, type DocumentSpecBinding } from "@uibot/document-editor/spec";
import "@uibot/document-editor/style.css";

export function WritingPage({ binding }: { binding: DocumentSpecBinding }) {
  return <DocumentWorkspace binding={binding} autoSaveMs={0} />;
}

The binding contains document: EditableDocument and client: DocumentEditorClient. Supply blocks when available; markdown is a lossy fallback for initial content. Opening another document requires a new document ID or remount. Switch binding ID or remount on tenant/authorization changes, even if host-local document IDs match. Preview state controls never replace an injected host draft.

The save client receives ID, title, blocks, markdown, expectedRevision and idempotencyKey. Authorize the document and fields, compare revisions and write atomically, then acknowledge the stored document and revision. A successful HTTP request alone is not a successful document save. Handle these outcomes explicitly:

  • Success advances the next expected revision; edits made during the request stay dirty.
  • Conflict preserves the draft. Supply the remote document to enable the explicit keep-local or load-remote actions. Loading an empty remote body clears the editor.
  • Failure preserves input. Unknown results do not retry automatically; an explicit retry of identical content keeps the original idempotency key. Reconcile that operation in the host before attempting another write.

autoSaveMs: 0 enables manual save; positive values debounce dirty-document saves. Readonly documents disable editing and saving. Uploads require client.uploadFile.

Assistant context and write boundaries

The built-in assistant page has separate document and chat binding IDs. It does not automatically send editor content, selected text or unsaved drafts to a model, and a chat reply does not replace document blocks. Map approved context explicitly in the host; reauthorize every model request. Read package:uibot-ai-chat docs for transport, citation identity, stop and late-event behavior.

If current unsaved content is required, compose the lower-level BlockEditor with its onChange / getValue seam in the host. Make the chosen context and write action explicit, protect newer edits and use the normal revision/idempotency protocol. Do not mutate the editor DOM or infer authorization from a Spec binding ID.

Preview and adoption checks

Only a trusted host can enable demo: true; Spec cannot do so. Demo documents and chat state are session-local. Their “Saved” status is an in-memory acknowledgement, not persistence evidence. Recompilation may reset this data. Playground export saves configuration, including authored initial markdown, rather than runtime edits.

Verify strict compilation, declared controls, configuration undo/export/reopen, manual and automatic saves, failure/unknown/conflict outcomes, empty remote content, late acknowledgements, readonly behavior and mobile layout. Verify Studio artifact revision saves separately from document-client saves. Record local demonstrations, real host integration and distribution evidence separately.

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 @uibot/document-editor

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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229