Scan your whole stack
From OX Research Newsroom
Are you using @lexion-rte/tools?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.7
@lexion-rte/tools was last scanned on 1 Dec 2026 at version 0.1.7. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.7 LATEST | 1 Dec 2026 | No rules fired |
Findings for v0.1.7. 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.1.7; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
This package is part of the Lexion framework-agnostic rich text editor.
Lexion is a framework-agnostic, headless rich text editor platform built on ProseMirror, designed to provide a shared core, reusable extensions, and framework-specific adapters.
Conversion utilities for Lexion editor documents.
@lexion-rte/tools provides:
toText(editor)fromText(editor, text)toHTML(editor, context?)fromHTML(editor, html, context?)pnpm add @lexion-rte/tools @lexion-rte/core
Typical pairing:
pnpm add @lexion-rte/tools @lexion-rte/core @lexion-rte/starter-kit
import { LexionEditor } from "@lexion-rte/core";
import { starterKitExtension } from "@lexion-rte/starter-kit";
import { fromText, toHTML, toText } from "@lexion-rte/tools";
const editor = new LexionEditor({ extensions: [starterKitExtension] });
fromText(editor, "Line one\n\nLine two");
console.log(toText(editor));
console.log(toHTML(editor));
toHTML and fromHTML require a DOM Document when not running in the browser.
import { JSDOM } from "jsdom";
import { LexionEditor } from "@lexion-rte/core";
import { starterKitExtension } from "@lexion-rte/starter-kit";
import { fromHTML, toHTML } from "@lexion-rte/tools";
const dom = new JSDOM("<!doctype html><html><body></body></html>");
const editor = new LexionEditor({ extensions: [starterKitExtension] });
fromHTML(editor, "<p><strong>Hello</strong> world</p>", { document: dom.window.document });
const html = toHTML(editor, { document: dom.window.document });
console.log(html);
fromText creates paragraph blocks separated by blank lines.hard_break when supported by schema.fromHTML parses into an inert document (document.implementation.createHTMLDocument()), so <script> and inline handlers like <img onerror> never run, even in the browser. With the starter kit, links with an unsafe href are dropped (their text is kept).fromHTML throws Invalid document: ... if the parsed content does not fit the schema.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.