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
Currently, Gitea suggests using the command pip install --extra-index-url <gitea-url> <packagename>. The --extra-index-url is susceptible to dependency confusion attacks, see: pypa/pip#8606
This suggested command also does not match the documented command which uses the --index-url <gitea-url> --no-deps flags.
This should be mentioned in the web-ui to make users aware of the potential security risks from using this for private packages.
Screenshots
Gitea Version
1.18.3
Can you reproduce the bug on the Gitea demo site?
No
Operating System
No response
Browser Version
Firefox 109.0
The text was updated successfully, but these errors were encountered:
Description
Currently, Gitea suggests using the command
pip install --extra-index-url <gitea-url> <packagename>
. The--extra-index-url
is susceptible to dependency confusion attacks, see: pypa/pip#8606This suggested command also does not match the documented command which uses the
--index-url <gitea-url> --no-deps
flags.This should be mentioned in the web-ui to make users aware of the potential security risks from using this for private packages.
Screenshots
Gitea Version
1.18.3
Can you reproduce the bug on the Gitea demo site?
No
Operating System
No response
Browser Version
Firefox 109.0
The text was updated successfully, but these errors were encountered: