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

readcon-db

Latest version: v0.2.4

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: rgoswami
0 Stars
1 Forks
7 Versions
12.0K Downloads
Rust Repo language

Scan summary

readcon-db was last scanned on 26 Nov 2026 at version 0.2.4. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 7 versions; the latest was published on 26 Nov 2026.
  • Findings: No rules fired in version 0.2.4.
  • Downloads: 12,033 downloads.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.4 LATEST 26 Nov 2026 No rules fired
0.2.3 19 Nov 2026 No rules fired
0.2.2 19 Nov 2026 No rules fired
0.2.1 12 Nov 2026 Not shown
0.2.0 15 Oct 2026 Not shown

No rules fired in 0.2.4

Findings

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

README

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

readcon-db

Mmap-backed CON/convel corpus store (LMDB via Heed), non-SQL selection, xxHash3-128 exact match, and Rust / C / C++ / Python / Fortran bindings.

Part of the readcon ecosystem with readcon-core (Python package readcon):

Crate / package Role Docs
readcon-core / readcon CON interchange (parse/write/spec v2–v3). XYZ/PDB/GRO → ConFrame via chemfiles (read_chemfiles*), not ASE. Optional to_ase only for calculators. Core README, docs/orgmode/
readcon-db / readcon_db (this repo) mmap CON corpus: indexes (natoms, symbols, energy range, forces/velocities/energy flags), multi-reader, dedup. Blobs are CON text decoded with readcon-core. docs, docs/orgmode/explanation/design.org

ASE is not on the CON or XYZ read path. Optional to_ase is calculator hand-off only.

Install

cargo add readcon-db
cargo install readcon-db --locked   # CLI
pip install readcon-db             # module readcon_db (PyPI)
# C/C++: FetchContent / meson dependency('readcon-db') / pkg-config
# headers in include/ are shipped; cbindgen is not required
# Prebuilt C ABI (no cargo): readcon-db-clib-$VER-$target.tar.gz on the GitHub Release

Docs: https://lode-org.github.io/readcon-db/ · crate: https://crates.io/crates/readcon-db

Quick start (from source)

Outside Windows a source build also needs CMake: readcon-core links zlib-ng, which libz-ng-sys builds with CMake.

git clone https://github.com/lode-org/readcon-db
cd readcon-db
cargo test --locked
cargo test --locked --features capi
cargo build --release                    # CLI readcon-db; no C symbols
cargo build --release --features capi   # libreadcon_db with the C ABI

Optional LODE sibling checkout (edit core + db together): clone both under the same parent, then create untracked .cargo/config.toml in readcon-db:

[patch.crates-io]
readcon-core = { path = "../readcon-core" }

Python extension from a checkout (python/ + maturin):

pip install maturin
maturin develop --release --features python --manifest-path python/pyproject.toml
use readcon_db::{ConCorpus, Select};
let db = ConCorpus::open("/tmp/corpus")?;
db.append_trajectory_path(1, "run.con")?;
// XYZ in: use readcon-core chemfiles → ConFrame → append (see workflows)
let keys = db.select(
    &Select::new()
        .require_symbol("Cu")
        .require_forces()
        .exact_composition("Cu:2|H:2")
        .fmax_range(0.0, 1.0)
        .energy_range(-50.0, 0.0),
)?;
let h = db.frame_hash(keys[0])?;
./target/release/readcon-db ingest-dir /tmp/corpus /path/to/con_files
./target/release/readcon-db select /tmp/corpus --formula 'Cu:2|H:2' --require-forces \
    --fmax-max 1.0 --energy-min -50 --energy-max 0
./target/release/readcon-db reindex /tmp/corpus
./target/release/readcon-db dedup-export /tmp/corpus --symbol Cu -o subset.xyz  # only if a tool demands XYZ on disk

Foreign trajectories: readcon.read_chemfiles("traj.xyz") → frames → ingest into readcon-db (chemfiles-enabled build), not ase.io.read.

Python append_trajectory_frames commits 64 frames at a time. get_frame returns a StoredFrame (atoms[i] builds that atom only). Gzip and zstd files are read with readcon.read_con, then appended. Python append_trajectory and Rust append_trajectory_path read UTF-8 and do not decompress. readcon-db does not register an ase.ioformats entry point. Guide: docs/orgmode/howto/streaming.org. Upgrade from 0.2.0: docs/orgmode/howto/migration.org.

Design

  • No SQL engine — explicit indexes + in-process intersection, with ASE.db-competitive screening fields (mass, volume, PBC, reserved metadata, charge/magmom; see design matrix).
  • Decode via readcon-core — CON semantics never fork.
  • Metadata indexes — finite energy bins; flags for forces, velocities, energy presence.
  • xxHash3-128 on the CON text. A new frames value is 0xFD 0x01 plus one zstd level-1 frame of that UTF-8, written outside the LMDB transaction. An aligned run of 64 frames shares one 0xFD 0x03 zstd frame when that group is shorter than the per-frame values, and the other keys store a 0xFD 0x02 redirect. Untagged UTF-8 still reads as a 0.1.8 span. readcon-db migrate rewrites legacy values once and leaves an already packed value unchanged. --no-compress on ingest, ingest-dir, and shard-ingest stores the UTF-8. There is no dictionary. Both MPI ingest routes send the stored bytes. The hash is the decompressed text.
  • Many readers, one writer (LMDB). Same-frame MPI: rank 0 of the caller communicator packs RCSO and MPI_Bcast on that handle (include/readcon-db-mpi.h, Python bcast_packed_frame / bcast_packed_frames). The library never MPI_Inits and never names the process-wide world communicator; LAMMPS / mpi4py pass the comm they already own.
  • H5MD interchange — export_h5md / collect_h5md writes one [T][N][3] trajectory (CON stays authority). Engine dest is Å / ps / kJ mol^{-1} Angstrom^{-1}; velocity dest is Angstrom ps-1. Velocities follow D10: v1, v2, and v3.0 frames use the natural unit (amu*angstrom^2/eV)^0.5 whatever the time label says; v3.1 frames use units.time and fail when a velocities section has no units.time. --velocity-time-unit, Rust H5mdCollectOpts, the Python velocity_time_unit argument, and C rkrdb_set_velocity_time_unit override that rule for a file that breaks it. The simulation clock uses units.time when that key is present. A v3.1 frame with time or timestep and no units.time is an error. The same override supplies that missing clock unit. A present units.time still scales the clock. v1, v2, and v3.0 clocks with no units.time are read as fs.
  • Node-local drain/join — shard-ingest then drain to a unique dest (data.mdb only, refuse overwrite), then join-drained. compact-join joins one sharded root (open_existing). Campaign ops: docs/orgmode/howto/campaign.org.

Full ABI table, logo, Sphinx docs, and site: see docs/, website/, assets/logo/, CHANGELOG.md. Fortran module notes: fortran/README.md, fortran/ReadConDb/.

Questions and bug reports

Ask questions and report bugs on the GitHub issue tracker. Report a security problem by email instead, as SECURITY.md describes.

License

MIT

Cooked SoA tier

Optional RCSO numerics in frames_soa (opt-in cook). Ingest and migrate do not cook. RCSO is non-authoritative: CON text in frames is the sole authority for hash, dedup, join/split, and reindex. User doc: docs/orgmode/cooked-soa.org.

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 readcon-db

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

CVE

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

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

Frame 2085668439 (1)
Group 1261154229