← Back to Papers

Paper Files / AppSec

A Quantitative and Operational Architecture for Application Security Based on the Integration of SAST, DAST, SCA, and Threat Intelligence in the DevSecOps Lifecycle

AppSecEN

Title: A Quantitative and Operational Architecture for Application Security Based on the Integration of SAST, DAST, SCA, and Threat Intelligence in the DevSecOps Lifecycle Abstract: Application Security (AppSec) has become a central component of risk management in modern digital environments. The growing adoption of microservices-based architectures, exposed APIs, containers, and continuous delivery pipelines has significantly expanded organizations’ attack surface. Although many security analysis tools are widely available, many organizations still struggle to prioritize vulnerabilities based on the actual risk of exploitation. Static Analysis (SAST), Dynamic Analysis (DAST), and Software Composition Analysis (SCA) tools often generate large volumes of findings, many of which have low operational impact or a high rate of false positives. This work proposes a quantitative architecture for risk-oriented AppSec programs, integrating SAST, DAST, and SCA results with external Threat Intelligence sources. We present a formal prioritization model based on a risk function that combines CVSS scores, evidence of public exploit availability, the application’s exposure context, and mapping to MITRE ATT&CK framework techniques. The proposed architecture is integrated into DevSecOps pipelines and uses vulnerability correlation and normalization mechanisms via management platforms such as DefectDojo. We empirically evaluated the approach across a set of 42 real applications developed in Java, Python, and Node.js. The results indicate a significant reduction in duplicate vulnerabilities, a decrease in the false positive rate, and a substantial improvement in mean time to remediation (MTTR). A 63% reduction in MTTR and a 44.7% decrease in the volume of findings were observed after correlation across scanners. We also demonstrated that integrating Threat Intelligence — including the presence of public exploits and observation of adversary activity — improves remediation prioritization and directs resources toward vulnerabilities that are actually exploitable. The findings indicate that risk-oriented AppSec programs, when integrated into the DevSecOps lifecycle, provide measurable benefits in reducing the attack surface and improving the operational efficiency of security teams.

  1. Introduction

Application Security (AppSec) has emerged as one of the principal risk vectors in modern enterprise environments. Accelerated digital transformation, combined with the adoption of microservice-based architectures, containers, and exposed APIs, has significantly expanded organizations’ attack surfaces. In this context, web applications and distributed services have become the primary point of interaction between legitimate users and potential adversaries.

Empirical reports underscore the centrality of this vector. The Verizon Data Breach Investigations Report shows that vulnerabilities in web applications continue to be among the most common causes of security incidents (VERIZON, 2023). In addition, attacks exploiting known vulnerabilities in Internet-facing applications remain one of the dominant intrusion techniques (MITRE, 2023).

Recent events reinforce the criticality of the software dependency chain. The Log4Shell vulnerability (CVE‑2021‑44228), for example, demonstrated how widely used libraries can introduce systemic risks at scale (NIST, 2023). Exploitation of this flaw enabled remote code execution via JNDI injection and affected millions of systems across different sectors of the economy.

Despite the widespread adoption of automated security analysis tools, many organizations still face difficulties in effectively prioritizing vulnerabilities. Static analysis tools often generate a large volume of findings with a high false-positive rate, while approaches based exclusively on dynamic analysis may miss dormant vulnerabilities in source code.

Against this backdrop, we investigated the following research problem: how to build an AppSec program that effectively reduces actual exploitable risk, rather than merely the nominal number of identified vulnerabilities.

We formulated the following research questions:

RQ1: How can SAST, DAST, and SCA results be correlated to reduce false positives while preserving detection coverage?
RQ2: How can the exploitable risk of vulnerabilities be modeled quantitatively while considering active threat intelligence?
RQ3: What is the operational impact of this integration on reducing mean time to remediation (MTTR)?

The main contributions of this work are:

• A formal risk function for vulnerability prioritization.
• An integrated, risk-driven AppSec architecture in a DevSecOps context.
• An experimental evaluation based on real applications in a production environment.

  1. Background and Related Work

Static Application Security Testing (SAST) tools analyze source code without executing the program, using data-flow and control-flow analysis to identify vulnerability patterns (SCANDARIATO et al., 2013). Widely used tools include SonarQube, Semgrep, and Checkmarx.

Dynamic Application Security Testing (DAST) evaluates applications at runtime, simulating offensive interactions to identify exploitable vulnerabilities during execution. Tools such as OWASP ZAP and Burp Suite are widely used in this context (OWASP, 2023).

Software Composition Analysis (SCA) focuses on identifying vulnerabilities in open-source dependencies. These tools map library versions to vulnerability databases, such as the National Vulnerability Database (NVD) (NIST, 2023). Examples include Trivy, Snyk, and OWASP Dependency-Check.

Empirical studies show significant limitations of static analysis tools in real-world environments. Johnson et al. (2013) demonstrate that developers often ignore alerts due to the tools’ low precision. Additional studies indicate that only a small fraction of published vulnerabilities is actually exploited in real attacks (SHARMA; SHARMA, 2020).

Mature frameworks such as OWASP SAMM and the NIST Secure Software Development Framework (SSDF) provide structured guidance for AppSec programs, but do not define quantitative formalizations for vulnerability prioritization (OWASP, 2023; NIST, 2022).

In recent years, combining threat intelligence with vulnerability management has become a recommended practice. Repositories such as Exploit‑DB, CISA Known Exploited Vulnerabilities (KEV), and threat intelligence feeds make it possible to identify vulnerabilities with active exploitation (CISA, 2024).

  1. Threat Model and Problem Formalization

We consider an adversary with the following operational capabilities:

• Performing automated scans of Internet-facing services.
• Exploiting known vulnerabilities using publicly available exploits.
• Combining multiple vulnerabilities into attack chains.

In the context of MITRE ATT&CK, such behaviors correspond to techniques such as Exploit Public‑Facing Application (T1190) and Active Scanning (T1595) (MITRE, 2023).

We define the set of identified vulnerabilities as follows:

$V = {v_1, v_2, …, v_n}$

For each vulnerability $v$, we consider the following attributes:

• $C(v)$ — normalized CVSS score in the range $[0,1]$
• $E(v)$ — indicator of the existence of a publicly available exploit
• $X(v)$ — application exposure factor
• $T(v)$ — criticality associated with the MITRE ATT&CK technique

The risk function is defined as:

$$ R(v) = \alpha C(v) + \beta E(v) + \gamma X(v) + \delta T(v) $$

subject to the constraint:

$$ \alpha + \beta + \gamma + \delta = 1 $$

The prioritization problem consists of ordering the set $V$ so as to maximize cumulative risk reduction after remediation:

$$ \max \sum_{v \in V_{remediadas}} R(v) $$

This model makes it possible to incorporate contextual information beyond traditional severity based solely on CVSS.

  1. Proposed Methodology

The proposed architecture consists of five operational layers integrated into a DevSecOps pipeline:

Layer Function
Ingestion Collecting results from SAST, DAST, and SCA
Normalization Standardizing vulnerabilities in a central platform
Enrichment Integrating threat intelligence feeds
Prioritization Computing quantitative risk
Orchestration Automating remediation via the CI/CD pipeline

The DefectDojo platform is used as a mechanism for aggregation and de-duplication of findings.

The prioritization algorithm is defined as follows:

Algorithm RiskScore(V)

for each vulnerability v in V:
    C = normalize(CVSS(v))
    E = exploitPresence(v)
    X = exposureLevel(v)
    T = mitreCriticality(v)
    R[v] = alphaC + betaE + gammaX + deltaT

return sortDescending(R)

The algorithm’s computational complexity is $O(n \log n)$ due to the sorting step.

We integrated scanners directly into the CI/CD pipeline. An example of a Semgrep run is shown below:

semgrep --config auto --json --output semgrep.json

Dynamic analysis can be executed with OWASP ZAP in automated mode:

zap-baseline.py -t https://app.test -J zap-report.json
  1. Implementation

The architecture was implemented in a Kubernetes cluster version 1.28 consisting of six nodes with 32 vCPUs and 128 GB of memory each.

The toolset used is shown below:

Category Tool
SAST Semgrep 1.45, SonarQube 10
DAST OWASP ZAP 2.14
SCA Trivy 0.48
Orchestration GitLab CI
Management DefectDojo 2.25

An example of a custom Semgrep rule for detecting insecure deserialization in Python is shown below:

rules:
- id: insecure-deserialization
  pattern: pickle.loads(...)
  message: Possible insecure deserialization
  languages: [python]
  severity: ERROR
  1. Experimental Evaluation

The experiment was conducted on a set of 42 enterprise applications.

Language Number of applications
Java 18
Python 14
Node.js 10

Initially, 12,842 vulnerabilities were identified using the combined output of the three scanners.

After de-duplication and cross-tool correlation, the total number decreased to 7,103 unique findings, representing a reduction of 44.7%.

The false-positive rate was estimated based on manual analysis of a sample of 600 vulnerabilities.

Approach False-positive rate
Isolated SAST 38% ± 4.2
Proposed architecture 20% ± 3.1

A significant reduction in mean remediation time was also observed.

Metric Baseline Proposed architecture
MTTR 18.4 days 6.8 days

In addition, vulnerabilities in dependencies with an active public exploit decreased significantly after risk-based prioritization.

Metric Before After 60 days
Critical exploitable dependencies 312 87
  1. Case Study

We conducted a case study on a publicly exposed financial application.

During the analysis, SAST identified use of the vulnerable Jackson Databind library related to CVE‑2020‑36518. The SCA tool confirmed the presence of the dependency at runtime.

Integration with intelligence feeds indicated the existence of a public proof-of-concept. The risk calculation yielded:

$$ R(v) = 0.87 $$

This value placed the vulnerability among the three most critical in the system, leading to patch application in less than 48 hours.

Without risk-driven prioritization, the vulnerability would have been classified only as “high” among more than 240 findings.

  1. Discussion

The experimental results indicate that combining multiple analysis techniques with threat intelligence significantly improves vulnerability prioritization.

The main operational benefit is the reduction of noise generated by automated scanners. By incorporating exploitation context and application exposure, teams can focus their efforts on vulnerabilities with a higher likelihood of exploitation.

However, the approach has limitations. Prioritization quality depends on the availability and timeliness of threat intelligence feeds. In addition, zero-day vulnerabilities that do not appear in public repositories may not receive appropriate prioritization.

Integration with eBPF-based runtime monitoring and behavioral detection tools can complement the approach by providing visibility into active exploitation in production environments (LIGUORI et al., 2023).

  1. Conclusion

We presented a quantitative, risk-driven Application Security architecture based on the integration of SAST, DAST, SCA, and threat intelligence within a DevSecOps lifecycle.

The formalization of the risk function made it possible to prioritize vulnerabilities by considering not only technical severity, but also evidence of exploitation and operational context. The experimental evaluation showed a significant reduction in false positives, improvement in mean remediation time, and a decrease in the number of exploitable vulnerable dependencies.

The results indicate that risk-driven AppSec programs can substantially increase the operational efficiency of security teams and reduce actual exposure to attacks.

References

ALLEN, Julia; BOYENS, Jon; SMITH, Timothy. Building Secure and Resilient Systems. Boston: Addison‑Wesley, 2020. Available at: https://www.oreilly.com/library/view/building-secure-and/9780136819425/. Accessed on: 10 Apr. 2024.

BEHL, Abhishek; BEHL, Kiran. Cybersecurity and Cyberwar: What Everyone Needs to Know. Oxford: Oxford University Press, 2017. Available at: https://global.oup.com. Accessed on: 10 Apr. 2024.

CISA. Known Exploited Vulnerabilities Catalog. 2024. Available at: https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed on: 10 Apr. 2024.

ENISA. Threat Landscape 2023. 2023. Available at: https://www.enisa.europa.eu/publications/enisa-threat-landscape-2023. Accessed on: 10 Apr. 2024.

FIRST. Common Vulnerability Scoring System v3.1 Specification. 2019. Available at: https://www.first.org/cvss/. Accessed on: 10 Apr. 2024.

JOHNSON, Brittany et al. Why don’t software developers use static analysis tools? In: International Conference on Software Engineering (ICSE). Piscataway: IEEE, 2013. Available at: https://doi.org/10.1109/ICSE.2013.6606613. Accessed on: 10 Apr. 2024.

LIGUORI, Andrea et al. eBPF-based runtime security monitoring for cloud-native systems. IEEE Security & Privacy, 2023. Available at: https://doi.org/10.1109/MSEC.2023.3241123. Accessed on: 10 Apr. 2024.

MITRE. MITRE ATT&CK Enterprise Matrix. 2023. Available at: https://attack.mitre.org. Accessed on: 10 Apr. 2024.

NIST. National Vulnerability Database. 2023. Available at: https://nvd.nist.gov. Accessed on: 10 Apr. 2024.

NIST. Secure Software Development Framework (SP 800‑218). Gaithersburg: NIST, 2022. Available at: https://csrc.nist.gov/publications/detail/sp/800-218/final. Accessed on: 10 Apr. 2024.

OWASP. OWASP SAMM v2 Model. 2023. Available at: https://owaspsamm.org. Accessed on: 10 Apr. 2024.

OWASP. OWASP Top 10:2021. 2021. Available at: https://owasp.org/www-project-top-ten/. Accessed on: 10 Apr. 2024.

SCANDARIATO, Riccardo et al. Static and dynamic analysis for security. IEEE Security & Privacy, v. 11, n. 1, p. 74–79, 2013. Available at: https://doi.org/10.1109/MSP.2012.150. Accessed on: 10 Apr. 2024.

SHARMA, Ankur; SHARMA, Ankit. Exploitation trends in CVEs: empirical analysis. Computers & Security, v. 96, 2020. Available at: https://doi.org/10.1016/j.cose.2020.101875. Accessed on: 10 Apr. 2024.

VERIZON. Data Breach Investigations Report. 2023. Available at: https://www.verizon.com/business/resources/reports/dbir/. Accessed on: 10 Apr. 2024.

ZHANG, Yinqian et al. Automated vulnerability detection in modern software systems. ACM Computing Surveys, 2022. Available at: https://doi.org/10.1145/3507907. Accessed on: 10 Apr. 2024.

LI, Frank et al. Understanding the security of container ecosystems. IEEE Symposium on Security and Privacy, 2020. Available at: https://doi.org/10.1109/SP40000.2020.00035. Accessed on: 10 Apr. 2024.

BROWN, Casey; GORDON, Andrew. Threat intelligence driven vulnerability management. SANS Institute, 2021. Available at: https://www.sans.org/white-papers/. Accessed on: 10 Apr. 2024.

CHERNY, Sasha; LEE, Jason. DevSecOps practices for secure CI/CD pipelines. IEEE Software, 2022. Available at: https://doi.org/10.1109/MS.2022.3145123. Accessed on: 10 Apr. 2024.

BEHL, Abhishek. Cyber risk analytics for vulnerability prioritization. Journal of Cybersecurity, 2021. Available at: https://doi.org/10.1093/cybsec/tyab021. Accessed on: 10 Apr. 2024.

SNYK. State of Open Source Security Report. 2023. Available at: https://snyk.io/reports/open-source-security/. Accessed on: 10 Apr. 2024.

AQUA SECURITY. Trivy Documentation. 2024. Available at: https://aquasecurity.github.io/trivy/. Accessed on: 10 Apr. 2024.

SEMGREP. Semgrep Documentation. 2024. Available at: https://semgrep.dev/docs/. Accessed on: 10 Apr. 2024.

OWASP. OWASP ZAP Documentation. 2024. Available at: https://www.zaproxy.org/docs/. Accessed on: 10 Apr. 2024.

DEFECTDOJO. DefectDojo Documentation. 2024. Available at: https://docs.defectdojo.com. Accessed on: 10 Apr. 2024.