This review is from cargo-vet. To add your review, set up cargo-vet and submit your URL to its registry.

The current version of NumPy is 0.24.0.

0.21.0 — diff review from 0.20.0 only (older version) ub-risk-4

From google/supply-chain copy of google/rust-crate-audits. By devinj.

Reviewed in CL 683848897 Issues found:

  • to_owned_array needs to be unsafe as it can introduce aliasing UB
  • Review incomplete: pervasive undocumented unsafety

cargo-vet does not verify reviewers' identity. You have to fully trust the source the audits are from.

ub-risk-4

Extreme unsoundness.

Full description of the audit criteria can be found at https://github.com/google/rust-crate-audits/blob/main/auditing_standards.md#ub-risk-4


Crates in the crates.io registry are tarball snapshots uploaded by crates' publishers. The registry is not using crates' git repositories. There is absolutely no guarantee that the repository URL declared by the crate belongs to the crate, or that the code in the repository is the code inside the published tarball.

To review the actual code of the crate, it's best to use cargo crev open numpy. Alternatively, you can download the tarball of numpy v0.24.0 or view the source online.