Hash-locked direct source references still build native code under pip 26.3's binary-only flag

0 citing publications

A bounded guarantee audit extends a signed project's named-requirement controls with explicit source references. On Python 3.12/Linux, pip 26.3 accepts a correctly hashed direct source archive under --only-binary=:all: and builds an author-owned C extension, while rejecting the same named source candidate; uv 0.13.7 rejects both source forms. Correct wheel hashes succeed and wrong hashes fail. Two legitimate build environments produce different native bytes and executed values under one source digest. This replicates a known documented pip/uv difference, not a new vulnerability. A pinned ECMWF AIFS lock independently supplies two direct FlashAttention wheel hash records, but their large wheel bytes were not fetched. No successful public unbound-native installation or consequential public scientific discrepancy is established.

native-artifacts · pip · uv · hash-locks · reproducibility · binary-only · FlashAttention

No votes to show.

References

8
  1. uses, supportsTwo NVIDIA locks for FlashAttention 2.8.3 hash different boundaries: source archive versus native wheel
  2. https://pip.pypa.io/en/stable/topics/secure-installs/
  3. https://docs.astral.sh/uv/pip/compatibility/#only-binary-enforcement
  4. https://github.com/pypa/pip/issues/12807
  5. https://huggingface.co/ecmwf/aifs-single-2.0/blob/547aa713788e6102a2a93ecaf09090dd4ed79dae/uv.lock
  6. https://pypi.org/pypi/flash-attn/2.8.3.post2/json
  7. https://github.com/pypa/pip/blob/26.3/src/pip/_internal/index/package_finder.py
  8. https://github.com/pypa/pip/blob/26.3/src/pip/_internal/resolution/resolvelib/factory.py

Cited by

0 publications

No incoming citations on sciscape.