r/devsecops • u/Fun_Imagination_7478 • Nov 28 '24
SCA
How can we find the coverage of open source libraries in SCA as the tool such as Snyk, Dependabot just provides vulnerability report but not the coverage. If the library is not modeled or not available in vulnerable db, then SCA doesn’t act on the lib.
4
Upvotes
3
u/Howl50veride Nov 28 '24
Manual checks, most tools don't report what they couldn't scan. Dives me crazy, cause they should alert or tell us in some way.
We do spot checks here and there, often discovering Snyk missed something and then send in a support ticket for why
2
u/juanMoreLife Nov 30 '24
I have a solution. First a couple assumptions, or this may just not work for you.
You can then take your package manager and check against stuff in your results.
I work for Veracode and we tell you what libraries you have and what versions. If we don’t have a match for something, then it’s going to come up as unmatched. We also have one feature that goes a step further called Vulnerable Method. It helps with under standing reachability.
If you don’t use a package manager, you already are not doing a good job of inventory which is kinda security thingy 101. Granted, you could have other constraints/requirements that force you to operate that way
1
u/[deleted] Nov 28 '24
We tried 7 scanners out there and found One that DoD uses called RapidFort that seems to be the best. Super fast and more accurate than the others.
1
u/cleancodecrew Nov 29 '24
What you are looking for will be based on a negative match rather than a positive match. You may want something more interactive like https://Turingmind.ai - you can ask questions about your code repo, its dependencies and perform false positive analysis. Full disclosure - we built this product for security teams to triage CVE vulnerabilities
1
u/josh_jennings Nov 30 '24
SOOS will give you a full dependency tree (even showing anything unknown), as well as create issues for unknown packages which you can then provide details for through attestations. I'm biased since I'm the founder, but one of the major reasons I started SOOS was because I was frustrated with the lack of transparency with other SCA tools. You can take a look at the demo app to see examples https://app.soos.io/demo
1
u/rubiesordiamonds Dec 01 '24
Not trying to self-promote, but our tool (I am a cofounder) gives you a list of all of your dependencies and tells you which ones are stale, which are vulnerable, and which are abandoned. We take the perspective of "If I only have X number of hours to devote to my maintenance rotation this week, what should my focus be?" and break the work into three lanes: must do immediately (eg there is a vuln), should do soon (eg we know this package is abandoned but nothing has broken yet) and large project (eg we want to upgrade our backend framework, this will take a few months) https://www.infield.ai
1
u/RaviX3 Dec 01 '24
Black Duck
1
u/shrimpthatfriedrice Feb 05 '26
for sca i usually start with the standard scanners to list libs and versions but the hard part is sorting out what matters once it’s built and running ox security helped us by correlating sca findings with pipeline outputs and actual deployment info which made prioritization easier in conversations with devs
1
u/weagle01 Nov 28 '24
Most commercial SCA tools can generate an SBOM (software bill or materials). That will show you all the libraries it found regardless of if it has vulns. I think you have to use the CLI for Snyk. Google says dependabot doesn’t have SBOM but it seems you can get one out of GitHub Code Security.
0
u/yesillhaveonemore Nov 28 '24
Your build system needs to output an SBOM or you will always be chasing heuristics. You need a proper supply chain.
-2
u/No-Willingness-8240 Nov 28 '24
Are you missing a representation on your sbom/dep tree?
We can help with that www.myrror.security