uv.lock root package name triggers false-positive Dependabot alerts #203232
Unanswered
dikesh
asked this question in
Code Security
Replies: 1 comment
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Dependabot
Discussion Details
Bug Description
Dependabot / Dependency Graph incorrectly assigns vulnerability alerts to a repository when its root package name declared in
uv.lockmatches a public PyPI package name, even when zero vulnerable dependencies are installed.Reproduction Repository
https://github.com/dikesh/dependabot-bug-test
Steps to Reproduce
uv.lock(or fork the reproduction repo above).name = "<public-package-name>"(e.g.,meta-ads-mcp) insideuv.lock.Observed Behavior
Dependabot treats the root package declaration in
uv.lockas an unversioned vulnerable dependency. As a result, it triggers false-positive alerts matching public PyPI advisories (such as https://github.com/pipeboard-co/meta-ads-mcp/security).Expected Behavior
Dependency Graph should recognize the root
[[package]]entry inuv.lockas the local project itself and verify version resolution before triggering security alerts.Workaround
Changing the local project/package name in
uv.lockclears the false-positive alerts immediately.All reactions