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

catbench

Latest version: v1.1.7

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
PyPI package Publisher: jumoon
60 Stars
3 Forks
2 Versions
Python Repo language

Scan summary

catbench was last scanned on 25 Nov 2026 at version 1.1.7. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions; the latest was published on 25 Nov 2026.
  • Findings: No rules fired in version 1.1.7.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.7 LATEST 25 Nov 2026 No rules fired
1.1.6 19 Oct 2026 No rules fired

No rules fired in 1.1.7

Findings

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

README

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

CatBench

A benchmarking framework for Machine Learning Interatomic Potentials in heterogeneous catalysis.

CatBench evaluates MLIPs against DFT references across four task types — adsorption energy, surface energy, bulk formation energy, and equation of state — with automated data processing, reproducible calculation workflows, and statistical anomaly detection.

Table of Contents

  • Installation
  • Quick Start
  • Tutorials
  • Adsorption Energy Benchmarking
    • Data Preparation
    • Calculation
    • Analysis
    • Output Files
  • Relative Energy Benchmarking
    • Surface Energy
    • Bulk Formation Energy
  • Equation of State (EOS) Benchmarking
  • Configuration Reference
  • Citation

Installation

# Basic
pip install catbench

# With D3 dispersion correction (GPU required; CPU-only not currently supported)
pip install catbench[d3]

# Development install from source
git clone https://github.com/JinukMoon/CatBench.git
cd CatBench
pip install -e .

Quick Start

Minimum viable benchmark in 5 lines:

from catbench.adsorption import get_benchmark, AdsorptionCalculation, AdsorptionAnalysis
from your_mlip import YourCalculator

get_benchmark("BM_dataset")                                              # 0.3 MB
calc = YourCalculator(...)
AdsorptionCalculation([calc] * 3, mlip_name="MyMLIP", benchmark="BM_dataset").run()
AdsorptionAnalysis().analysis()                                          # parity plots + Excel

For an end-to-end walkthrough on the publication's main benchmark (MamunHighT2019) with MACE-MP-0, see the tutorial notebook.

Tutorials

tutorials/catbench_tutorial.ipynb — complete walkthrough on a 20-reaction subset of MamunHighT2019 using MACE-MP-0 as the representative MLIP. Covers Zenodo download, calculator setup, calculation, analysis, and the multi-MLIP comparison workflow. Runs in about 10 minutes on a Colab T4 GPU.

Adsorption Energy Benchmarking

Data Preparation
Option A: get_benchmark (Recommended)

get_benchmark(name) fetches a dataset from the best available source automatically, so you can request any benchmark by name without knowing where it lives:

from catbench.adsorption import get_benchmark, list_zenodo_benchmarks

get_benchmark("MamunHighT2019")   # writes raw_data/MamunHighT2019_adsorption.json

It resolves each name through three sources in order:

  1. Zenodo — the featured datasets below, citable with a DOI (concept DOI: 10.5281/zenodo.17157085, always resolves to the latest version).
  2. CatBench leaderboard (catbench.org) — every dataset on the leaderboard, gzip-compressed for a fast download.
  3. CatHub — direct download + preprocessing for anything not hosted above.

Featured datasets (hosted on Zenodo):

Benchmark Size Description
OC20-Dense 397 MB 65,073 dense adsorption configurations (Open Catalyst 2020)
MamunHighT2019 95 MB 45,130 small-molecule adsorptions on 2,035 bimetallic alloys
GameNetOx_oxide 11 MB 987 adsorptions on metal-oxide surfaces
FG_dataset 9 MB 2,651 C1–C10 organic molecules on transition metals
KHLOHC_origin 6 MB Liquid organic hydrogen carrier adsorption (fine-tuning)
ComerGeneralized2024 1 MB 325 adsorptions on metal oxide surfaces
BM_dataset 0.3 MB 32 industrial large molecules (biomass, polyurethane, plastics)
list_zenodo_benchmarks()   # the featured names currently on Zenodo

For explicit control, the source-specific functions still work directly: zenodo_download(name) (Zenodo only) and cathub_preprocessing(name).

If catbench.org cannot be reached (network error), get_benchmark stops with an error instead of silently falling back to CatHub (1.1.5).

Option B: CatHub Database

cathub_preprocessing(name) takes the preprocessed file from the catbench.org mirror when it has the dataset (no key needed) and downloads from CatHub only otherwise (source="auto", default). source="mirror" uses the mirror only, source="cathub" always downloads from CatHub.

CatHub API key (required since 2026). CatHub now answers only requests that carry a personal API key. Get one at https://api-catalysis-hub.slac.stanford.edu/auth/login, then either

export CATHUB_API_KEY=<your key>

or pass it explicitly (never commit it to a script):

import os
from catbench.adsorption import cathub_preprocessing

cathub_preprocessing("NewDataset2026", source="cathub", api_key=os.environ["CATHUB_API_KEY"])

CatHub request limits. CatHub allows 10 requests/minute and suspends accounts above 500 requests/day. A reaction page that includes structures comes back with only one reaction, so since v1.1.7 CatBench downloads in bulk: it pages the reactions without structures (200 per request) and takes every structure of the publication from a single request, matched by system id. A dataset costs about 2 + reactions/200 requests (e.g. 240 reactions: 3 requests) instead of one per reaction; the result is identical. reactions_from_dataset(..., bulk=False) keeps the old one-request-per-reaction path. CatBench spaces requests 6.5 s apart and refuses, before downloading, any dataset that would need more requests than request_budget (default 300) or than are left of today's limit.

Downloads are deterministic (stable order: "id" pagination + id-based dedup) and fixed-atom constraints are handled automatically: CatHub's deposited constraints are kept as-is, and for datasets where CatHub omits them the fixed set is inferred from geometry (clean slab vs adslab — atoms that do not move were held fixed) and injected as FixAtoms. A genuinely unconstrained slab is left free. So every preprocessed dataset is self-describing and runs correctly out of the box.

Combining datasets and unifying adsorbate names. Pass a list of benchmarks to process them together, and an optional adsorbate_integration map to merge inconsistent adsorbate labels (e.g. HO → OH) into a single name:

cathub_preprocessing(
    ["MamunHighT2019", "AraComputational2022"],
    adsorbate_integration={"HO": "OH", "O2H": "OOH"},
)
Option C: User VASP Data

Note: Fixed-atom constraints are taken from the data automatically — your VASP Selective-Dynamics (T/F) flags are read into FixAtoms on the CONTCAR and applied during relaxation.

Warning: vasp_preprocessing deletes every file except CONTCAR and OSZICAR to save disk space. Always run it on a copy of your original VASP output.

Organize the data as follows. gas, slab, and the <name>gas pattern are reserved; everything else is arbitrary:

your_dataset_name/
├── gas/
│   ├── H2gas/     { CONTCAR, OSZICAR }    # gas-reference folder, must end with "gas"
│   └── H2Ogas/    { CONTCAR, OSZICAR }
├── system_A/
│   ├── slab/      { CONTCAR, OSZICAR }    # reserved name (clean surface)
│   ├── H/
│   │   ├── site_0/  { CONTCAR, OSZICAR }  # any name for site variants
│   │   └── site_1/  { CONTCAR, OSZICAR }
│   └── OH/
│       └── ...
└── system_B/
    └── ...

Declare the reaction stoichiometry and preprocess:

from catbench.adsorption import vasp_preprocessing

coeff_setting = {
    "H":  {"slab": -1, "adslab": 1, "H2gas": -1/2},
    "OH": {"slab": -1, "adslab": 1, "H2gas": +1/2, "H2Ogas": -1},
}
vasp_preprocessing("your_dataset_name", coeff_setting)
# → raw_data/your_dataset_name_adsorption.json

The keys "slab" and "adslab" are required literals on every entry; all other keys are gas-phase references and must end with "gas". vasp_preprocessing validates these rules before deleting anything.

Calculation

AdsorptionCalculation takes a list of calculators. Running the same calculator multiple times provides reproducibility statistics that the analysis step uses for anomaly detection.

from catbench.adsorption import AdsorptionCalculation
from your_mlip import YourCalculator

calc = YourCalculator(...)

AdsorptionCalculation(
    [calc] * 3,                    # 3 reproducibility seeds
    mlip_name="YourMLIP",          # free-form label — folder name under result/, display name in plots
    benchmark="dataset_name",
    # save_files=False,            # skip trajectory + log files to save disk space
).run()

D3 dispersion correction (GPU required):

from catbench.dispersion import DispersionCorrection

d3 = DispersionCorrection()                     # Becke-Johnson damping + PBE by default
calc_d3 = d3.apply(YourCalculator(...))
AdsorptionCalculation([calc_d3] * 3, mlip_name="YourMLIP_D3", benchmark="dataset_name").run()

OC20 mode for MLIPs that predict adsorption energy directly:

AdsorptionCalculation(
    [oc20_calc] * 3, mode="oc20", mlip_name="OC20_MLIP", benchmark="dataset_name",
).run()

See the Configuration Reference for all options, and the tutorial notebook for an end-to-end runnable example.

Analysis
from catbench.adsorption import AdsorptionAnalysis

AdsorptionAnalysis().analysis()    # auto-detects every MLIP under ./result/

This produces:

  • Parity plots under ./plot/<mlip_name>/{mono,multi}/ — mono/total.png aggregates all reactions; multi/total.png colors by adsorbate.
  • Excel report ./{cwd_name}_Benchmarking_Analysis.xlsx with MAE, RMSE, anomaly breakdown, ADwT, AMDwT, and timings across every MLIP in ./result/.

Every data point is classified into Normal, Migration, Energy Anom., Unphys. Relax, or Reprod. Fail. Thresholds are configurable — see the Configuration Reference.

Threshold sensitivity:

AdsorptionAnalysis().threshold_sensitivity_analysis()   # displacement + bond-length by default

This generates stacked-area charts showing how anomaly-classification rates change with threshold values.

Gas-reference shift correction (v1.1.4+): every Excel report also carries a gas-shift-corrected view. For each adsorbate, the median signed error (MLIP − DFT) over the structure-valid reactions (normal + energy anomaly; structural failures excluded) is removed as a constant shift — a systematic gas-reference offset correction (the median, unlike the mean, is not dragged by a minority cluster of wild outliers) — and the energy-anomaly classification is re-evaluated on the shifted errors. Groups with fewer than gas_shift_min_n (default 5) structure-valid reactions are left uncorrected. Results land in the MLIP_Data_shifted / anomaly_shifted twin sheets and a per-adsorbate "Gas shift correction" block (applied shift, N_fit, shifted MAEs) on each MLIP sheet; the original sheets are unchanged. When plotting is enabled, gas-shifted parity plots are also drawn (multi/total_shifted.png, multi/normal_shifted.png). The leaderboard exposes the same correction as a "Gas shift" toggle.

Output Files
Parity plots
Excel report

The Excel workbook has three sheet types. Example numbers from the paper:

Main comparison sheet — one row per MLIP:

MLIP Normal (%) Anomaly (%) MAE_total (eV) MAE_normal (eV) ADwT (%) AMDwT (%) Time/step (ms)
MLIP_A 77.25 14.39 1.118 0.316 77.98 84.71 125.3
MLIP_B 74.22 16.84 0.667 0.512 69.66 80.80 89.7
MLIP_C 80.18 13.51 0.917 0.241 78.97 86.79 156.8
... ... ... ... ... ... ... ...

Anomaly breakdown — counts per anomaly category per MLIP:

MLIP Normal Migration Energy Anom. Unphys. Relax Reprod. Fail
MLIP_A 34,869 3,774 590 3,845 2,052
MLIP_B 33,503 4,035 834 5,221 1,537
... ... ... ... ... ...

Per-MLIP adsorbate sheets — one sheet per MLIP, one row per adsorbate:

Adsorbate Normal Anomaly MAE_total (eV) MAE_normal (eV) ADwT (%) AMDwT (%)
H 1,247 89 0.891 0.234 89.3 93.4
OH 1,156 124 1.045 0.298 82.7 87.1
... ... ... ... ... ... ...

Coverage (v1.1.5+) — one row per MLIP: reactions in the input, succeeded, failed (with the stage where they failed) and not run, so an MLIP whose MAE covers only part of the dataset is visible. It also shows how each result was produced, read from the calculators rather than from the MLIP name: the catbench version, the dispersion correction, the GPU and (v1.1.6+) the calculator with the model head or task it actually used (e.g. MACECalculator head=omat_pbe, FAIRChemCalculator task_name=oc20). Check this column for multi-head models: mace-torch falls back to a default head, with only a logging warning, when given a head name the model does not have. Since v1.1.7 a calculation with a multi-head/multi-task model (several MACE heads, a fairchem task_name or a SevenNet modal) refuses to resume a result written before v1.1.6, because the old head cannot be checked: move the old result/<mlip_name> folder away and start fresh, or pass allow_unstamped_resume=True if you know the old run used the same head.

Threshold sensitivity charts

Relative Energy Benchmarking

Same data → calculation → analysis shape as Adsorption, but with a single calculator (no reproducibility seeds) and a task_type dispatch.

Surface Energy

Warning: Preprocessing deletes all files except CONTCAR and OSZICAR. Always work on a copy.

Layout — per material, one bulk/ and one slab/:

your_surface_data/
├── Material_1/
│   ├── bulk/  { CONTCAR, OSZICAR }
│   └── slab/  { CONTCAR, OSZICAR }
├── Material_2/
│   └── ...
from catbench.relative.surface_energy.data import surface_energy_vasp_preprocessing
from catbench.relative import SurfaceEnergyCalculation, RelativeEnergyAnalysis

surface_energy_vasp_preprocessing("your_surface_data")
SurfaceEnergyCalculation(calculator=calc, benchmark="your_surface_data", mlip_name="MyMLIP").run()
RelativeEnergyAnalysis(task_type="surface").analysis()

The Excel report provides MAE, RMSE, and max error (J/m2) across all surfaces per MLIP.

Bulk Formation Energy

Warning: Preprocessing deletes all files except CONTCAR and OSZICAR.

Layout — bulk_compounds/ and elements/ side-by-side:

your_formation_data/
├── bulk_compounds/
│   ├── Compound_1/  { CONTCAR, OSZICAR }
│   └── Compound_2/  { CONTCAR, OSZICAR }
└── elements/
    ├── Element_A/   { CONTCAR, OSZICAR }
    ├── Element_B/   { CONTCAR, OSZICAR }
    └── Element_C/   { CONTCAR, OSZICAR }

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 catbench

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

CVE

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229