Implement Countermeasures to "dependency confusion" in repositories

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

This mitigates "dependency confusion" issues in GitLab hosted private repositories.

Problem to solve

Recent publications revealed the problem of "dependency confusion". See for example:

Sonatype published a script to scan for this in repositories to find name clashes:

Similar countermeasures should be considered by GitLab.

Intended users

I think these would be concerned:

User experience goal

  • I would get notified if an default, public package would collide with my private packages

Proposal

Further details

Permissions and Security

Documentation

Availability & Testing

Available Tier

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references

Edited by 🤖 GitLab Bot 🤖