-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
In pip there is a known possibility for dependency confusion attack. There were discussions in pip about solving this problem by removing potentially dangerous flag --extra-index-url or returning an error on install.
AFAIK there wasn't any real fix or alternation of this vulnerability. Your tool might be an ideal for solving this problem.
Proposed feature:
-
In case when two different registry urls are provided as arguments by using
--extra-index-urlthe tool could raise an warning about dangerous configuration. -
On top of that, in case when it installs the version from alternative registry with bigger package version (red flag for possible attack) it might warn the developer for possible dependency confusion attack.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels