You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tl;dr: An invalid cupy-cuda112 package (versioned v2.2.2) was online from 2021-02-25 18:17 to 2021-02-26 11:09 (UTC). The package currently hosted on PyPI (versioned v8.5.0 and v9.0.0b3) and GitHub Releases (#4704) are built by the CuPy team and are all safe.
Summary:
A package named cupy-cuda112, which we were planning to release on 2021-02-26, has been taken by a third party on the day before the release.
Impact:
Users who ran pip install cupy-cuda112 received an unexpected package.
Release of the cupy-cuda112 package delayed.
Root Causes:
PyPI does not provide a feature to create a namespace or reserve future package names.
Resolution:
Moved the ownership of the cupy-cuda112 package to the CuPy project and removed the invalid release assets, following PEP 541 process.
Action Items:
Until PyPI implements a package namespace feature, we will do the following to mitigate the situation.
Secure a package name on PyPI when the corresponding CUDA version has been released, instead of when making a new CuPy release for that CUDA version.
Monitor PyPI for packages containing cupy in its name, and request a takedown when needed (e.g., the package has malicious content).
Timeline (in UTC)
2021-02-25 18:17: Package cupy-cuda112 created by an attacker, and an invalid package asset (versioned v2.2.2) has been uploaded.
2021-02-26 05:06: The CuPy team tried to register a new package cupy-cuda112 for v8.5.0 / v9.0.0b3 release, and discovered that it was already taken by a third party.
tl;dr: An invalid
cupy-cuda112
package (versionedv2.2.2
) was online from 2021-02-25 18:17 to 2021-02-26 11:09 (UTC). The package currently hosted on PyPI (versionedv8.5.0
andv9.0.0b3
) and GitHub Releases (#4704) are built by the CuPy team and are all safe.Date:
2021-03-02
Author:
The CuPy Team (@kmaehashi)
Status:
Complete (action items ongoing)
Summary:
A package named
cupy-cuda112
, which we were planning to release on 2021-02-26, has been taken by a third party on the day before the release.Impact:
pip install cupy-cuda112
received an unexpected package.cupy-cuda112
package delayed.Root Causes:
PyPI does not provide a feature to create a namespace or reserve future package names.
Resolution:
Moved the ownership of the
cupy-cuda112
package to the CuPy project and removed the invalid release assets, following PEP 541 process.Action Items:
Until PyPI implements a package namespace feature, we will do the following to mitigate the situation.
cupy
in its name, and request a takedown when needed (e.g., the package has malicious content).Timeline (in UTC)
cupy-cuda112
created by an attacker, and an invalid package asset (versionedv2.2.2
) has been uploaded.cupy-cuda112
for v8.5.0 / v9.0.0b3 release, and discovered that it was already taken by a third party.cupy-cuda112
packages (CuPy built for CUDA 11.2).The text was updated successfully, but these errors were encountered: