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

@simple-api-stream/xml

Latest version: v1.3.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: juners
0 Stars
0 Forks
6 Versions
1.0K Downloads
TypeScript Repo language

Scan summary

@simple-api-stream/xml was last scanned on 30 Nov 2026 at version 1.3.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 6 versions; the latest 4 were published within 7 days (24–30 Nov 2026).
  • Findings: No rules fired in version 1.3.0.
  • Downloads: 1,043 downloads.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.3.0 LATEST 30 Nov 2026 No rules fired
1.2.0 27 Nov 2026 No rules fired
1.1.1 25 Nov 2026 No rules fired
1.1.0 24 Nov 2026 Not shown
1.0.1 20 Nov 2026 Not shown

No rules fired in 1.3.0

Findings

Findings for v1.3.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.

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

README

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

@simple-api-stream/xml

Streaming XML (SAX = Simple API for XML) parser, AST/DOM converters, serializer, and optional JSON (SAJ) bridge built on the Web Streams API.

Installation

npm install @simple-api-stream/xml

Requires Node.js >= 24 or any runtime supporting Web Streams and async iteration of ReadableStream.

Features

Export Type Input Output
XMLTextToSAXTransformStream TransformStream XML text (string chunks) SAXEventInterface objects
XMLTextToSAXEventWritableStream WritableStream XML text (string chunks) Calls a SAXHandler
SAXToObjectTransformStream<T> TransformStream SAX events Lightweight plain-object XML AST (XMLDocumentNode) or mapped T
ObjectToSAXTransformStream<T> TransformStream Lightweight XML AST (XMLNode) or mapped T SAX events
SAXToDOMTransformStream<T> TransformStream SAX events DOM Document or DocumentFragment
DOMToSAXTransformStream TransformStream DOM-like nodes (DOMNodeLike) SAX events
SAXToXMLTextTransformStream TransformStream SAX events XML text
ResolveToSAXReadableStream ReadableStream Method calls (SAXResolver) SAX events
parseXMLResponse<T> Helper function Fetch Response ReadableStream<T> (XMLDocumentNode or mapped T)
SAXToSAJTransformStream (@simple-api-stream/xml/json) TransformStream SAX events SAJ events (lossless XMLDocumentNode AST JSON, O(depth) streaming)
SAJToSAXTransformStream (@simple-api-stream/xml/json) TransformStream SAJ events (XMLNode AST JSON) SAX events

Usage

import { parseXMLResponse } from "@simple-api-stream/xml";

const response = await fetch("https://example.com/feed.xml");
for await (const doc of parseXMLResponse(response)) {
  console.log("Parsed XML:", doc);
}

Or compose the underlying Web Streams directly:

import { XMLTextToSAXTransformStream } from "@simple-api-stream/xml";

const events = xmlTextStream.pipeThrough(new XMLTextToSAXTransformStream());

for await (const event of events) {
  if (event.name === "startElement")
    console.log(event.tagName, event.attrs);
}
Converting XML to JSON (@simple-api-stream/xml/json)
import { XMLTextToSAXTransformStream } from "@simple-api-stream/xml";
import { SAXToSAJTransformStream } from "@simple-api-stream/xml/json";
import { SAJToJSONTextTransformStream } from "@simple-api-stream/json";

const jsonText = xmlTextStream
  .pipeThrough(new XMLTextToSAXTransformStream())
  .pipeThrough(new SAXToSAJTransformStream())
  .pipeThrough(new SAJToJSONTextTransformStream({ indent: 2 }));

SAX Events

name Extra fields
startDocument kind: "xml"
endDocument –
startElement tagName, attrs: Record<string, string>, selfClosing: boolean
endElement tagName
text text (numeric references and XML/HTML5 named entities are unescaped)
cdata cdata
comment comment (preserved verbatim without entity unescaping)
doctype root, dtdType?: "PUBLIC" \| "SYSTEM", identifier?, uri?, declarations?: string[]
processingInstruction target, data; <?xml …?> additionally has version, encoding, standalone, and <?xml-stylesheet …?> has type, href

For full options, error classes, and usage examples, see the root README.

See Also

License

MIT

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 @simple-api-stream/xml

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

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Copy of Template Design OX Blog (2)
Research

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

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229