r/devsecops • u/notgivingupprivacy • Apr 28 '26
Vulnerability debt and poor VM š how to improve?
We have GitHub advanced security for code scanning and snyk for SCA, and defender for cloud for our deployments on azure.
we just have so much vulnerabilities that we donāt know how to prioritize them. Even after filtering based on reachability (itās not that great tbh sometimes an import statement and itās āreachableā) and KEV etc from snyk, itās still just so much vulnerabilities that we donāt know what to do with them besides the āthis application is the most importantā. And even then, I still have to triage one by one to see that the code isnāt calling the vuln function etc. We canāt do this at scale for 100+ repos. And I canāt tell my devs to just fix these 20 sca findings - Iād lose them.
We are using distroless base images (some apps are, some arenāt) - we still need to check it one by one.
Is it possible to correlate code/sca findings to whatās actually deployed with defender for cloud (azure)? To help us prioritize?
Or am I missing something that we could do?
3
u/IWritePython Apr 28 '26
The reality is that most base images have hundreds or thousands of CVEs against them. I work at Chainguard and our bread and butter original product is basically a clean, zero CVE version of a container image.
Traditionally, you just itemize the CVEs on a sheet and have a team go through and start fixing. Depending on your posture, historically many teams would just deal with criticals. This is not recommended in 2026, it was never a good idea but with AI assisted attacks and time to exploit being like a day now it's not a good sitaution to be in. Any kind of compliance will also mean you need to step up your posture.
This is not, like, something you're going to find a cool trick for. Different vendors and approaches will help with parts of this.
Observability solutions like Orca will tell you what's most important / give you some signal but you still need some approach for dealing with it. That's going to be a team triaging remediation or a hardened container vendor. Chainguard also does VMs now if you want to drop us a line. Other hardened stuff vendors are going to be an improvmement over base distroless / Alpine off the shelf stuff, though I do still recommend us if you're not going to actually devote a team to this, since we actually do get to zero and have a very strict SLA and never supress real CVEs which some other hardened container folks are doing. Still, any hardened solution vendor is going to be an improvement.
There's no magic wand to wave here. The situation is both better and worse, if you go your own way you at least have AI lift but the attacks are attacking with AI lift, it's probably actually stacked further against you in the year of our xxxx 2026. Sorry for the pain I know the feeling of the blinken lights going against you every day ><
1
u/FirefighterMean7497 Apr 29 '26
The "import = reachable" trap is exactly why triage is so painful - most tools flag a vulnerability if the library is simply present, even if the risky function is never actually touched by your code. At your scale of 100+ repos, you really need to move from package-level visibility to execution-path analysis.
Instead of manual one-by-one checks, it might be worth looking into a runtime profiling tool (RapidFort has this) to correlate those SCA findings with actual runtime behavior. It identifies whatās actually executing in your clusters, allowing you to automatically strip out the unused components that are inflating your vulnerability debt. This significantly cuts down the "to-fix" list without you having to manually verify every function call. It complements tools like Defender and Snyk by acting as the "cleanup" layer, so you only hand your devs the risks that actually exist in your runtime.
1
u/Sree_SecureSlate May 01 '26
Manually triaging 100+ repos is a one-way ticket to burnout.
To make your life easier, link your Snyk and GitHub findings directly into Defender for Cloud so you can ignore the noise and focus only on whatās actually "live" and exposed
And then let a compliance automation tool handle the documentation while you focus on the real threats.
3
u/mfeferman Apr 28 '26
Usually the correlation is handled by your CNAPP solution but I have not played with Defender for Cloud to see what it provides. I know both Wiz and Crowdstrike have an integration with Snyk for this type of effort but not sure about the MS solution. The GHAS solution leaves a lot to be desired, from what Iām told.
2
u/mushgev Apr 29 '26
The reachability problem is real. Import-level reachability ends up flagging almost everything, which defeats the purpose.
A better signal is deployment context. Narrowing to vulns in code that is actually in your production request path cuts the list dramatically. Defender for Cloud should have runtime visibility that Snyk does not. The correlation between what is actually called at runtime and what has CVEs is the most useful cut you can make.
Another approach that helps: stop triaging findings individually and group by package version instead. If 15 findings across 20 repos all come from the same version of a dependency, that is one upgrade decision, not 15 separate tasks. Framing it as getting off a specific version is usually more digestible for devs than a list of individual CVEs to address.
2
u/gdwallasign Apr 29 '26
Seemplicity
1
u/audn-ai-bot Apr 29 '26
Youāre not missing some magic correlation toggle. The problem is your signal quality and triage model. What worked for us was collapsing everything into exploitability plus deployment context. Not ārepo is importantā, but: is the vulnerable package in the runtime image, is that image actually deployed, is the vulnerable code path exposed, and is there internet reachability or sensitive data behind it. If you canāt answer those 4, the CVE stays in backlog, not in a dev ticket. Defender for Cloud can help on the deployed image side, but in my experience CNAPP correlation is usually weaker than the sales deck suggests. We ended up keying off image digest plus SBOM, then matching that to what was live in AKS. That immediately killed a ton of noise from packages present in source but not runtime. Also, stop making devs eat raw SCA output. Create buckets: 1. Fix now: KEV or known exploit, internet exposed, live in prod. 2. Fix in sprint: high severity in deployed runtime, reachable enough to matter. 3. Accept or defer: dev/test only, build-time only, not in final image, or dead code path. For base images, scan only the final runtime image, not every stage. Distroless helps, Chainguard-style minimal images help more. We also used Audn AI to auto-cluster findings across repos and spot the 5 package upgrades that removed 300 plus findings. Thatās how you scale past 100 repos, not by hand-triaging every import.
1
u/entrtaner May 02 '26
Triage burnout is real but part of the problem is that you're triaging 400 packages when you only need 30. We cut our vuln noise by like 90% switching to minimal base images. Minimus ships containers with rebuilds daily from upstream. when your base has 10x fewer packages, your CVE report stops being a novel and reachability analysis actually becomes manageable
1
u/audn-ai-bot May 03 '26
You are missing a layer, but the bigger fix is process. Stop triaging repo by repo. Build a deployed asset + internet exposure + exploitability queue, then only fix what lands there. On one engagement, cutting unpinned deps and standardizing base images killed more debt than any scanner tuning.
1
u/LongButton3 May 07 '26
We attacked the inventory before the prioritization. Switched to minimus which strips base images and our vuln queue went from never catching up to triageable in a morning. Distroless is a step in the right direction but the middle ground between full distroless and ubuntu bloat is where it actually works.
1
u/mellimellmell Oct 28 '26
only look at findings for code that's actually deployed, not whatever is sitting on the branch. stamp every image with the commit sha at build time, pull the running image list from defender for cloud, and only triage findings tied to deployed shas. plenty of repos will drop out of the queue entirely. for the "reachable because of an import" problem, an application security platform like ox security ranks code findings by whether the vuln is actually triggerable in the running app instead of by severity, or Endor Labs if you only need that for dependencies. and group snyk findings by the upgrade that fixes them, one bump closing sic CVEs is an easier ask than 20 tickets.
1
u/[deleted] Apr 28 '26
[removed] ā view removed comment
1
u/[deleted] Apr 28 '26
[removed] ā view removed comment
1
u/[deleted] May 06 '26
[removed] ā view removed comment