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

release-drift

Latest version: v0.7.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: jacob-adm
1 Stars
0 Forks
9 Versions
801 Downloads
Python Repo language

Scan summary

release-drift was last scanned on 27 Nov 2026 at version 0.7.0. Risk score 5 of 100 (low). No malicious behavior was detected.

  • Releases: 9 versions; the latest 5 were published within 5 days (23–27 Nov 2026).
  • Findings: 1 rule fired in version 0.7.0 (1 medium). The score describes this version only.
  • Downloads: 801 downloads.

Versions

9 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.7.0 LATEST 27 Nov 2026 1 rule fired
0.6.0 26 Nov 2026 1 rule fired
0.5.0 26 Nov 2026 1 rule fired
0.4.0 23 Nov 2026 Not shown
0.3.0 23 Nov 2026 Not shown

Rules fired in 0.7.0: 1

Findings

1 Medium

Findings for v0.7.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.

Code decoded and executed

The code decodes or decrypts a string and executes code built from it, for example eval(atob(...)) or exec(base64.b64decode(...)). This is a common way to hide code from review. On its own it is not evidence of malicious behavior.

MEDIUM
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

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

README

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

release-drift

release-drift compares two releases of a package, and a release with the git tag it was built from, before you install it. It reports which files changed, which new code runs at install or interpreter start-up, which dependencies the release adds, and which files of the release are not in the project's tagged source.

Recent supply-chain attacks used these places: a .pth file in a PyPI wheel, which Python runs at every start (LiteLLM 1.82.8); npm releases published with a stolen maintainer account or token (axios, Cline); and npm preinstall scripts (tensorlake). A new .pth file, install script or dependency is a record in release-drift's output, and so is a file in a release that is not in the project's tag.

release-drift only reports. It does not decide whether a package is malicious, and it does not block or quarantine anything; what to do with a record is up to you, for example a required check in CI. There is no AI and no scoring: the same inputs always give byte-identical output.

Requirements

  • Python 3.9 or later, standard library only.
  • git, for release-drift source.
  • No platform-specific code; the tests run on Linux, macOS and Windows in CI.
  • Network access only for fetch, provenance and lockfile.

Install

From PyPI:

pip install release-drift

From a clone:

git clone https://github.com/jacob-adm/release-drift
cd release-drift
pip install .

pip installs release-drift as a console script. Without installing, it runs from a clone as python3 -m release_drift.

How it works

  1. Get the artifacts. Download the wheel, sdist or npm tarball of each version, or let release-drift fetch download them from PyPI or npm and check them against the registry's digests.
  2. Read them without unpacking. Each artifact is read into memory. Absolute paths, .., links leading outside the archive, device files and oversized members are refused; nothing from the artifact is written to disk and nothing is run.
  3. Find the execution surfaces. .pth files, sitecustomize.py, setup.py and build backends, npm preinstall, install, postinstall and prepare scripts, .pyc files without source, native binaries (ELF, Mach-O, PE, WebAssembly) and links; also URL hosts and long base64 or hex strings.
  4. Compare. diff lists the files added, removed or changed between two releases, and the surfaces, hosts and strings that are new. source lists the files of a release that are not, as they are, in git at a tag, apart from a documented list of files packaging tools generate.
  5. Check how it was published. provenance compares the registry's record of two versions: a release without the provenance attestation the previous one had, one built by another workflow, or an npm release without provenance from another account.
  6. Act on the result. release-drift exits 1 when it finds something, 0 when it finds nothing and 2 on an error, like grep. A finding is a new or changed execution surface, a new URL host or encoded string, or, for source, a file not in the tag. Files that merely changed between two releases are listed but are not findings.

Commands

release-drift diff OLD NEW [--json] [--informational LIST]    compare two artifacts
release-drift source ARTIFACT --repo DIR --ref REF             files not in git at REF
      [--prefix PATH] [--json]
release-drift lockfile OLD NEW [--json] [--informational LIST] compare every package a
      [--type {sdist,wheel}] [--cache DIR] [--no-provenance]   lockfile change upgrades
release-drift provenance {pypi,npm} NAME OLD NEW               how each version was
      [--json] [--informational LIST]                          published: provenance, npm account
release-drift fetch {pypi,npm} NAME VERSION DIR                download one version; no install
      [--type {sdist,wheel,all}]

Output is one TAB-separated record per line: CATEGORY, STATUS, PATH, DETAIL, sorted; lockfile adds NAME, OLD and NEW in front. --json prints a JSON array instead, and --audit-json one object in the audit result format shared with other audit tools, with a rule, severity, message and evidence for each record (see Commands). fetch downloads only the sdist from PyPI unless --type says otherwise.

Quick start

Compare two releases of six:

mkdir old new
release-drift fetch pypi six 1.16.0 old
release-drift fetch pypi six 1.17.0 new
release-drift diff old/six-1.16.0.tar.gz new/six-1.17.0.tar.gz
echo $?
build   changed setup.py    setup.py
file    changed CHANGES -
file    changed LICENSE -
file    changed PKG-INFO    -
file    changed README.rst  -
file    changed documentation/conf.py   -
file    changed documentation/index.rst -
file    changed setup.cfg   -
file    changed setup.py    -
file    changed six.egg-info/PKG-INFO   -
file    changed six.py  -
file    changed test_six.py -
1

fetch downloads the sdist and prints the path it saves. In the diff, no file was added and no new start-up hook, install script, binary or URL host appeared. The exit status is 1 because setup.py, which runs when the sdist is built, changed: build changed setup.py is a finding. The file changed records are listed but are not findings; the two wheels of the same versions, in which no build script runs, give exit 0. Then check the release against its tag:

git clone https://github.com/benjaminp/six
release-drift source new/six-1.17.0.tar.gz --repo six --ref 1.17.0
echo $?
0

Every file of the sdist is in the tag 1.17.0, apart from the files setuptools generates.

Documentation

License

Apache License 2.0; see LICENSE.

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 release-drift

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

Vulnerability Insights

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

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?

Frame 2085668439 (1)
Group 1261154229