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

postext-scorm

Latest version: v0.31.1

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: drnachio
17 Stars
5 Forks
66 Versions
11.7K Downloads
TypeScript Repo language

Scan summary

postext-scorm was last scanned on 23 Nov 2026 at version 0.31.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 66 versions; the latest 5 were published within 4 days (20–23 Nov 2026).
  • Findings: No rules fired in version 0.31.1.
  • Downloads: 11,677 downloads.

Versions

66 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.31.1 LATEST 23 Nov 2026 No rules fired
0.31.0 23 Nov 2026 No rules fired
0.30.0 23 Nov 2026 No rules fired
0.29.2 21 Nov 2026 Not shown
0.29.1 20 Nov 2026 Not shown

No rules fired in 0.31.1

Findings

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

README

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

postext-scorm

SCORM package writer for Postext books. It writes a laid-out book, or the chapters and sections picked from it, as a SCORM 1.2 or SCORM 2004 (4th edition) package: the zip a learning management system (Moodle, Canvas, Blackboard, SCORM Cloud and most others) imports as a course. It runs in the browser or in Node, with no server.

The content is postext-epub's, as HTML5 pages: the printed pages (layout: 'fixed') or the text set again for the window (layout: 'reflowable'). Each SCO has a launch page with a small player, and the book's exercises send their score, completion and pass or fail to the LMS.

npm install postext postext-epub postext-scorm

postext and postext-epub are peer dependencies: upgrade the three together.

Use

import { buildBundle, openBundle } from 'postext';
import { renderToScorm, scormOrganization, scormTree, treeLeaves } from 'postext-scorm';

const bundle = await openBundle(bytes);
const docs = buildBundle(bundle); // one VDTDocument per chapter, in book order

const tree = scormTree(bundle.chapters.map((c) => ({ markdown: c.markdown, title: c.title })));
const picked = new Set(tree.flatMap(treeLeaves).map((n) => n.id)); // everything

const zip = await renderToScorm(docs, {
  version: '2004',
  layout: 'reflowable',
  items: scormOrganization(tree, picked),
  metadata: { title: 'Lantern', language: 'en' },
});
  • renderToScorm(docs, options) returns the zip as bytes. options: version ('1.2' | '2004'), layout ('fixed' | 'reflowable'), items (the organization; default one SCO per chapter), metadata, fonts, svgFonts, resourceBytes, cover (as renderToEpub takes them), passingScore (a percentage, over the books' exercises.digital.passingScore), onProgress, onWarning, signal.
  • items is a tree of { title, doc?, range?, children? }. An item with children is a group; one without is a SCO: chapter doc whole, or its range ({ start, end? }, offsets in the chapter's Markdown as written).
  • scormTree(chapters, config?) lists the chapters and their headings to the third level, each with its range. scormOrganization(tree, picked) makes items from a set of picked leaf ids: a node picked whole is a SCO, a node picked in part groups its picked children.

What the LMS receives

  • Score: each exercise's last check, graded slots right out of graded slots; a SCO's score is the sum over its exercises (SCORM 1.2: a percentage in cmi.core.score.raw; SCORM 2004: cmi.score.scaled, with the slots as raw and max).
  • Completion: every page or document shown and every exercise checked.
  • Success: passed or failed against the passing score, the manifest's (adlcp:masteryscore, or a primary objective's minNormalizedMeasure) or the one the LMS hands back.
  • Interactions: one per check (SCORM 1.2) or one per exercise, updated (SCORM 2004), with the response, the right one, the result and a weighting.
  • Rollup: SCORM 2004 weighs each SCO by its graded slots; with SCORM 1.2 the LMS's grading method decides.
  • Answers and the checks and fresh starts used, in cmi.suspend_data, so the limits of an attempt (exercises.digital.maxChecks, maxResets, showSolution) hold across visits. Past SCORM 1.2's 4,096 characters, the answers stay in the browser and the counts still go to the LMS.

Opened without an LMS, the package reads the same and keeps the answers in the browser.

The package carries the IMS and ADL schemas its manifest names; the tests validate both versions' manifests against them with xmllint. Docs: SCORM packages.

License

MIT. The schema files are the IMS Global and ADL definitions every SCORM package carries.

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 postext-scorm

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Vulnerability Insights

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

Frame 2085668439 (1)
Group 1261154229