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

xpeek

Latest version: v0.1.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: samehaisaa
0 Stars
0 Forks
1 Versions
Rust Repo language

Scan summary

xpeek was last scanned on 29 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 29 Nov 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 29 Nov 2026 No rules fired

No rules fired in 0.1.0

Findings

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

README

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

xpeek

Inspect, check, slice and diff ML weights and datasets in milliseconds without Python. Written in Rust.

ci crates.io license: MIT

Install

uvx xpeek model.safetensors
pip install xpeek
brew install samehaisaa/tap/xpeek
cargo binstall xpeek
cargo install xpeek

Prebuilt binaries for Linux, macOS and Windows are attached to GitHub Releases.

Speed and memory

One command per file from cold process start on Linux WSL2 (Intel i5-10300H). Python runs include interpreter import and torch.load and onnx.load also load tensors into RAM, so an already running Python session has a different cost. Full fixtures and commands are in benchmarks/README.md.

Supported formats

Format Extensions What xpeek reads
PyTorch .pt, .pth, .ckpt, .pkl Non-executing pickle v0 to v5 VM, opcode audit including nested _load_from_bytes, stats, slice and diff
SafeTensors .safetensors, .safetensors.index.json Zero-copy mmap header, shard map, FP8 (E4M3FN, E5M2), BF16, F16, F32, F64 and integer stats
ONNX .onnx Streaming Protobuf wire reader skipping weight payloads, op histogram, graph signatures, external sidecars
Parquet .parquet, .pq Thrift footer metadata, Zstd, Snappy, Gzip and LZ4 projected stats, fixed-size float embedding zero-norm checks
Arrow IPC .arrow, .ipc, .feather, .arrows Arrow IPC File and Stream formats including Hugging Face datasets shards
NumPy .npy, .npz v1 to v3 array headers and streaming .npz member peek without full decompression
GGUF .gguf v1 to v3 header metadata, quantization types and tensor byte totals
Text tables .csv, .tsv, .jsonl, .ndjson Streaming type inference, bounded row preview, nulls, NaN/Inf checks and sparklines

Git LFS pointers are detected automatically and resolved from .git/lfs/objects/ when present locally.

Usage

Inspect checkpoints and scan untrusted pickles
xpeek checkpoint.pt --group
xpeek model.onnx
xpeek ./checkpoints/
xpeek check ./checkpoints/ -r
git show HEAD:weights.npy | xpeek -

xpeek check exits 0 when clean, 1 on corrupted storage or dangerous pickle opcodes and 2 on warnings such as NaNs, Infs, zero-norm embeddings or non-allowlisted globals.

Profile datasets and preview slices
xpeek stats train.parquet
xpeek slice train.parquet id,loss,label --head 5
xpeek slice examples/before.safetensors head.weight --head 4
Diff checkpoints across formats and inside Git
xpeek diff examples/before.safetensors examples/after.safetensors --atol 0.01
xpeek diff checkpoint.pt checkpoint.safetensors --atol 1e-4
xpeek git-init

After xpeek git-init, git diff prints tensor and schema deltas instead of Binary files differ on tracked checkpoints and Git LFS blobs:

--- a/checkpoint.safetensors
+++ b/checkpoint.safetensors
@@ -1,6 +1,6 @@
 format: safetensors
-size_bytes: 700
+size_bytes: 701
 tensors: 2
-params: 136
+params: 264
 tensor head.bias shape=[8] dtype=f32 bytes=32
-tensor head.weight shape=[8, 16] dtype=f32 bytes=512
+tensor head.weight shape=[8, 32] dtype=bf16 bytes=512
Coding agents and MCP

--agent prints compact key-value summaries sized for tool output, and --json prints structured JSON for scripts.

xpeek checkpoint.pt --group --agent
xpeek help --json
xpeek init --claude
xpeek mcp

xpeek init supports --claude, --codex, --cursor, --gemini, --antigravity and --all (with --dry-run and --uninstall). For Claude Code it installs a PreToolUse hook that exits 2 only on supported binary ML extensions and redirects Read to xpeek, without touching text files or auto-allowing commands. xpeek mcp runs a local read-only stdio MCP server exposing inspect, stats, slice, diff and check.

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

  • pypi-releases xpeek

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229