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

@stll/docx-core

Latest version: v0.51.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: jan-kubica
36 Stars
10 Forks
60 Versions
477.0K Downloads
TypeScript Repo language

Scan summary

@stll/docx-core was last scanned on 28 Nov 2026 at version 0.51.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 60 versions; the latest 5 were published within 2 days (27 and 28 Nov 2026).
  • Findings: 1 rule fired in version 0.51.0 (1 low). The score describes this version only.
  • Downloads: 476,954 downloads.

Versions

60 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.51.0 LATEST 28 Nov 2026 1 rule fired
0.50.2 28 Nov 2026 1 rule fired
0.50.1 28 Nov 2026 1 rule fired
0.50.0 28 Nov 2026 Not shown
0.49.0 27 Nov 2026 Not shown

Rules fired in 0.51.0: 1

Findings

1 Low

Findings for v0.51.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.

WebAssembly module included

The package includes a WebAssembly (.wasm) module. It cannot be reviewed as source, but it runs sandboxed inside the JavaScript runtime and can access only what the host code gives it. WebAssembly is common in parsers, codecs and cryptography libraries. Shown for awareness.

LOW
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 0.51.0; other versions have their own rules, not their own score.

README

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

@stll/docx-core

A typed OOXML/DOCX document model with parsing, validation, and serialization.

The package exposes a structured document model (paragraphs, runs, tables, styles, section properties) together with the tools to produce and check DOCX packages, plus a legal-source compiler that turns a legal draft (GFM markdown plus @ directives) into that model or a finished DOCX file, and a plain markdown reader (compileMarkdownToContent) that shares its parser.

import { compileLegalSourceToDocx, validateDocxPackage } from "@stll/docx-core";

const { docx } = await compileLegalSourceToDocx(source);
const result = await validateDocxPackage(docx);

The document model types are also available from a dedicated subpath:

import type { Document, Paragraph, Run } from "@stll/docx-core/model";

Install

bun add @stll/docx-core

Exports

  • . — the document model types, the legal-source compiler (parseLegalSource, compileLegalSourceToDocument, compileLegalSourceToDocx, validateLegalDraft), the markdown reader (compileMarkdownToContent, sanitizeExternalUrl), DOCX serialization (serializeDocumentToDocx), and validation (validateDocxPackage, validateDocumentModel, assertValidDocumentModel).
  • ./model — the document model types only.
  • ./ops — document operations over the model: applyDocumentOp and applyDocumentOps apply text and formatting edits addressed by paragraph id and offset, and return the new document, the blocks it touched and its exact inverse (operations addressed the same way), or a typed refusal. With a revision stamp, the text, formatting and paragraph operations record their edit as tracked changes instead, and resolveRevision accepts or rejects tracked changes by revision id. planTrackedDeletion plans a tracked deletion around the author's own insertions and comment anchors, and revisionIdDemand counts the new revision ids an operation takes. normalizeForOps and validateOpsDocument establish and check the contract a document meets before operations apply to it; toOpEnvelope wraps an operation with its schema version for journaling. validateDocumentBatch, parseDocumentBatch and validateSequencedBatch decode bounded batch envelopes. transformBatch, createSequencer and createClient provide conservative rebasing, idempotent in-memory sequencing and optimistic pending queues (see operation batches).

License

Apache-2.0

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 @stll/docx-core

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

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229