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

@lexion-rte/tools

Latest version: v0.1.7

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
npm package Publisher: lexion-ret
1 Stars
0 Forks
1 Versions
17 Downloads
TypeScript Repo language

Scan summary

@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.

  • Releases: First and only release on 1 Dec 2026.
  • Findings: No rules fired in version 0.1.7.
  • Downloads: 17 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.7 LATEST 1 Dec 2026 No rules fired

No rules fired in 0.1.7

Findings

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.

README

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.

@lexion-rte/tools

Conversion utilities for Lexion editor documents.

Overview

@lexion-rte/tools provides:

  • toText(editor)
  • fromText(editor, text)
  • toHTML(editor, context?)
  • fromHTML(editor, html, context?)

Install

pnpm add @lexion-rte/tools @lexion-rte/core

Typical pairing:

pnpm add @lexion-rte/tools @lexion-rte/core @lexion-rte/starter-kit

Browser Example

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));

Server / Node Example

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);

Notes

  • fromText creates paragraph blocks separated by blank lines.
  • Single newlines inside a paragraph map to hard_break when supported by schema.
  • Conversions depend on the active editor 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.

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 @lexion-rte/tools

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 (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

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?

Frame 2085668439 (1)
Group 1261154229