-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transitive Dependencies #91
Comments
Hi! Can you please elaborate? Do you mean a boolean flag of some source in our JSON output indicating if a vulnerability is in a direct dependency or not? |
@theinfosecguy +1 |
@oliverchang Not just a boolean flag but a vulnerable function and dependency tree as well. Is there a way to achieve this? |
That certainly sounds doable. Sounds like what we'd like here is some output that indicates the vulnerable dependency chain that led to a finding (including function level info if we have that)? |
Thanks, @oliverchang!! Having a check for direct dependency would be an amazing feature. |
@oliverchang I'd be very happy to see the chain of packages that led to a finding! |
With the deps.dev API becoming open and available, this could be potentially a lot easier for us to implement now! |
To track the concrete FR: this is around adding some ability to visualise the dependency chain(s) that leads to a vulnerable package. This could be either output as a JSON, and/or visualised as a graph image. @theinfosecguy @agmond @HarelMil can you talk about a bit more about how you plan to use the dependency trees this would potentially generate? This would help us a bit more in prioritising/shaping how this actually looks. (#352 may also be interesting for folks in this thread to follow). |
Thanks @oliverchang. As for my use case (and it connects to the remediation efforts as well): Another relevant issue I opened is #150 |
@oliverchang Sure. TL;DR - Direct/indirect and dependency depth are great indicators for prioritizing vulnerable package remediation processes at scale. Dependency depth will be an excellent indication for understanding the possibility of patching the vulnerable package, which will affect the priority of addressing the specific vulnerable package. Applying a fix (if available) is easy and straightforward when it is a direct package, but for indirect packages, it is a different story. If the depth is relatively "shallow" the probability of applying a fix by contacting the chain of package maintainers is doable. When you have a significant amount of vulnerable packages, it may be a great help. |
Hi, |
Thank you, @oliverchang. |
Sorry for the slow response. The dependency chain feature is closedly tied to the full remediation feature, which we're actively working on. We're working through the necessary steps to release such a feature, because it involves a bit of coordination with the deps.dev team. |
For folks following here, check out #352 (comment) which this feature is closely related to. Transitive dependency depth is one of the capabilities that will be added as part of the guided remediation feature we're aiming to launch Q1 next year. Sorry for the delays! |
This issue has not had any activity for 60 days and will be automatically closed in two weeks |
Is there a way we can find if a dependency is transitive or not?
The text was updated successfully, but these errors were encountered: