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

openwraw

Latest version: v4.0.2

Overview

Last scanned
27 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: nathanriley
4 Stars
1 Forks
3 Versions
3.0K Downloads
Rust Repo language

Scan summary

openwraw was last scanned on 27 Nov 2026 at version 4.0.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest was published on 26 Nov 2026.
  • Findings: No rules fired in version 4.0.2.
  • Downloads: 2,999 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
4.0.2 LATEST 26 Nov 2026 No rules fired
4.0.1 19 Nov 2026 No rules fired
4.0.0 11 Oct 2026 No rules fired

No rules fired in 4.0.2

Findings

Findings for v4.0.2. 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 4.0.2; other versions have their own rules, not their own score.

README

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

OpenWRaw

CI crates.io PyPI docs.rs License: Apache-2.0 Rust MSRV

Part of the OpenMassSpec stack for mass spectrometry raw-file access.

Rust and Python reader for the Waters MassLynx RAW mass spectrometry data format. Cross-platform (Linux, macOS, Windows), with no native or system dependencies.

Documentation: sigilweaver.app/openwraw/docs

Install

Prefer openmassspec-io with the waters feature/extra unless you need this parser standalone (minimal dependencies, or building your own abstraction) - the umbrella gives you format auto-detection, mzML conversion, and Arrow streaming across all wired-in vendors for free:

cargo add openmassspec-io --features waters
pip install openmassspec[waters]

Standalone:

Rust:

cargo add openwraw

Python:

pip install openwraw

Quickstart

Rust:

use openwraw::Reader;

let r = Reader::open("sample.raw")?;
for f in &r.functions {
    println!("function {}: {} scans", f.index, f.scan_count());
}

Python:

import openwraw

r = openwraw.RawReader("sample.raw")
spec = r.read_spectrum(1, 0)
print(spec.mz[:5], spec.intensity[:5])

See the docs site for the full quickstart, guide, and format specification.

Known issues and gaps

  • m/z is not lock-mass corrected, and is typically 30 to 100 ppm off. m/z uses only the calibration stored in _HEADER.TXT. Lock-mass (reference) functions are skipped when iterating spectra and are not used to correct the others. Measured on the 69 lock-mass functions of the public test corpus, the reference ion reads about 46 ppm from its true m/z (median), 98 ppm at the 95th percentile and up to 162 ppm. For accurate-mass work, recalibrate against known masses (most search engines have a mass recalibration step; the bundle's own lock-mass scans are available through Reader::decode_scan), or search with tolerances of at least 100 ppm.
  • No ion mobility decoding. SYNAPT, Vion and Cyclic IMS scans are returned as m/z and intensity only. There is no drift-time output, and mzML output carries no mobility arrays.
  • DDA precursors carry m/z only. Data-dependent MS/MS scans report the precursor m/z recorded for each scan, as both isolation window target and selected ion m/z. No charge state, isolation width or reference to the triggering survey scan is reported; none has been found in the files.
  • MS level of Vion MSe data. The high-energy function of an MSe acquisition is reported as MS2 when the bundle labels it TOF PARENT, or labels it TOF MS and records its collision-energy ramp. Vion bundles exported by UNIFI record no collision energy, so both of their TOF MS functions are reported as MS1.
  • Polarity is reported only when the bundle records it. UNIFI exports do not, so their spectra have no polarity.
  • Encoding D and E: intensity flag bits (bits 27-31 of the intensity word) are not interpreted; flagged peaks are kept. Both encodings return a parse error for an intensity word the format does not produce, except that Encoding D reads the word 0x20000000 (flag bit 29 only, no mantissa) as a flagged zero intensity and keeps the point with intensity 0.0. That reading rests on the neighbouring records in two public bundles (PXD053170), not on a documented meaning of the flag. Encoding E has not been observed with that word.
  • Encoding E (12-byte records): the auxiliary word is not interpreted. Encoding E spectra are labelled centroid. That is confirmed from point spacing for the Xevo G2-XS lock-mass functions but not for LCT Premier bundles.
  • Tested instruments. The public test corpus covers Q-Tof, SYNAPT, Vion, Cyclic IMS and Xevo G2-XS/G3 QTof data in positive mode, including MSe, HDMSe, DDA, targeted MS/MS and one MALDI MS/MS bundle. Triple and single quadrupole (MRM/SIR), GC and negative-mode data are untested.

Debug logging

OpenWRaw logs how it reads a bundle: which side files it resolved (including sample-prefixed names), instrument and geometry from _extern.inf, and for each function the scan count, mass range, chosen record encoding and why, and calibration. Warnings flag skipped functions, missing calibration, unreadable _FUNCnnn.STS files, and indexes that address more bytes than their DAT file holds. Per-scan byte ranges are logged at trace level.

Rust uses the log facade; install any logger:

RUST_LOG=openwraw=debug your-program sample.raw   # with env_logger

Python forwards to the standard logging module under the openwraw logger. Configure it before opening files:

import logging
logging.basicConfig(level=logging.DEBUG)

import openwraw
openwraw.RawReader("sample.raw")

Include this output when reporting a file that fails to open or decode.

Corpus decode audit

Run every non-lock-mass scan in a directory tree of Waters RAW bundles:

cargo run -p openwraw --release --example audit_corpus -- /path/to/corpus

The command reports opened bundles, decoded scans, and the first error per bundle, then checks each lock-mass function against its reference compound (ReferenceMass1 in _extern.inf, or Leu-Enk / Glu-fib). It exits with an error if any bundle fails to open, any scan fails to decode, or any lock-mass function is more than 100 ppm off. Add --lock-only to skip the full scan pass.

The 2026-09-26 corpus audit records the expanded corpus results and the format gaps it exposed.

Repository layout

crates/
  openwraw/      Core Rust library
  openwraw-py/   PyO3 / maturin Python bindings
docs/            Docusaurus site (format spec + guides)

License

Apache-2.0. See LICENSE.

The format specification was developed by binary analysis of public mass-spectrometry datasets (PRIDE accessions). See ATTRIBUTION.md.

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

  • pypi-releases openwraw

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

Vulnerability Insights

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

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

Frame 2085668439 (1)
Group 1261154229