sonatype-nexus-community / nancy

A tool to check for vulnerabilities in your Golang dependencies, powered by Sonatype OSS Index
Apache License 2.0
549 stars 76 forks source link

Handle subprojects that also have go.mod files #222

Open zendern opened 3 years ago

zendern commented 3 years ago

We have fixed the panic issue which is good but what would be even better .... also scanning the deps found in those subproject/modules.

Problem with this is its not recursive. So any submodules that have been referenced using replace will just be listed as hey its over there dummy.

Which is cool and nice that you can do that but now that subproject/modules also has deps that we have not scanned and require the user to setup security scanning on manually.

What would be the bomb diggity is if it could just do it automatically.

See #159 where we have thoughts around making the feeding of nancy no longer a thing. In theory if we did that. We could also then execute the same process for all subproject/modules that we find above.

That just my first thought.... #159 is probably closely related to this but maybe there is another magic way to do it.

cc @bhamail / @DarthHater

DarthHater commented 3 years ago

So I actually did a lot of this on sage. I'll share some of the code with you!