Java import reachability
Open
backlog
enhancement
- Dominant language
- Go
- Stars
- 11k
- Forks
- 792
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 48
Description
With transitive pom.xml resolution landing soon in https://github.com/google/osv-scanner/pull/1028, we'll likely start to get a lot more vulnerability matches for Java projects.
IIUC, Java dependency resolution does not take into account import reachability (unlike Go). This means there's an opportunity to do some kind of import reachability analysis to prune (VEX) out vulnerability matches that likely do not affect the project.
One tool that may be useful for this is jdeps: https://docs.oracle.com/en/java/javase/11/tools/jdeps.html
Contributor guide
Assessment
This issue has not been assessed yet.