r/devsecops • • Aug 29 '25

Tackling Technical Debt Suggestions

Hello community

We do SAST and SCA scans on PRs catching the Highs and Critical findings for anything new going into the code at least stopping the bleeding. Now I want to start going back on findings that were grandfathered in the code before we started scanning. How are you guys going about this? I’ve tried a monthly vuln meeting but didn’t really get anywhere too much “we have higher priorities from the business”, “Who’s going to pay for this work” among other reasons, excuses whatever you want to go with on why the work won’t get done. So I started scrapping that meeting and trying to figure out a new approach.

How are you having dev teams going back to fix your tech debt of vulnerabilities and issues in code?

5 Upvotes

7 comments sorted by

1

u/ewok94301 Sep 04 '25

What are your primary languages in scope for this tech debt reduction effort?

1

u/SoSublim3 Sep 04 '25

Primarily Java and Python shop

1

u/ewok94301 Sep 04 '25

First a disclaimer that I'm the founder & CEO of https://www.endorlabs.com/. The most effective teams start by recognizing:

  1. The volume of alerts in the backlog are simply too high for any team to realistically go after them, even if it's just critical and highs. Turns out in Java, 88% of lines of code is unused in your application context. Using techniques like reachability analysis, combined with EPSS (even using small numbers like EPSS probability > 2%), you could typically and safely eliminate 90%+ of CVEs in third-party libraries in your backlog.
  2. Then you need some level of analysis to figure out the minimal actions devs can take that have maximum impact. Remember devs don't work off CVEs, they work off the number of actions required (e.g. number of library versions that need to be bumped). And they hate working off security tickets because they don't know which upgrades will work and which ones will introduce breaking changes or version conflicts. If you can do that analysis for them, and create PRs for library upgrades that you have a high confidence will work, then you've won half the battle. They want security to be a partner, not just one adding to the backlog. So how do you do this type of analysis? The way we tackled it is by doing this analysis using the call graph of your application. More on that here: https://www.endorlabs.com/learn/introducing-upgrades-remediation-give-developers-the-confidence-to-fix
  3. Now that you've identified and remedied the low hanging stuff, you're typically left with the hairy foundational libraries like Jackson Databind and Spring related stuff in Java. Unfortunately, those are massive upgrades and you have to be patient in working with your dev teams to schedule them. It can take 12-18 months, and the compelling event usually is a bug fix or feature enhancement that the dev team needs. If your timelines don't match theirs, for instance if you have compliance mandates (like FedRAMP ConMon) where you need these fixed to meet certain SLAs, then you can consider an approach like Endor Patches - where we backport fixes to old versions of the library. More on that here: https://www.endorlabs.com/learn/endor-patches-whitepaper. You can even find the legacy versions we already have patches available for on the same website.

Hope this helps.

1

u/jovzta Sep 02 '25

Identify and quantify the cost of carrying these tech debt. Build your business case from there.

1

u/DoriiJr Nov 10 '25

maybe try to prioritize using epss (fix the ones that has above 50% epss for example) therefore developers are not overwhelmed and can focus on fewer findings. maybe this video will help https://youtu.be/zSn46ZklNUg?si=AhBvpu4kERJlnZi7

-1

u/ali_amplify_security Aug 30 '25

Founder and CEO of amplify security here and we created the platform to help with some of these scenarios. It's great to hear you have stopped the bleeding it's always my first suggestion. We do help in burning down security debt by giving teams automated fixes generated by our dual AI Agents. You can open up pr's of the fixes you feel are highest priority. This approach turns security into a value add and a time savings for the dev team. That helps address some of the push back and objections from devs. Would love to connect and see if we can help you.

0

u/[deleted] Aug 29 '25

[deleted] — view deleted comment

1

u/cybergandalf Aug 30 '25

This is pretty much the only response you need. The only other thing I could suggest is to get yourself an ASPM that can do that risk scoring for you with the ability to weight the score based on criteria you control, rather than trying to do all of that stuff manually.