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

@minnalstack/editor-plugin-json-format

Latest version: v0.4.1

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: aranghat
3 Versions
329 Downloads

Scan summary

@minnalstack/editor-plugin-json-format was last scanned on 27 Nov 2026 at version 0.4.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest was published on 27 Nov 2026.
  • Findings: No rules fired in version 0.4.1.
  • Downloads: 329 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.1 LATEST 27 Nov 2026 No rules fired
0.3.0 20 Nov 2026 No rules fired
0.0.0-stage 19 Nov 2026 Not shown

No rules fired in 0.4.1

Findings

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

README

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

@minnalstack/editor-plugin-json-format

JsonFormatPlugin makes text that is JSON a formatted code block. Select the text, whether it was pasted, typed or came from a file, and the JSON button of the floating toolbar makes it one code block: a member to a line, two spaces in for each level, with json as its language. In a code block, Format as JSON in the block's menu formats the block where it is. Either is one undo step.

import { FormatJson, JsonFormatPlugin } from '@minnalstack/editor-plugin-json-format';

builder.plugins.add(new JsonFormatPlugin());

// What the button does, to what is selected.
if (editor.canExecute(FormatJson)) editor.execute(FormatJson);

// Or to one block, wherever the selection is.
editor.execute(FormatJson, undefined, { target: blockId });

It needs only the code block, which every version of rich-doc has. With CodeHighlightPlugin the block is coloured as JSON, because its language is json. It isn't in defaultPlugins().

What it reads

The whole of every block the selection touches, a line to a block, so JSON that was pasted as a paragraph to a line reads as it was written. With only a caret, it reads the block the caret is in.

  • Blocks of text, side by side: paragraphs, headings, quotes, callouts and code blocks, under the document or in a section that opens and closes. With anything else among them, such as a table or a list, the command can't run.
  • Their formats go, because a code block has none.
  • Text that holds a mention or a formula is left alone, so neither is ever lost.

When it can run

Only on JSON, as the browser's JSON.parse reads it. On other text the button can't be pressed, which is how the person knows.

  • No comments, no trailing commas and no single quotes.
  • Curly quotes aren't JSON. TypographyPlugin turns quotes typed in a paragraph into quotation marks, so type JSON in a code block, where they stay as typed.
  • A non-breaking space between values isn't JSON, and some applications copy indentation as those.
  • Over 20,000 characters, the button can always be pressed. Whether a command can run is asked after every change while text is selected, so only that much is read ahead. The command reads all of it when it runs, and changes nothing if it isn't JSON.

The red dot

A code block whose language is json and whose text isn't JSON has a red dot beside it, in the left track, with "This isn't valid JSON" as its tooltip. It is why Format as JSON can't be pressed on that block. The dot goes as soon as the text is JSON again.

  • Only json code blocks are read. A code block in another language, or in none, is never marked.
  • An empty block has no dot, because nothing is wrong with it yet.
  • A block over 20,000 characters has no dot, because it isn't read. This is asked after every change to the block, so it reads no more than is read to say whether the command can run.
  • It is read after the frame, and only when a code block changed, so typing elsewhere costs nothing.

The dot is a marker, as any plugin can set one, under the key json:

const isMarked = editor.tracks.left.markersOf(blockId).some((marker) => marker.key === 'json');

What it changes

  • Only the space between values. Every key, string and number stays exactly as it was written. Reading the JSON and writing it out again would round a number too long to hold, make 1.0 into 1, move keys that are numbers to the front and drop a key written twice. This doesn't.
  • The selection stays on the same text, and a caret stays in the value it was in.
  • A code block stays the same block, with its id and its colours, and its language becomes json. Other text becomes a new code block where the first of the selected blocks was.
  • JSON that is formatted already, in a json code block, is left as it is, with no step added to undo.

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 @minnalstack/editor-plugin-json-format

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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229