Manuscript Offprint
arXiv:2610.13071CAPE - Context-Aware Prioritization Engine for Vulnerability Scoring and Management
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Rakesh Podder, Viktoria Koscinski, and Indrajit Ray
Computer Science Department, Colorado State University, Fort Collins, Colorado, USA
{Rakesh.Podder, Viktoria.Koscinski, Indrajit.Ray}@colostate.edu
Abstract—Vulnerability patching is critical for safeguarding an enterprise’s software ecosystem from cyber attacks. However, patching requires adequate preparation for potential system downtime and for unforeseen effects of the patched software on a live system. Thus, effective risk mitigation requires prioritization strategies that explicitly account for the operational context of the affected software. While vulnerability prioritization based on Common Vulnerability Scoring System (CVSS), Exploit Prediction Scoring System (EPSS) and CISA Known Exploited Vulnerabilities (KEV) catalog, can help, their differing goals and methodologies often lead to inconsistent, context-unaware decisions resulting in mis-allocated remediation efforts. In this work, we present the Context-Aware Prioritization Engine (CAPE), a vulnerability analysis framework that enriches each vulnerability scanner report of vulnerabilities (CVEs) with deployment-specific evidence. This evidence is used to perform vulnerability reachability, centrality, and exploitability analysis, producing a ranked priority score for the effective distribution of remediation effort. We evaluate CAPE on 30 open-source agentic applications comprising 6,138 scanner-reported CVEs. Our evaluation shows that a significant majority of CVEs are not reachable and exploitable which results in significant disparities between CAPE and context-free baselines — the CVSS, EPSS, and KEV. It also shows that CAPE consistently surfaces confirmed-exploitable CVEs at higher priority than all baselines, demonstrating that context-aware analysis provides substantially more accurate remediation guidance than context-free severity scoring alone.
Index Terms—severity scoring, vulnerability prioritization, SBOM, dependency graph
I. INTRODUCTION
Modern software development and supply chains are undergoing a structural shift. The rise of AI-assisted coding tools, autonomous agentic frameworks, and large-language-model-powered development environments has dramatically accelerated both the pace of software production and the depth of third-party dependency consumption [1], [2], [3], [4], [5]. A single agentic framework, such as LangChain [6], AutoGPT [7], or CrewAI [8], often depends on hundreds of specialized open-source packages for tool use, memory, retrieval, and model invocation. Unfortunately, this dependency on third-party libraries creates a compounding vulnerability management problem as dependencies cannot be freely upgraded to mitigate software vulnerabilities. Breaking changes in transitive dependencies, incompatible API revisions, and brittle build chains force development teams to pin packages at specific versions [9], [10], [11]. This phenomenon, commonly called dependency hell [12], often results in known-vulnerable versions remaining in production long after patches are available. A study of npm packages found that the median time between a vulnerability disclosure and a consuming project updating the affected dependency exceeds four months [13], [14].
Software Composition Analysis (SCA) [15], [16], [17], [18] can help mitigate this problem to some extent. Tools such as Syft [19] and Trivy [20] generate a Software Bill of Materials (SBOM) from an installed dependency tree and vulnerability scanners such as Grype [21], Trivy [20], and CVE-bin-tool [22] match each component name version against the National Vulnerability Database (NVD) [23], the Open Source Vulnerability database [24], and ecosystem-specific databases. The output is a list of vulnerabilities (henceforth referred to as CVEs). For a non-trivial application, this list routinely contains hundreds of entries [15]. Recent NVD trends reinforce the scale of the problem: 40,077 CVEs were published in 2024 and 48,185 in 2025 [25]. Once the vulnerability scanner output list of CVEs for a software is available, the dominant practice is to sort the CVEs by CVSS base score and address them top-down [26]. Alternatively, practitioners filter CVEs by EPSS probability [27] or CISA KEV membership [28].
We observe two critical weaknesses in this practice. First, SCA scanners match on (component, version) tuples without inspecting the deployed artifact. Consequently, a build-time bundle excluded from production, a component with a backported fix lacking a version bump, and a library imported on every request produce identical scanner outputs despite having radically different operational risks. The result is a substantial fraction of reported CVEs that cannot be triggered in any execution of the deployed application. We term these context-aware false positives. Second, CVSS base scores are assigned against generic target systems [29], [30], carrying no information about (i) whether the vulnerable component is architecturally central to the application, (ii) whether the buggy code is physically present in the installed artifact or has been patched out, (iii) whether the dependency is direct or transitive, or (iv) whether any execution path from an application entry point reaches the vulnerable code. Two CVEs with identical CVSS scores can represent completely different operational risks. Sorting hundreds of alerts purely by CVSS forces developers, who already face intense pressure to prioritize features over security [31], to allocate effort by noise rather than actual risk. The financial cost of this misallocation is substantial [31], [32]. One survey of 600 cybersecurity professionals found that 63% are unable to act on alert volume and 67% lack the time to mitigate all vulnerabilities [33].
Both of these observed weaknesses share a root cause: traditional SCA frameworks are context-blind. Prior work has proposed context-aware prioritization, but existing systems draw context from organizational history, infrastructure state, or service topology. None inspect the deployed artifact at the source-code level [34], [35], [36], [37], [38]. CAVP [34] and ACVRM [35] adjust scores via expert heuristics and organizational criteria respectively; VRANK [36] scores by inter-service role in composed SOA systems; AegisGuard [38] infers applicability from host telemetry and retrieval-augmented threat intelligence. Static reachability has been studied for Java and Maven ecosystems [39], [40], finding that only 11–13% of vulnerabilities are method-reachable in dependent projects, but neither work extends reachability to prioritization or patch-state confirmation. No prior system performs the conjunction of entry-point reachability analysis, artifact-level bug or patch-line signature matching, and graph-theoretic centrality measurement within a single, formally specified scoring model.
We present the Context-Aware Prioritization Engine (CAPE), an analysis framework that addresses both of these problems by enriching each CVE finding with deployment-specific evidence before scoring it. CAPE constructs a dependency graph of the target system with heterogeneous programming languages (python, java, js/ts, go, ruby, etc.) as an abstract syntax tree (AST). Multi-source breadth-first reachability analysis from application entry points eliminates context-aware false positives rather than merely deprioritising them. Fix GitHub commits retrieved from NVD and OSV are matched against installed artifact line signatures, confirming whether buggy or patched code is physically present regardless of declared version. Graph-theoretic centrality metrics — impact radius, hub score, and eigenvector centrality — quantify structural influence of affected components and files with bugs beyond what reachability alone expresses. This evidence is combined in a formally specified multi-dimensional scoring model with Analytic Hierarchy Process weights [41], weight redistribution for absent dimensions, Vulnerability Exploitability eXchange (VEX [42]) style regimes, and gate logic to create a ranked prioritization schema of CVEs that a developer can act on.
CAPE is evaluated on 30 open-source projects spanning Python, TypeScript, and JavaScript, comprising 6,138 scanner-reported CVEs. We address four research questions.
RQ1 What fraction of scanner-reported CVEs are statically unreachable or exploitable from any application entry point, and how does this rate vary across ecosystems?
RQ2 Does CAPE prioritize confirmed-exploitable CVEs more effectively than CVSS, EPSS, and KEV baselines, and under what structural conditions does each baseline compete?
RQ3 How consistently does CAPE separate high-evidence CVEs from low-evidence CVEs relative to CVSS, EPSS, EPSS-percentile, and KEV baselines?
RQ4 How sensitive is CAPE’s ranking to perturbations of the AHP weight prior, and how does the choice of centrality metric selection affect ranking quality across cases?
The primary contributions of this work are:
• We present Context-Aware Prioritization Engine (CAPE), a vulnerability analysis framework that enriches each vulnerability scanner-reported CVE with static reachability, code-level evidence, and graph-theoretic centrality into a context-aware priority ranking.
• We introduce a regime-adaptive AHP scoring model that marginalizes structurally absent evidence dimensions, preserving score monotonicity across deployment-specific evidence and VEX verdicts for each CVE.
• We quantify scanner-reported CVEs that are statically unreachable at scale. 43.3% of 6,138 scanner-reported CVEs across 30 open-source projects are statically unreachable, reaching 76.1% in the most extreme case and averaging 53.2% for TypeScript/JavaScript projects.
• We evaluate CAPE against four baselines, CVSS, KEV, EPSS, and EPSS percentile, on 30 open-source applications, achieving a 79.8% reduction in mean rank of first confirmed-exploitable CVE (3.4 vs. 16.9; median 1 vs. 7), with AUROC 0.908 vs. 0.454 and NDCG@10 0.652 vs. 0.227 for CVSS.
All code, data, and evaluation artifacts will be available upon publication.
Recognizing generic scores as insufficient, researchers introduced context from three sources, organizational history, infrastructure state, and service topology, but none investigated the deployed artifact or software [34], [35], [36], [37], [38], [51]. CAVP [34], ACVRM [35], and SSVC [52] refine severity scoring via expert heuristics or organizational context but perform no source-code analysis. VRANK [36] and ChainFuzz [53] incorporate structural context but are scoped to SOA topologies
TABLE I
COMPARISON OF VULNERABILITY PRIORITIZATION APPROACHES.
.
| System | Context Source | Entry-Point Reach. | Artifact Code Evidence | Component Centrality | Dep. Type | Multi-Lang Software |
|---|---|---|---|---|---|---|
| CVSS [29] | None (generic) | × | × | × | × | × |
| EPSS [44] | Threat intel | × | × | × | × | × |
| KEV [28] | Exploit confirmation | × | × | × | × | × |
| SSVC [52] | Analyst decision tree | × | × | × | × | × |
| VIEWSS [47] | Score reweighting | × | × | × | × | × |
| VMC [48] | KEV+EPSS filter chain | × | × | × | × | × |
| CAVP [34] | Expert heuristics | × | × | × | × | × |
| ACVRM [35] | Org. risk appetite | × | × | × | × | × |
| VRank [36] | SOA service topology | ○ | × | ○ | × | × |
| Mixeway [37] | Scan history | × | × | × | × | ○ |
| AegisGuard [38] | Host telemetry | × | × | × | × | × |
| DepClean [39] | Source code | ○ | × | × | × | × |
| Dann et al. [40] | Source code | ○ | × | × | × | × |
| ChainFuzz [53] | Source code (PoC) | ✓ | × | × | × | × |
| CAPE (ours) | Source code + Installed artifact + SBOM | ✓ | ✓ | ✓ | ✓ | ✓ |
and proof-of-concept reachability, respectively. Mixeway [37] and AegisGuard [38] use scan history and host telemetry as context, neither of which inspects the installed artifact. Table I shows that no prior system combines entry-point reachability, artifact-level code evidence, and component centrality.
Static reachability applied to SCA for vulnerabilities has been well-explored for Java [54], [40], [55] and Maven [39], [56] ecosystems. Soto-Valero et al. [39] find that 75% of Maven dependencies contain at least one unreachable method, while Dann et al. [40] report only 11–13% of vulnerabilities are method-reachable in dependent projects; neither extends this to prioritization. ChainFuzz [53] validates upstream vulnerabilities via POC generation in C/C++ supply chains, confirming reachability but not generalizing to cross-language prioritization pipelines. For code evidence, Sabetta and Bezzi [57] show that patch commits carry distinctive code signatures. Li and Paxson [58] and Bhandari et al. [59] establish at scale that downstream dependents remain unpatched long after fixes are published [13], [14], [60]. Bandara et al. [32] show that 18% of all vulnerabilities in open-source JS projects originate from git commits, making version-number-based patch status an unreliable signal. For dependency graph construction, static analysis of dynamic languages involves known precision-recall trade-offs [61], [62], [63]. The VEX [42] standard encodes producer-asserted exploitability status, but fewer than 5% of advisories carry VEX statements [28] and producer assertions do not account for deployment context. CAPE automates VEX-equivalent evidence from the consumer side. CAPE combines entry-point BFS reachability analysis, code evidence with buggy & patch-code matching, and graph-theoretic centrality measures into a regime (VEX type)-adaptive scoring model with evaluation against state-of-the-art baseline scores.
III. FORMAL PROBLEM STATEMENT
Let denote a software system under analysis, characterized by its source repository and dependency manifest. CAPE generates a deployment-representative SBOM (using Syft) via local build, modeled as A vulnerability scanner (Grype) applied to produces CVE (pkg = component, ver = version, cve = CVE) list. Definition 1. A vulnerability or CVE list is a triple , where are the universes of CVE identifiers, package names, and version strings. The scanner applied to produces a finite CVE set .
Each is scanner output only. It carries no information about whether the vulnerable code is reachable in , whether the installed artifact incorporates the fix, or how architecturally central the component is. Across 30 evaluated projects, ranges from 8 to 719, totalling 6,138 CVEs. 43.3% are statically unreachable (TypeScript/JavaScript: 53.0%; Python: 27.4%) and constitute context-aware false positives CVEs that cannot be triggered in any execution of the deployed application yet are indistinguishable from exploitable ones in raw scanner output. This context-blindness motivates a priority function that ranks by operational exploitability rather than by generic severity.
Definition 2. A priority function inducing a total preorder iff , approximating the security preference “remediate before .”
The current practice uses the CVSS(f) priority which fails on two counts. First, a reachable confirmed-bugged vulnerability may score lower than an unreachable one, and second, all deployment-specific evidence is ignored.
IV. THE CAPE ARCHITECTURE
CAPE transforms scanner CVEs into a context-aware priority ranking through evidence collected from seven stages , preceded by a pre-processing phase that generates a deployment-representative SBOM via local build (§ IV-A). Figure 1 shows the complete architecture. Throughout § IV and § V, we use OpenClaw [64] as a running example to illustrate how evidence flows through each stage of the CAPE pipeline
normalize and enrich each CVE with OSV metadata, EPSS probabilities, and KEV membership. collect artifact-level code-evidence signature matching against GitHub commits (), a typed directed call graph via modified Tree-sitter (), multi-source BFS reachability from application entry points (), and graph-theoretic centrality of affected components and files (). synthesizes these streams into a deterministic exploitability verdict and regime . The scoring model (§ V) then produces based on these evidence per CVE.
A. Local Build and SBOM Generation
Platform-generated SBOMs (e.g., GitHub Dependency Graph [65]) are unsuitable for vulnerability analysis. We found that GitHub-generated SBOMs or strong project manager (PM)-based SBOMs [66] cannot observe the deployment context, producing version divergence, architecture-dependent false positives (e.g., all 23 @esbuild platform variants listed instead of the one installed), and staleness from repository churn. CAPE generates locally via (i) source acquisition – cloning the target repository at a pinned commit into an isolated case directory, ensuring the SBOM, scanner output, and call graph all correspond to the same code state;

Fig. 1. CAPE Architecture. Stages are mutually independent and execute in parallel; requires all 4 stage signals or data; scoring model requires .
(ii) dependency installation – installed using the ecosystem’s native toolchain, selected automatically from the lockfile, with post-install hooks disabled to prevent arbitrary code execution; (iii) SBOM generation – syft scans the installed dependency tree (.venv/ or node_modules/) to produce a standardized SPDX-2.3 file at exact resolved versions.
We use grype [21] against B to get a CVE list containing one row per (component, version, CVE) triple into rawScanner.csv for . Every result in this paper is computed against locally built SBOMs.
Observation. In eslint, @babel/code-frame resolved to 7.10.1 on GitHub vs. 7.0.0 locally – different transitive trees, different CVEs. In OpenClaw, the platform listed all 23 @esbuild variants; local build installed one, making 22 findings unreachable false positives. Lock-file-only installs produced version divergence across 6 of 12 npm projects, confirming neither source reliably reflects the deployed artifact.
B. Stages : Normalisation and Enrichment
— Normalization. Raw scanner output is a multiset of rows where a single CVE may appear under multiple advisory aliases (NVD, GHSA, OSV). duplicates on the identity projection , collapsing aliases while keeping distinct CVEs on the same (pkg, ver) pair separate. The output is an ordered CVE set with stable sequential identifiers for the downstream process.
— Enrichment. Each is augmented with three external signals queried live at execution time: (i) advisory metadata — the OSV API is queried per CVE, when found, summary and affected version ranges are extracted; (ii) EPSS probability [44] — a daily-updated 30-day exploitation forecast stored in f.epss, used as an external baseline only; and (iii) KEV [28] — a Boolean flag f.kev confirming wild exploitation, also used as an external baseline for evaluation (§ VI) only. Please not that, we are considering CVSS score as external severity signal in our evidence dimension (§ V-A) for it's consistency and wide adaptation as industry standard.
OpenClaw. Table II illustrates enrichment output for OpenClaw CVEs. As can be observed from the table, the highest-CVSS entry (f_003, CVE-2026-33937, score 9.8) sits at the 66.4th EPSS percentile, while f_001 (vite 7.3.1, CVE-2026-39363, CVSS 8.2) reaches the 80.1 percentile with 0.02292 EPSS score yet has no OSV record — neither signal nor scoring method alone is sufficient for remediation strategies.
C. Stage : Code Evidence Collection
Standard vulnerability (Gyrpe, Trivy) scanners match on (component, version) tuples but cannot determine whether vulnerable code is physically present in the installed artifact. resolves this by fetching the git commit for each CVE and searching the installed artifact for pre-fix (bug) and post-fix (patch) line signatures. For , let be the unified diff of the fix commit decomposed into file blocks. Each block yields the buggy line set — lines removed by the fix and the symmetric patched line set comprises lines added. Note, bug evidence alone cannot distinguish a backported fix from an inconclusive case, and patch evidence alone cannot confirm exploitability when a fix touches unrelated files. queries NVD 2.0 and OSV for fix-commit URLs, prioritising NVD Patch-tagged URLs: , with duplicates removed at first occurrence.
Verdict & Regime Mapping. assigns a verdict per CVE based on code evidence. BG (affected files and buggy codes present), NB (affected files exist but no buggy code or patch incorporated), NF (neither affected files nor buggy code found in installation), or NC (no git commit found or inconclusive). The worst-case rule BG NB NF NC applies across all affected files; a single confirmed-buggy file overrides all others, as presence of buggy code has higher chances of exploitation. Please note that not all CVEs have a git commit. In that case, assigns verdict NC, is structurally absent (NaN), and its weight redistributes proportionally to the remaining four dimensions ( V-B). The CVE proceeds to scored on available evidence alone ( IV-G) – nothing is discarded.
Git Commit for CVE-2026-33937 (handlebars 4.7.8, commit 68d8df5a) @ lib/handlebars/runtime.js @ resolvePartial
- 354 partial = options.partials[options.name];
- 355 partial = lookupOwnProperty(options.partials, options.name); Buggy line confirmed in OpenClaw · 1 install · patched line absent node_modules/handlebars/lib/handlebars/runtime.js: line 354 node_modules/handlebars/lib/handlebars/compiler/javascript-compiler.js: line 691
Fig. 2. code evidence for CVE-2026-33937 (handlebars 4.7.8).
TABLE II CAPE TRACES FOR EVIDENCE IN OPENCLAW REPO (CASE_003, CVES).
| f | CVE | Comp./Ver. | Comm. | Verd. | Code Evidence | Reach. BFS Path | Regime | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CVSS | EPSS | EPSS-pct | KEV | OSV | ir_m | ev_m | hub_m | Lv. | |||||||||
| 003 | CVE-2026-33937 | handlebars 4.7.8 | 9.8 | 0.0129 | 66.4% | × | ✓ | ✓ | BG | javascript-compiler.js, precompiler.js, runtime.js,... | ✓ | OpenClaw→handlebars | 1.000 | 0.0013 | 0.687 | fmax | |
| 018 | CVE-2026-26278 | fast-xml-parser 5.3.4 | 7.5 | 0.0059 | 43.6% | × | ✓ | ✓ | BG | OrderedObjParser.js, DocTypeReader.js, OptionsBuilder.js | × | —(No Reachable Path) | 0.000 | 0.0004 | 0.540 | fmax | |
| 019 | CVE-2026-33036 | fast-xml-parser 5.3.4 | 7.5 | 0.0058 | 43.0% | × | ✓ | ✓ | NB | OrderedObjParser.js | × | —(No Reachable Path) | 0.000 | 0.0001 | 0.540 | fmax | |
| 007 | CVE-2026-4800 | lodash 4.17.23 | 8.1 | 0.0103 | 59.1% | × | × | ✓ | NB | lodash.js (patched; buggy lines not matched) | ✓ | OpenClaw→lodash | 1.000 | 0.0001 | 0.0001 | fmax | |
| 029 | CVE-2026-2229 | undici 7.22.0 | 7.5 | 0.0049 | 38.2% | × | ✓ | × | NC | —(no git commit retrieved) | ✓ | OpenClaw→undici | 1.000 | 0.0001 | 0.000 | comp | |
OpenClaw. Table II illustrates representative outcomes in OpenClaw spanning verdicts BG, NB, and NC. Figure 2 shows a confirmed-buggy line that survives in the installed artifact: in handlebars 4.7.8 (CVE-2026-33937), the pre-fix partial lookup options.partials[options.name] (runtime.js) is present without its patched lookupOwnProperty(...) guard. The buggy code is matched in the single installed copy under node_modules/handlebars.
D. Stage : Call Graph Construction
constructs a typed directed multi-graph of using modified Tree-sitter [67] for abstract syntax tree (AST) extraction. A Call Graph is a tuple , where carries type labels , is a multi-set of typed directed edges with , and assigns call_type , source line, and confidence per edge.
Algorithm 1 proceeds in three passes: internal source parsing (lines 2–6), external package parsing (lines 7–15), and import resolution (lines 16–19). Unresolved imports are rewritten via a three-level cascade such as module index lookup, specifier resolution (with tsconfig.json alias support), and validated stub creation, dropping any target that fails an identifier validity check to prevent dynamic expressions from generating invalid nodes. The resolution pass runs in . Parsing is , linear in source bytes and overall construction is , excluding I/O.
OpenClaw. produced 316,491 nodes (162,448 function-level, 11.3% external), 1,587,771 typed directed edges across 9 relation types, and 1 zero-in-degree entry node, consistent with OpenClaw's monolithic orchestrator architecture. As shown in Figure 3, CALLS (934,891) dominates the edge distribution, followed by IMPORTS (328,135) and CONTAINS (280,832). INSTANTIATES (15,628) and RE_EXPORTS (27,770) capture object-level and module re-export dependencies.
Algorithm 1 Call graph construction ( )
Input: repository root , language Output: typed multigraph 1: 2: 3: for do 4: 5: 6: end for 7: 8: for do 9: for do 10: 11: 12: end for 13: 14: end for 15: for with do 16: 17: if valid: replace with else: drop 18: end for 19: return
E. Stage : Reachability Analysis
determines, for each CVE , whether the vulnerable component lies on any executable path from an application entry point in . A negative answer identifies a context-aware false positive, meaning the component is not exploitable. Reachability Skeleton. operates on a projection of that removes CONTAINS edges and test-file nodes such that where and , with matching patterns .test., .spec., /test/, /tests/. is the reachability skeleton — a control-flow projection of , retaining only runtime-traversable edges. CONTAINS is a structural ownership edge, not a control-flow edge so retaining it would allow BFS to reach any symbol via package membership alone, producing false reachability. Test nodes are excluded because test harnesses import all public symbols, causing false positive reachability signals.
For , Match(pkg) resolves pkg to the exact external node if one exists in , falling back to suffix or substring matching on node identifiers. An empty match represents a component absent from the call graph. Otherwise, multi-source BFS from over (Algorithm 2) determines

(a) CALLS: 337 nodes, 500 edges

(b) CONTAINS: 504 nodes, 500 edges

(c) IMPORTS: 392 nodes, 500 edges
(d) DEPENDS_ON: 489 nodes, 500 edges
Fig. 3. Representative edge relations in the OpenClaw call graph (500-edge sample per relation). Function; File; Component; ExternalModule.
Algorithm 2 Multi-source BFS reachability ( )
Input: skeleton , entry set , finding set
Output: per-finding
1: for do
2:
3: if then
4: ; continue
5: end if
6: ; vis ; par ; hit
7: while do
8:
9: if then
10: ; break
11: end if
12: for
13: ; par[v] ;
14: end for
15: end while
16: if : else:
17: end for
reachability by stopping at the first matched node visited. Total cost across is , with early termination keeping the average case low for directly imported packages. assigns verdicts as REACHABLE (an entry-point to component path was found), NOT_REACHABLE (a call graph exists but no path reaches the component), or NO_CALLGRAPH (no call graph could be constructed). None of the verdicts terminates the pipeline — even NOT_REACHABLE proceeds to rather than being discarded, since static analysis can miss dynamic dispatch, and dropping a CVE on that basis risks discarding a genuine vulnerability. Note that by extensive evaluation, we validated that if a component presents in the installed artifact, it never gives a verdict of NO_CALLGRAPH.
OpenClaw. identified entry node. Of 161 CVEs, 147 (91.3%) were statically reachable and 14 (8.7%) were not — the latter corresponding to packages in node_modules/ never imported by any execution path. Table II (f_003, handlebars) shows a reachable case where the BFS-constructed path is OpenClaw → handlebars → compiler/compiler.js → compiler/javascript-compiler.js → internal/proto-access.js, terminating at the prototype-access sink patched for CVE-2026-33937.
F. Stage : Centrality Analysis
characterizes the centrality of each vulnerable component — its structural influence within . Metrics are computed at two granularities derived from , the function graph (162,448 nodes, 1,587,771 edges for OpenClaw) and the file graph , the quotient of under the file-of projection (54,972 file nodes). If buggy or patch files are identified by , file-level metrics provide a tighter centrality estimate than component-level aggregates.
Metric Suite. Nine metrics are computed per component and per patch file (where available): impact radius ir(v) (fraction of entry points with a path to v), eigenvector centrality ev(v) (global influence via damped power iteration, d=0.85), hub score hub(v) and authority score auth(v) (HITS vectors), fan-in, fan-out, transitive fan-in, transitive fan-out, and in-degree. Only ir, hub, and ev enter the priority score ; our empirical study across 30 cases revealed that the remaining six add no ranking signal beyond the scoring triple ( VI-E).
Regime-Aware Selection.
where max-min normalization is taken over file-level and component-level values.
OpenClaw. Table II shows handlebars reaching hub = 0.687 at the affected-file level, surpassing its component-level centrality. Reachable components with no code evidence still receive component-level centrality: vite and undici (both reachable, regime ) have ir = 1.0, ev = 0.0014 & 0.0001, and hub = 0.000 & 0.000 — the structural influence of the affected component is scored even when finds no affected files. The genuinely unreachable example in the table is fast-xml-parser (ir = 0.0). The column Lv. represent the computed centrality values at affected file-level (fmax) or component-level (comp).
G. Stage : Exploitability Analysis
synthesizes the evidence streams from previous stages into a deterministic VEX verdict per CVE using a regime assignment . evaluates where is the component's presence in the SBOM & code-base, and is the code-evidence verdict from .
represents a component absent from the artifact; no further analysis needed. If is false, CAPE looks for code evidence. If no git commit is found, CAPE assigns . This signifies that affected components are present in the code base; CAPE still performs the reachability and centrality analysis and publishes a priority score based on existing evidence, but needs manual investigation as the CVE may be not associated with bug in the code, but a different kind of exploitation (i.e., RCE, XSS). are based on code evidence collection.
OpenClaw. Across 161 CVEs, regime dominates (98, 60.9%) due to the advisory lag on recently published CVEs, followed by (27, 16.8%), (9.9%), and (20, 12.4%). As shown in Table II, handlebars (CVE-2026-33937) is assigned , whereas vite (CVE-2026-39363) is assigned as there are no git commits or code evidence present.
V. PRIORITY SCORING MODEL
CAPE assigns each CVE a score by combining four evidence dimensions under a regime-adaptive weighting scheme. The regime, determined by (§ IV-G), controls which dimensions are observable and how weights are distributed among them. This section formalizes the model. Each CVE maps to exactly one via the Regime Assignment in § IV-G. The defensive fallback ensures the function never raises on an unrecognized outcome.
A. Evidence Dimensions
The four evidence dimensions normalize heterogeneous signals onto a common [0, 1] scale. Each one's weight is re-distributed when its source is unavailable.
. CVSS is used as the external severity signal for its availability and standardized scoring across vulnerability databases.
— Reachability. Encodes the verdict: 1.0 (REACHABLE), 0.0 (NOT_REACHABLE), 0.5 (NO_CALLGRAPH or missing). The 0.5 value reflects the principle of insufficient reason; absence of a call graph is not evidence of unreachability.
— Code Evidence. Read directly from the regime assignment:
NaN signals structural absence — no git commit means no patch or bug state to measure. The dimension is marginalized via weight redistribution (§ V-B).
TABLE III EVIDENCE DIMENSIONS, REDISTRIBUTED WEIGHTS, AND GATE BEHAVIOR FOR CVEs FROM OPENCLAW (CASE_003, ).
| CVE | k | G | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CVE-2026-33937 | 0.98 | 1.0 | 1.0 | 0.820 | 0.318 | 0.261 | 0.227 | 0.193 | 0.959 | — | 0.959 | 1 | |
| CVE-2026-33941 | 0.82 | 1.0 | 1.0 | 0.820 | 0.318 | 0.261 | 0.227 | 0.193 | 0.908 | — | 0.908 | 2 | |
| CVE-2026-54267 | 0.86 | 1.0 | NaN | 0.700 | 0.412 | 0.338 | NaN | 0.250 | 0.867 | — | 0.867 | 6 | |
| CVE-2025-66031 | 0.87 | 1.0 | 0.8 | 0.502 | 0.318 | 0.261 | 0.227 | 0.193 | 0.817 | — | 0.817 | 10 | |
| CVE-2025-62718 | 0.48 | 1.0 | 1.0 | 0.111 | 0.318 | 0.261 | 0.227 | 0.193 | 0.663 | 0.800 | 14 | ||
| CVE-2026-26278 | 0.75 | 0.0 | 1.0 | 0.742 | 0.318 | 0.261 | 0.227 | 0.193 | 0.609 | 0.800 | 16 | ||
| CVE-2026-25896 | 0.93 | 0.0 | 1.0 | 0.237 | 0.318 | 0.261 | 0.227 | 0.193 | 0.569 | 0.800 | 17 | ||
| CVE-2026-32635 | 0.90 | 1.0 | 0.5 | 0.700 | 0.318 | 0.261 | 0.227 | 0.193 | 0.797 | — | 0.797 | 29 | |
| CVE-2026-33036 | 0.75 | 0.0 | 0.8 | 0.237 | 0.318 | 0.261 | 0.227 | 0.193 | 0.466 | 0.187 | 157 | ||
| CVE-2026-28291 | 0.81 | 0.0 | 0.5 | 0.002 | 0.318 | 0.261 | 0.227 | 0.193 | 0.372 | 0.149 | 161 |
— Centrality.
with each metric min-max normalized within the case; file-level max over affected files are used for . Impact radius (0.5) measures the fraction of entry points that reach the component; hub score (0.3) captures gateway behavior that impact radius alone misses; eigenvector centrality (0.2) anchors global influence when both are low. For example, handlebars 4.7.8 achieves at file level, where hub and eigenvector centrality together contribute 0.320 beyond the impact-radius term alone. Weights are selected empirically across 30 cases, achieving the highest mean NDCG@10 (0.680) and AUROC (0.914) (§ VI-E). Table III illustrates representative dimension values across all active regimes.
B. AHP Weight Prior and Redistribution
The four dimensions require a weighting scheme that encodes security-engineering judgment and degrades gracefully when dimensions are absent. CAPE uses the Analytic Hierarchy Process (AHP) [41] to derive the baseline weight vector and proportional redistribution to handle absent dimensions.
Baseline AHP Prior. The baseline weight vector is the principal eigenvector of a pairwise comparison matrix on Saaty's 1-9 scale [41], with Consistency Ratio confirming mutual coherence. The ordering reflects evidence dimensions .
Redistribution. When a dimension is structurally absent or evaluates to NaN at score time, its weight redistributes proportionally over the remaining defined dimensions — standard simplex renormalization under , equivalent to Bayesian marginalization. loses (no git commit retrievable), giving weights (0.412, 0.338, NaN, 0.250). retain all four at (0.318, 0.261, 0.227, 0.193); is terminal via ( ). Table III illustrates the effect of redistribution directly: the row (CVE-2026-54267) carries redistributed weights (0.412, 0.338, NaN, 0.250), while the row (CVE-2025-66031) retains under full weights — the weight shift from redistribution alone moves independent of any change in evidence values.
TABLE IV
PRIORITY GATES APPLIED IN FIXED ORDER
| Gate | Trigger | Effect | Rationale |
|---|---|---|---|
| Component absent; no risk possible. | |||
| Soft penalty for static unreachability; preserves signal for unmodelled dynamic dispatch. | |||
| floor: confirmed-exploitable CVEs cannot be outranked via alone. |
Algorithm 3 Priority Scoring
Input: CVE , regime , dimensions , reachability Output: base score , final score , fired gates 1: zero absent dims, renormalization. 2: 3: ; 4: if then 5: ; 6: else if k(f) \in \{\mathcal{R}_3, \mathcal{R}_4, \mathcal{R}_5\} \land r(f) = \text{NOT_REACHABLE} then 7: ; 8: end if 9: if then 10: ; 11: end if 12: return
C. Priority Score and Gates
Base Score. The base score aggregates defined dimensions under the redistributed weight vector as
By the simplex property of and , follows without an explicit clip. Gates then apply hard constraints to , yielding the final priority score .
Priority Gates. Three gates encode hard constraints applied in fixed order (Table IV). The threshold was selected by grid search over optimizing mean NDCG@10 across the 30-case corpus.
OpenClaw. For CVE-2026-33937 (handlebars, ), baseline weights give . No gate fires (, , ), so , or rank 1 in OpenClaw. Table III illustrates gate co-firing via CVE-2026-25896 (fast-xml-parser 5.3.4, rank 17, ): confirmed-buggy code is statically unreachable (), so applies a penalty reducing to 0.228; then floors the score to because .
VI. EVALUATION
CAPE is evaluated on four research questions covering false-positive reduction (RQ1), rank of first confirmed-exploitable (RQ2), ranking quality (RQ3), and model sensitivity and centrality selection (RQ4). All artifacts, code, and evaluation corpus will be available later.
TABLE V
EVALUATION CORPUS WITH NDCG@10 PER RANKER. FP% = STATICALLY UNREACHABLE CVES. BOLD = BEST NDCG@10 PER ROW.
| Case | Project | n | FP% | R2% | R3% | R4% | R5% | CAPE | CVSS | EPSS | EPSS-PCT | KEV |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| C01 | ansible | 10 | 30.0 | 80.0 | 0.0 | 10.0 | 10.0 | 0.642 | 0.340 | 0.451 | 0.451 | 0.340 |
| C02 | browser-use | 35 | 0.0 | 48.6 | 0.0 | 20.0 | 31.4 | 0.946 | 0.194 | 0.557 | 0.557 | 0.194 |
| C03 | openclaw | 161 | 8.7 | 60.9 | 16.8 | 9.9 | 12.4 | 0.746 | 0.293 | 0.223 | 0.223 | 0.293 |
| C04 | n8n | 345 | 75.7 | 63.2 | 27.0 | 7.8 | 2.0 | 0.623 | 0.089 | 0.064 | 0.064 | 0.089 |
| C05 | open-webui | 418 | 3.8 | 56.2 | 14.1 | 15.1 | 14.6 | 0.859 | 0.189 | 0.286 | 0.286 | 0.189 |
| C06 | Flowise | 719 | 39.2 | 51.0 | 23.6 | 10.2 | 15.2 | 0.927 | 0.234 | 0.051 | 0.051 | 0.234 |
| C07 | fast-graphrag | 59 | 13.6 | 22.0 | 3.4 | 42.4 | 32.2 | 0.962 | 0.461 | 0.406 | 0.406 | 0.461 |
| C08 | mindsdb | 227 | 66.1 | 60.8 | 36.6 | 0.4 | 2.2 | 0.414 | 0.040 | 0.113 | 0.113 | 0.040 |
| C09 | autogen | 356 | 53.4 | 37.1 | 26.7 | 9.3 | 27.0 | 0.819 | 0.118 | 0.240 | 0.240 | 0.118 |
| C10 | sentry-python | 23 | 26.1 | 26.1 | 69.6 | 0.0 | 4.3 | 0.679 | 0.320 | 0.342 | 0.342 | 0.320 |
| C11 | textgen | 33 | 0.0 | 33.3 | 0.0 | 57.6 | 9.1 | 0.848 | 0.488 | 0.527 | 0.527 | 0.488 |
| C12 | chat-ollama | 518 | 40.5 | 50.6 | 28.2 | 11.0 | 10.2 | 1.000 | 0.142 | 0.150 | 0.150 | 0.142 |
| C13 | invokeai | 94 | 52.1 | 60.6 | 33.0 | 1.1 | 5.3 | 0.694 | 0.109 | 0.305 | 0.305 | 0.109 |
| C14 | gpt-pilot | 16 | 68.8 | 18.8 | 0.0 | 12.5 | 68.8 | 0.898 | 0.553 | 0.627 | 0.627 | 0.553 |
| C15 | rag_api | 28 | 0.0 | 85.7 | 0.0 | 3.6 | 10.7 | 0.890 | 0.344 | 0.920 | 0.920 | 0.344 |
| C16 | open-interpreter | 114 | 11.4 | 43.0 | 22.8 | 16.7 | 17.5 | 0.353 | 0.173 | 0.132 | 0.132 | 0.173 |
| C17 | OpenHands | 165 | 58.8 | 87.3 | 1.2 | 6.7 | 4.8 | 0.422 | 0.066 | 0.093 | 0.093 | 0.066 |
| C18 | aider | 77 | 10.4 | 59.7 | 5.2 | 11.7 | 23.4 | 0.522 | 0.078 | 0.000 | 0.000 | 0.078 |
| C19 | khoj | 155 | 16.8 | 73.5 | 10.3 | 3.2 | 12.9 | 0.792 | 0.220 | 0.362 | 0.362 | 0.220 |
| C20 | langflow | 260 | 37.7 | 71.5 | 15.0 | 10.4 | 3.1 | 0.000 | 0.022 | 0.041 | 0.041 | 0.022 |
| C21 | RA.Aid | 173 | 34.7 | 39.9 | 31.8 | 15.6 | 12.7 | 0.531 | 0.415 | 0.334 | 0.334 | 0.415 |
| C22 | kimi-code | 186 | 74.2 | 79.0 | 19.9 | 0.5 | 0.5 | 0.280 | 0.000 | 0.000 | 0.000 | 0.000 |
| C23 | cve-lite-cli | 696 | 76.1 | 61.9 | 33.2 | 4.9 | 0.0 | 0.793 | 0.122 | 0.000 | 0.000 | 0.122 |
| C24 | AgentGPT | 193 | 40.4 | 34.2 | 56.0 | 4.7 | 5.2 | 0.024 | 0.207 | 0.305 | 0.305 | 0.207 |
| C25 | aimap | 38 | 60.5 | 65.8 | 2.6 | 15.8 | 15.8 | 0.606 | 0.249 | 0.659 | 0.659 | 0.249 |
| C26 | 9router | 8 | 0.0 | 75.0 | 0.0 | 12.5 | 12.5 | 1.000 | 0.431 | 0.834 | 0.834 | 0.431 |
| C27 | ChatDoc | 268 | 56.0 | 61.2 | 24.6 | 7.8 | 6.3 | 0.785 | 0.130 | 0.061 | 0.061 | 0.130 |
| C28 | ui | 447 | 46.3 | 58.4 | 26.0 | 10.5 | 5.1 | 0.066 | 0.012 | 0.107 | 0.107 | 0.012 |
| C29 | diffusers | 111 | 12.6 | 23.4 | 66.7 | 6.3 | 3.6 | 0.748 | 0.480 | 0.276 | 0.276 | 0.480 |
| C30 | IOPaint | 205 | 6.8 | 49.8 | 18.5 | 20.5 | 11.2 | 0.843 | 0.189 | 0.176 | 0.176 | 0.189 |
| All | 6,138 | 43.3 | ||||||||||
| Mean | 0.657 | 0.224 | 0.288 | 0.288 | 0.224 | |||||||
| CAPE > | - | 28/30 | 25/30 | 25/30 | 28/30 | |||||||
A. Corpus and Experimental Setup
Table V describes the 30-software evaluation corpus spanning Python (n=18), TypeScript (n=11), and JavaScript (n=1), with 6,138 scanner-reported CVEs in total. Software have a range of sizes (8–719 CVEs), ecosystems, and dependency structures. Each project is built locally from source, SBOMs are generated via syft, and scanned with grype.
Four baselines represent current practice, each ranking by a single public signal. CVSS ranks by cvss_base descending. EPSS ranks by epss descending. EPSS-pct ranks by epss_percentile descending. KEV places KEV-listed CVEs first with CVSS as a baseline. In the absence of analyst labels, relevance grades are derived from regime and reachability, both independent of and :
Grade 3 captures the strongest signal where buggy code is present and reachable, termed as confirmed-exploitable CVE. Grade 0 covers - and all unreachable CVEs without code evidence. is independent of and preventing self-evaluation.
Metrics. FPR (RQ1): fraction of CVEs where . MRFTP (RQ2): rank of the first confirmed-exploitable CVE in the output list — lower is better, with sentinel when no CVE exists. NDCG@k (RQ3): discounted cumulative gain with as the relevance weight and as the position discount, evaluated at . AUROC (RQ3): binary label
2] computed via Mann–Whitney U. Kendall (RQ4): tie-corrected rank correlation for weight sensitivity.
B. RQ1: Scanner False-Positive Rate
Finding. Across 6,138 CVEs in 30 projects, 2,656 (43.3%) are statically unreachable and constitute context-aware false positives. The per-project rate spans 0.0% (C02, C11, C15, C26) to 76.1% (C23) as illustrated in Table V (FP%).
TypeScript and JavaScript projects average 53.1% false positives (range 0.0%–76.1%) versus 27.4% for Python (range 0.0%–68.8%). npm projects install large node_modules/trees containing build-time and development-time packages — bundlers, transpilers, linters — that are never called or used in actual projects. grype reports CVEs against every installed package, and correctly identifies these as unreachable. Python projects have tighter dependency trees where most installed packages are actively imported at runtime.
C23 is the most severe case where 530 of 696 CVEs (76.1%) are unreachable, with no confirmed-exploitable CVEs in the corpus. A developer working from the raw scanner output would examine all 696 CVEs and find none operationally relevant. At the other end, C26, C02, C11, C15 report 0.0% unreachable CVEs.
Impact. Without reachability analysis, 43.3% of the remediation effort across the corpus is spent on CVEs that are not reachable or exploitable in the deployed application.
RQ1. 43.3% of scanner-reported CVEs are statically unreachable (TypeScript/JavaScript: 53.1%; Python: 27.4%). The rate reaches 76.1% in the most extreme case (C23, cve-lite-cli).
C. RQ2: Rank of First Confirmed-Exploitable CVE
Finding. Mean Rank of First True Positive (MRFTP) measures how early a scoring system surfaces a confirmed-exploitable CVE, so only the 29 projects containing at least one reachable CVE are included. Of the 29 projects with at least one CVE, CAPE achieves strictly lower MRFTP than all baselines in 19 cases, ties in 7, and loses in 3. Against CVSS alone, CAPE wins 24 times, ties 3, and loses 2. Across the 19 outright wins, mean MRFTP falls from 23.4 (CVSS) to 3.3 (CAPE), an reduction, with 11 of 19 wins at MRFTP = 1.
Win pattern. In all 18 cases where CAPE achieves MRFTP = 1, the rank-1 item is an CVE carrying (statically reachable) and (commit-confirmed exploitable) with no gate penalty applied. The lift over severity ranking is independent of CVSS: in 8 of the 18 cases the rank-1 CVE has ir = LOW, yet reachability and confirmation alone carry it to the top. The displacements are large — CVE-2026-24486 (python-multipart, C08/mindsdb) rises from CVSS rank 25 to rank 1; CVE-2026-34993 (aiohttp, C02/browser-use) and CVE-2026-42311 (pillow, C18/aider) from rank 18 to rank 1; CVE-2025-66471 (urllib3, C09/autogen) from rank 15 to rank 1. C22 (kimi-code, cves=186) holds a single CVE (CVE-2026-8723, qs) that CVSS buries at rank 133 and at rank 107; CAPE places it at rank 6 — floored by Gate
TABLE VI MRFTP PER CASE (29 CASES WITH ). BOLD = LOWEST MRFTP PER ROW. CAPE WINS ALL BASELINES ; TIE ; CAPE LOSES .
| Case | n | R5% | CAPE | CVSS | EPSS | EPSS-PCT | KEV | Outcome |
|---|---|---|---|---|---|---|---|---|
| C01 | 10 | 10.0 | 2 | 10 | 4 | 4 | 10 | CAPE |
| C04 | 345 | 2.0 | 7 | 66 | 23 | 23 | 66 | CAPE |
| C05 | 418 | 14.6 | 1 | 9 | 2 | 2 | 9 | CAPE |
| C06 | 719 | 15.2 | 1 | 4 | 29 | 29 | 4 | CAPE |
| C07 | 59 | 32.2 | 1 | 2 | 3 | 3 | 2 | CAPE |
| C08 | 227 | 2.2 | 1 | 26 | 8 | 8 | 26 | CAPE |
| C10 | 23 | 4.3 | 3 | 22 | 14 | 14 | 22 | CAPE |
| C11 | 33 | 9.1 | 1 | 8 | 5 | 5 | 8 | CAPE |
| C12 | 518 | 10.2 | 1 | 6 | 12 | 12 | 6 | CAPE |
| C16 | 114 | 17.5 | 3 | 6 | 8 | 8 | 6 | CAPE |
| C17 | 165 | 4.8 | 2 | 9 | 7 | 7 | 9 | CAPE |
| C18 | 77 | 23.4 | 1 | 6 | 15 | 15 | 6 | CAPE |
| C20 | 260 | 3.1 | 19 | 77 | 123 | 123 | 77 | CAPE |
| C22 | 186 | 0.5 | 6 | 150 | 107 | 107 | 150 | CAPE |
| C26 | 8 | 12.5 | 1 | 7 | 2 | 2 | 7 | CAPE |
| C27 | 268 | 6.3 | 1 | 9 | 14 | 14 | 9 | CAPE |
| C28 | 447 | 5.1 | 9 | 18 | 18 | 18 | 18 | CAPE |
| C29 | 111 | 3.6 | 1 | 4 | 18 | 18 | 4 | CAPE |
| C30 | 205 | 11.2 | 1 | 5 | 13 | 13 | 5 | CAPE |
| C02 | 35 | 31.4 | 1 | 11 | 1 | 1 | 11 | tie |
| C03 | 161 | 12.4 | 1 | 1 | 3 | 3 | 1 | tie |
| C09 | 356 | 27.0 | 1 | 7 | 1 | 1 | 7 | tie |
| C13 | 94 | 5.3 | 1 | 6 | 1 | 1 | 6 | tie |
| C14 | 16 | 68.8 | 1 | 1 | 1 | 1 | 1 | tie |
| C15 | 28 | 10.7 | 1 | 2 | 1 | 1 | 2 | tie |
| C19 | 155 | 12.9 | 1 | 1 | 1 | 1 | 1 | tie |
| C21 | 173 | 12.7 | 3 | 4 | 2 | 2 | 4 | EPSS/EPSS-PCT |
| C24 | 193 | 5.2 | 23 | 10 | 30 | 30 | 10 | CVSS/KEV |
| C25 | 38 | 15.8 | 4 | 2 | 1 | 1 | 2 | EPSS/EPSS-PCT |
to but lifted above 100 positions because it is reach confirmed, beating every baseline.
Loss pattern. In all three losses, CAPE surfaces a different than the winning baseline, never a worse regime overall. Two of the three (C24 AgentGPT, C25 aimap) share one case's only CVE is statically unreachable () — CVE-2024-37891 (urllib3) in C24 and CVE-2026-24486 (python-multipart) in C25. Gate applies a penalty and Gate floors each to , so reachable findings () rank ahead: CAPE places the first true positive at rank 23 (C24) and (C25), while EPSS (rank 10) and KEV (rank 1) ignore reachability entirely. This is the intended trade-off — a confirmed-buggy but unreachable CVE is deprioritised relative to reachable findings. C21 (RA.Aid, cves=173) is an intra-ranking margin, not a error: CAPE's first CVE (CVE-2025-68664, langchain-core, , , ) is reachable and ungated, but two reachable litellm CVEs (CVE-2026-49468, ; CVE-2026-35030, ) edge it by score, putting the first true positive at rank 3 versus EPSS rank 2.
RQ2. CAPE achieves an 86.0% reduction in mean MRFTP across 19 outright wins (3.3 vs. 23.4 for CVSS), with 11 of 19 at MRFTP = 1. Against CVSS alone: 24 wins, 3 ties, 2 losses. The three remaining losses are intra- ordering disagreements — CAPE selects a more context-aware CVE rather than the highest-severity one.
D. RQ3: Ranking Quality
Finding. CAPE achieves mean AUROC 0.911 versus 0.463 for CVSS, winning 30/30 cases, and mean NDCG@10 0.657 versus 0.224 for CVSS, winning 28/30 cases.
CAPE consistently separates high-evidence CVEs from low-evidence ones better than severity-only ordering across the corpus. C10 (sentry-python) is the most extreme case (AUROC =0.045, AUROC =0.909): the confirmed-
TABLE VII NDCG AND AUROC RANKING METRICS ACROSS 30 CASES.
| Metric | CAPE | CVSS | EPSS | KEV |
|---|---|---|---|---|
| NDCG@5 | 0.651 | 0.171 | 0.271 | 0.171 |
| NDCG@10 | 0.657 | 0.224 | 0.288 | 0.224 |
| NDCG@all | 0.821 | 0.577 | 0.644 | 0.577 |
| AUROC | 0.911 | 0.463 | 0.579 | 0.463 |
| CAPE wins (NDCG@10) | — | 28/30 | 25/30 | 28/30 |
| CAPE wins (AUROC) | — | 30/30 | 29/30 | 30/30 |
TABLE VIII CENTRALITY VARIANT COMPARISON (30 CASES).
| Variant | NDCG@10 | AUROC | Beat-N10 | Beat-AU | |
|---|---|---|---|---|---|
| baseline (0.6 · ir+0.4 · ev) | 0.477 | 0.842 | — | 0 | 0 |
| impact_radius (ir) | 0.445 | 0.824 | 0.979 | 4 | 1 |
| hub_score (hub) | 0.774 | 0.929 | 0.761 | 23 | 26 |
| authority_score (auth) | 0.713 | 0.947 | 0.779 | 22 | 28 |
| eigenvector (ev) | 0.627 | 0.931 | 0.799 | 19 | 25 |
| fan_in (fi) | 0.642 | 0.926 | 0.802 | 20 | 26 |
| fan_out (fo) | 0.549 | 0.881 | 0.754 | 16 | 22 |
| Selection_3a (0.5 · ir+0.3 · hub+0.2 · ev) | 0.653 | 0.911 | 0.906 | 21 | 26 |
| Selection_3b (0.5 · ir+0.3 · auth+0.2 · ev) | 0.643 | 0.916 | 0.903 | 21 | 28 |
exploitable CVE carries only a modest CVSS score, so severity ordering is almost perfectly inverted relative to operational relevance, while CAPE's reachability evidence and Gate surface it and demote the unreachable CVEs. Table V reports per-case NDCG@10. Table VII gives aggregate means across all metrics. CAPE wins or ties AUROC in every case: it strictly beats CVSS and KEV in all 30 and EPSS in 29, with the sole non-win a tie against EPSS at C26 (both AUROC=1.000 on that 8-CVE project). Please note that EPSS-pct produces near-identical AUROC and NDCG@10 rankings to EPSS.
RQ3. CAPE achieves mean AUROC 0.911 vs. 0.463 (CVSS), winning 30 of 30 cases. On NDCG@10: mean 0.657 vs. 0.224 (CVSS), winning 28 of 30 cases. EPSS outperforms CAPE on NDCG@10 in 5 of 30 cases, mostly where CAPE's top ten holds few graded-relevant items.
E. RQ4: Weight Sensitivity and Centrality Metric Selection
RQ4 has two components: the influence of the weight vector on CAPE's ranking, and centrality metric selection for . AHP Weight Sensitivity. We grid-search valid weight vectors over the four dimensions (step 0.05) on C03 (OpenClaw, ), the running example, which spans all four active regimes (). The optima concentrate mass on (code evidence) and are degenerate—multiple vectors reach NDCG@10 = 1.000. Please note that we have also performed on-at-a-time (OAT) weight sensitivity across 30 cases. The median ranking is stable ( for every dimension).
Centrality Metric Selection. We evaluate each centrality configuration across all 30 cases with all other scoring parameters fixed (Table VIII). Every alternative improves on the deployed baseline blend (0.6 · ir+0.4 · ev: NDCG@10 0.477, AUROC 0.842). hub is the single strongest metric on NDCG@10 (0.774) and auth on AUROC (0.947). We adopt Selection_3a (0.5 · ir+0.3 · hub+0.2 · ev), which lifts NDCG@10 to 0.653 and AUROC to 0.911 and beats the baseline in 21 of 30 cases (NDCG@10) and 26 of 30 (AUROC): anchoring hub score with ir retains hub's complementary signal while ir constrains the ordering where hub score is uninformative.
TABLE IX PAIRWISE KENDALL BETWEEN CENTRALITY VARIANTS (MEAN OVER 30 CASES).
| impact_radius | eigenvector | hub | authority | fan_in | fan_out | baseline | Selection_3a | Selection_3b | |
|---|---|---|---|---|---|---|---|---|---|
| impact_radius | 1.000 | 0.778 | 0.759 | 0.764 | 0.782 | 0.745 | 0.979 | 0.895 | 0.882 |
| eigenvector | 0.778 | 1.000 | 0.866 | 0.949 | 0.978 | 0.842 | 0.799 | 0.857 | 0.889 |
| hub | 0.759 | 0.866 | 1.000 | 0.883 | 0.861 | 0.908 | 0.761 | 0.850 | 0.816 |
| authority | 0.764 | 0.949 | 0.883 | 1.000 | 0.951 | 0.849 | 0.779 | 0.842 | 0.874 |
| fan_in | 0.782 | 0.978 | 0.861 | 0.951 | 1.000 | 0.839 | 0.802 | 0.858 | 0.888 |
| fan_out | 0.745 | 0.842 | 0.908 | 0.849 | 0.839 | 1.000 | 0.754 | 0.817 | 0.799 |
| baseline | 0.979 | 0.799 | 0.761 | 0.779 | 0.802 | 0.754 | 1.000 | 0.906 | 0.903 |
| Selection_3a | 0.895 | 0.857 | 0.850 | 0.842 | 0.858 | 0.817 | 0.906 | 1.000 | 0.956 |
| Selection_3b | 0.882 | 0.889 | 0.816 | 0.874 | 0.888 | 0.799 | 0.903 | 0.956 | 1.000 |
As shown in Table IX, between ir and baseline confirms the prior term contributed negligible ordering signal. ev, authority, and fan_in form a tight cluster (all pairwise , ev and fan_in reaching 0.978), ranking findings near-identically. hub_score is the most distinct centrality metric ( with that cluster, 0.761 with baseline), which is why it supplies the complementary signal exploited by Selection_3a. Selection_3a and Selection_3b remain closely aligned (), differing only in hub vs authority score.
RQ4. The median ranking of OAT weight sensitivity across 30 cases is stable ( for every dimension), validating the prior as the deployment-appropriate weight vector. For centrality, every metric improves on the deployed baseline blend; we adopt Selection_3a (: NDCG@10 0.653, AUROC 0.911, beating baseline in 21/30 and 26/30 cases) because hub score supplies the key complementary signal, distinct from the near-interchangeable ev/authority/fan_in cluster ().
VII. THREATS TO VALIDITY
Internal. We use statically reachable, confirmed-buggy CVEs as a ground truth to compare CAPE with CVSS, EPSS, and KEV, since no analyst-labeled dataset exists for specific software, which introduces a partial self-evaluation risk. We reduce this by excluding severity and centrality from grade assignment.
External. Current evaluation covers only Python, TypeScript, and JavaScript. How well CAPE generalises to other compiled languages (c/c++, ruby, go etc.) remains as future work.
Construct. MRFTP and NDCG@10 measure how early confirmed-exploitable CVEs appear in the ranked list, but whether acting on that ranking actually reduced real-world risk depends on factors outside our study, such as patch availability, developer capacity, and deployment timelines.
VIII. CONCLUSION
In this work we address a critical gap in vulnerability patching – prioritization based on CVSS, EPSS, KEV scores alone ignores the deployment context that determines whether a CVE is actually reachable and exploitable in a specific software. We presented CAPE, a context-aware prioritization engine that enriches each scanner-reported CVE with deployment-specific evidence to perform vulnerability reachability, centrality, and exploitability analysis, producing a VEX style regime-adaptive priority score for CVEs. We evaluated CAPE on 30 open-source applications comprising 6,138 scanner-reported CVEs. CAPE shows that 43.3% mean CVEs across 6,138 are statically unreachable and exploitable (context-aware false positives) across deployed applications. CAPE reduces the mean rank of the first (MRFTP) confirmed-exploitable CVE by 86.0% compared to CVSS, demonstrating that deployment-specific code evidence provides substantially more accurate remediation guidance than context-free severity scoring alone. Future work includes extending CAPE to handle languages other than python, js/ts and a user study with developers to find if CAPE is more useful than other scoring models.
REFERENCES
[1] S. L. France, “Navigating software development in the ChatGPT and GitHub Copilot era,” Business horizons, vol. 67, no. 5, pp. 649–661, 2024.
[2] V. Stray, A. Barbala, and V. T. Wivestad, “Human-AI Collaboration in Software Development: A Mixed-Methods Study of Developers’ Use of GitHub Copilot and ChatGPT,” in Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering, 2025, pp. 1325–1332.
[3] R. Robbes, T. Matricon, T. Degueule, A. Hora, and S. Zacchiroli, "Agentic Much? Adoption of Coding Agents on GitHub," arXiv preprint arXiv:2601.18341, 2026.
[4] H. Li, H. Zhang, and A. E. Hassan, “The Rise of AI Teammates in Software Engineering (SE) 3.0: How Autonomous Coding Agents Are Reshaping Software Engineering,” arXiv preprint arXiv:2507.15003, 2025.
[5] R. Podder, R. F. G. Arellano, and I. Ray, “Hidden amplifiers: Cross-level risk in software supply chains,” arXiv preprint arXiv:2607.05894, 2026.
[6] H. Chase, “Langchain,” https://github.com/langchain-ai/langchain, 2022, released: 2022-10-17; Accessed: 2026-06-15.
[7] Significant Gravitas, “AutoGPT,” https://github.com/Significant-Gravitas/AutoGPT, software; Accessed: 2026-06-15.
[8] CrewAI Inc., “CrewAI: Fast and Flexible Multi-Agent Automation Framework,” https://github.com/crewAIInc/crewAI, software; Accessed: 2026-06-15.
[9] J. Stringer, A. Tahir, K. Blincoe, and J. Dietrich, “Technical Lag of Dependencies in Major Package Managers,” in 2020 27th Asia-Pacific Software Engineering Conference (APSEC). IEEE, 2020, pp. 228–237.
[10] T. Mens and A. Decan, “An Overview and Catalogue of Dependency Challenges in Open Source Software Package Registries,” arXiv preprint arXiv:2409.18884, 2024.
[11] D. Jayasuriya, S. Ou, S. Hegde, V. Terragni, J. Dietrich, and K. Blincoe, "An extended study of syntactic breaking changes in the wild," Empirical Software Engineering, vol. 30, no. 2, p. 42, 2025.
[12] P. Abate, R. Di Cosmo, G. Gousios, and S. Zacchiroli, “Dependency Solving Is Still Hard, but We Are Getting Better at It,” in 2020 IEEE 27th International Conference on Software Analysis, Evolution and Reengineering (SANER). IEEE, 2020, pp. 547–551.
[13] B. Chinthanet, R. G. Kula, S. McIntosh, T. Ishio, A. Ihara, and K. Matsumoto, “Lags in the release, adoption, and propagation of npm vulnerability fixes,” Empirical Software Engineering, vol. 26, no. 3, p. 47, 2021.
[14] I. Pashchenko, H. Plate, S. E. Ponta, A. Sabetta, and F. Massacci, "Vulnerable Open Source Dependencies: Counting Those That Matter," in Proceedings of the 12th ACM/IEEE international symposium on empirical software engineering and measurement, 2018, pp. 1–10.
[15] L. Zhao, S. Chen, Z. Xu, C. Liu, L. Zhang, J. Wu, J. Sun, and Y. Liu, “Software Composition Analysis for Vulnerability Detection: An Empirical Study on Java Projects,” in Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering, 2023, pp. 960–972.
[16] J. Dietrich, S. Rasheed, A. Jordan, and T. White, “On the Security Blind Spots of Software Composition Analysis,” in Proceedings of the 2024 Workshop on Software Supply Chain Offensive Research and Ecosystem Defenses, 2023, pp. 77–87.
[17] X. Zhan, L. Fan, S. Chen, F. We, T. Liu, X. Luo, and Y. Liu, "ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications," in 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE). IEEE, 2021, pp. 1695–1707.
[18] Z. Han, X. Li, Z. Xing, H. Liu, and Z. Feng, “Learning to Predict Severity of Software Vulnerability Using Only Vulnerability Description,” in 2017 IEEE International Conference on Software Maintenance and Evolution (ICSME). Los Alamitos, CA, USA: IEEE Computer Society, Sep. 2017, pp. 125–136. [Online]. Available: https://doi.ieeecomputersociety.org/10.1109/ICSME.2017.52
[19] Anchore, “Syft,” https://github.com/anchore/syft, software; Accessed: 2026-06-15.
[20] Aqua Security, “Trivy,” https://github.com/aquasecurity/trivy, software; Accessed: 2026-06-15.
[21] Anchore, “Grype,” https://github.com/anchore/grype, software; Accessed: 2026-06-15.
[22] Open Source Security Foundation, “CVE Binary Tool,” https://github.com/ossf/cve-bin-tool, software; Accessed: 2026-06-15.
[23] NIST, “National Vulnerability Database,” 2026. [Online]. Available: https://nvd.nist.gov
[24] Google, “Open Source Vulnerabilities (OSV),” 2026. [Online]. Available: https://osv.dev
[25] The MITRE Corporation, “CVE Metrics,” https://www.cve.org/About/Metrics, 2025, accessed: 2025-08-04.
[26] D. Wermke, N. Wöhler, J. H. Klemmer, M. Fourné, Y. Acar, and S. Fahl, “Committed to Trust: A Qualitative Study on Security & Trust in Open Source Software Projects,” in 2022 IEEE symposium on Security and Privacy (SP). IEEE, 2022, pp. 1880–1896.
[27] FIRST.org, “Exploit Prediction Scoring System (EPSS),” 2026. [Online]. Available: https://www.first.org/epss
[28] CISA, “Known Exploited Vulnerabilities Catalog,” 2026. [Online]. Available: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
[29] Forum of Incident Response and Security Teams, “Common Vulnerability Scoring System Version 4.0: Specification Document,” https://www.first.org/cvss/v4.0/specification-document, 2023, accessed: 2026-06-15.
[30] —, “Common Vulnerability Scoring System Version 3.1: Specification Document,” https://www.first.org/cvss/v3.1/specification-document, 2019, accessed: 2026-06-15.
[31] H. Assal and S. Chiasson, “Security in the Software Development Lifecycle,” in Fourteenth symposium on usable privacy and security (SOUPS 2018), 2018, pp. 281–296.
[32] V. Bandara, T. Rathnayake, N. Weerasekara, C. Elvitigala, K. Thilakarathna, P. Wijesekera, K. De Zoysa, and C. Keppitiyagama, “Large Scale Analysis on Vulnerability Remediation in Open-source JavaScript Projects,” in Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security, 2021, pp. 2447–2449.
[33] Ponemon Institute, “Ponemon study on the challenging state of vulnerability management,” https://www.balbix.com/press-releases/ponemon-report-on-vulnerability-management-challenges/, 2020, accessed: 2025-07-14.
[34] B. Jung, Y. Li, and T. Bechor, “CAVP: A context-aware vulnerability prioritization model,” Computers & Security, vol. 116, p. 102639, 2022.
[35] V. Ahmadi Mehri, P. Arlos, and E. Casalicchio, “Automated context-aware vulnerability risk management for patch prioritization,” Electronics, vol. 11, no. 21, p. 3580, 2022.
[36] J. Jiang, L. Ding, E. Zhai, and T. Yu, “VRank: A Context-Aware Approach to Vulnerability Scoring and Ranking in SOA,” in 2012 IEEE Sixth International Conference on Software Security and Reliability. IEEE, 2012, pp. 61–70.
[37] G. Siewruk and W. Mazurczyk, “Context-Aware Software Vulnerability Classification Using Machine Learning,” IEEE Access, vol. 9, pp. 88 852–88 867, 2021.
[38] P.-C. Huang, C.-H. Mao, and C.-M. Lai, “AegisGuard: A Context-Aware Framework for Semantic Vulnerability Detection and Risk Stratification,” IEEE Access, 2026.
[39] C. Soto-Valero, N. Harrand, M. Monperrus, and B. Baudry, “A comprehensive study of bloated dependencies in the Maven ecosystem,” Empirical Software Engineering, vol. 26, no. 3, p. 45, 2021.
[40] A. Dann, H. Plate, B. Hermann, S. E. Ponta, and E. Bodden, “Identifying Challenges for OSS Vulnerability Scanners - A Study & Test Suite,” IEEE Transactions on Software Engineering, vol. 48, no. 9, pp. 3613–3625, 2021.
[41] R. W. Saaty, “The analytic hierarchy process—what it is and how it is used,” Mathematical modelling, vol. 9, no. 3-5, pp. 161–176, 1987.
[42] CISA, “Vulnerability Exploitability eXchange (VEX) – Use Cases,” 2026. [Online]. Available: https://www.cisa.gov/sites/default/files/publications/VEX_Use_Cases_Document_508c.pdf
[43] V. Koscinski, M. Nelson, A. Okutan, R. Falso, and M. Mirakhorli, “Conflicting Scores, Confusing Signals: An Empirical Study of Vulnerability Scoring Systems,” in Proceedings of the 2025 ACM SIGSAC Conference on Computer and Communications Security, 2025, pp. 1904–1918.
[44] J. Jacobs, S. Romanosky, B. Edwards, I. Adjerid, and M. Roytman, "Exploit Prediction Scoring System (EPSS)," Digital Threats: Research and Practice, vol. 2, no. 3, pp. 1–17, 2021.
[45] J. Jacobs, S. Romanosky, O. Suciu, B. Edwards, and A. Sarabi, "Enhancing Vulnerability Prioritization: Data-Driven Exploit Predictions with Community-Driven Insights," in 2023 IEEE European symposium on security and privacy workshops (euroS&pW). IEEE, 2023, pp. 194–206.
[46] O. Suciu, C. Nelson, Z. Lyu, T. Bao, and T. Dumitras, “Expected Exploitability: Predicting the Development of Functional Vulnerability Exploits,” in 31st USENIX Security Symposium (USENIX Security 22), 2022, pp. 377–394.
[47] A. Sharma, S. Sabharwal, and S. Nagpal, “A hybrid scoring system for prioritization of software vulnerabilities,” Computers & Security, vol. 129, p. 103256, 2023.
[48] N. Shimizu and M. Hashimoto, “Vulnerability Management Chaining: An Integrated Framework for Efficient Cybersecurity Risk Prioritization,” IEEE Access, 2026.
[49] M. Albanese, I. Iganibo, and O. Adebiyi, “A framework for designing vulnerability metrics,” Computers & Security, vol. 132, p. 103382, 2023.
[50] K. A. Farris, A. Shah, G. Cybenko, R. Ganesan, and S. Jajodia, "VULCON: A System for Vulnerability Prioritization, Mitigation, and Management," ACM Transactions on Privacy and Security (TOPS), vol. 21, no. 4, pp. 1–28, 2018.
[51] Y. Jiang, N. Oo, Q. Meng, H. W. Lim, and B. Sikdar, “A Survey on Vulnerability Prioritization: Taxonomy, Metrics, and Research Challenges,” arXiv preprint arXiv:2502.11070, 2025.
[52] J. M. Spring, A. Householder, E. Hatleback, A. Manion, M. Oliver, V. Sarvapalli, L. Tyzenhaus, and C. Yarbrough, “Prioritizing vulnerability response: A stakeholder-specific vulnerability categorization (version 2.0),” 2021.
[53] P. Deng, L. Zhang, Y. Meng, Z. Yang, and Y. Zhang, “{ChainFuzz}: Exploiting Upstream Vulnerabilities in {Open-Source} Supply Chains,” in 34th USENIX Security Symposium (USENIX Security 25), 2025, pp. 6199–6218.
[54] R. G. Kula, D. M. German, A. Ouni, T. Ishio, and K. Inoue, “Do developers update their library dependencies? An empirical study on the impact of security advisories on library migration,” Empirical Software Engineering, vol. 23, no. 1, pp. 384–417, 2018.
[55] Y. Wang, B. Chen, K. Huang, B. Shi, C. Xu, X. Peng, Y. Wu, and Y. Liu, “An Empirical Study of Usages, Updates and Risks of Third-Party Libraries in Java Projects,” in 2020 IEEE International conference on software maintenance and evolution (ICSME). IEEE, 2020, pp. 35–45.
[56] Z. Ma, S. Mondal, T.-H. Chen, H. Zhang, and A. E. Hassan, “VulNet: Towards improving vulnerability management in the Maven ecosystem,” Empirical Software Engineering, vol. 29, no. 4, p. 83, 2024.
[57] A. Sabetta and M. Bezzi, “A Practical Approach to the Automatic Classification of Security-Relevant Commits,” in 2018 IEEE International conference on software maintenance and evolution (ICSME). IEEE, 2018, pp. 579–582.
[58] F. Li and V. Paxson, “A Large-Scale Empirical Study of Security Patches,” in Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, 2017, pp. 2201–2215.
[59] G. Bhandari, A. Naseer, and L. Moonen, “CVEfixes: Automated Collection of Vulnerabilities and Their Fixes from Open-Source Software,” in Proceedings of the 17th International Conference on Predictive Models and Data Analytics in Software Engineering, 2021, pp. 30–39.
[60] S. Liao, C. Wilson, L. Cheng, H. Hu, and H. Deng, “Measuring the Effectiveness of Privacy Policies for Voice Assistant Applications,” in Proceedings of the 36th Annual Computer Security Applications Conference, 2020, pp. 856–869.
[61] A. Feldthaus, M. Schäfer, M. Sridharan, J. Dolby, and F. Tip, “Efficient Construction of Approximate Call Graphs for JavaScript IDE Services,” in 2013 35th International conference on software engineering (ICSE). IEEE, 2013, pp. 752–761.
[62] M. Madsen, B. Livshits, and M. Fanning, “Practical Static Analysis of JavaScript Applications in the Presence of Frameworks and Libraries,” in Proceedings of the 2013 9th Joint Meeting on Foundations of Software Engineering, 2013, pp. 499–509.
[63] K. Ali and O. Lhoták, “AVERROES: Whole-Program Analysis without the Whole Program,” in European Conference on Object-Oriented Programming. Springer, 2013, pp. 378–400.
[64] OpenClaw, “OpenClaw,” https://github.com/openclaw/openclaw, 2026, GitHub repository. Accessed: 2026-06-20.
[65] GitHub, “About the Dependency Graph,” https://docs.github.com/en/code-security/concepts/supply-chain-security/dependency-graph, accessed: 2026-06-19.
[66] L. Zhou, M. Dacier, and C. Konstantinou, “A reality check on sbomb-based vulnerability management: An empirical study and a path forward,” arXiv preprint arXiv:2511.20313, 2025.
[67] M. Brunsfeld, A. Qureshi, A. Hlynskyi, W. Lillis, ObserverOfTime, C. Clason, dundargoc, P. Turnbull, T. Clem, D. Creager, A. Helwer, A. Delpeuch, R. Bruins, D. Kavolis, M. Davis, Ika, bfredl, T.-A. Nguyen, A. Ya, S. Brunk, A. Krinitsyn, M. Massicotte, N. Hasabnis, R. Rix, J. McCoy, M. Dong, S. Moelius, S. Kalt, and J. Vera, “tree-sitter/tree-sitter: v0.26.9,” May 2026. [Online]. Available: https://doi.org/10.5281/zenodo.20293153
APPENDIX A
ONE-AT-A-TIME WEIGHT SENSITIVITY (30 CASES)
For each evidence dimension we scale its prior weight with , renormalise the remaining weights, re-score, and measure Kendall against the unperturbed ranking. Figure 4 reports the distribution across all 30 cases; Table X summarises it.

Fig. 4. OAT weight sensitivity across 30 cases. The median ranking is stable ( for every dimension), but halving the exploitability ( ) or centrality ( ) weight destabilises a sizeable minority of cases (tails reaching and 0.76). Reachability ( ) and code-evidence ( ) are robust to perturbation.
TABLE X PER-DIMENSION OAT SUMMARY ACROSS 30 CASES.
| Dim. | β | median τb | min τb | mean τb | cases <0.90 |
|---|---|---|---|---|---|
| φ1 Exploit. | 0.5 | 0.938 | 0.829 | 0.934 | 8 |
| φ1 Exploit. | 1.5 | 0.954 | 0.839 | 0.943 | 6 |
| φ2 Reach. | 0.5 | 0.965 | 0.926 | 0.966 | 0 |
| φ2 Reach. | 1.5 | 0.986 | 0.852 | 0.979 | 1 |
| φ3 Code Ev. | 0.5 | 0.975 | 0.852 | 0.969 | 1 |
| φ3 Code Ev. | 1.5 | 0.980 | 0.928 | 0.977 | 0 |
| φ4 Central. | 0.5 | 0.942 | 0.760 | 0.923 | 10 |
| φ4 Central. | 1.5 | 0.976 | 0.901 | 0.972 | 0 |
Takeaway. Sensitivity is asymmetric and concentrated: CAPE's ranking is stable to most weight perturbations, but and carry the decisive intra-regime ordering signal — halving either moves more than a third of cases below the stability threshold. This corpus-wide view confirms (and generalises) the single-case analysis referenced in the paper.
Where this fits. This section elaborates RQ4 (weight sensitivity). The paper reports a single representative sensitivity result; here the same one-at-a-time perturbation is run over all 30 cases so the reader can see the full distribution rather than a point estimate. It is computed only from the frozen per-case scores and the deployed AHP prior — no new tuning. It lets us verify two things the paper asserts but does not fully visualise: that the ranking is globally stable to weight noise, and that the stability is not uniform — and are the load-bearing dimensions for intra-regime order. That asymmetry is the empirical justification for treating those two weights as the ones worth setting carefully.
APPENDIX B
DROP-ONE-DIMENSION ABLATION (30 CASES)
We remove each dimension from the active set, renormalise the surviving weights, and measure the change in ranking quality relative to the full model (Figure 5).

Fig. 5. Mean NDCG@10 and AUROC when each dimension is dropped (error bars: population s.d. over 30 cases). Removing exploitability ( ) or code-evidence ( ) degrades both metrics ( AUROC -0.066 and -0.065), confirming they carry non-redundant ranking signal. Reachability ( ) is largely subsumed by the G2 reachability gate, so dropping it as a scoring term is metric-neutral; the blast-rating is likewise near-neutral on average while still driving the OAT tail behaviour of A.
Takeaway. The two evidence dimensions that most distinguish CAPE from severity-only ranking — proven exploitability and concrete code evidence — are also the ones whose removal hurts most. Reachability acts primarily through the gate rather than the weighted score, which is why it is robust under OAT yet metric-neutral under ablation.
Where this fits. This section also elaborates RQ4, but from the complementary angle of necessity rather than sensitivity: OAT ( A) perturbs a weight, whereas this drops a dimension entirely and re-measures ranking quality ( NDCG@10, AUROC) against the full 4-dimensional model. It is computed by rescoring all 30 cases with each removed and the survivors renormalised. It lets us confirm that every retained dimension earns its place — the model is not carrying redundant terms — and, read together with Appendix A, it explains the apparent paradox of : robust under weight perturbation yet harmless to drop, because its real work is done by the G2 gate. This pairing is the evidence behind the paper's claim that the four dimensions are non-redundant.
APPENDIX C
REACHABILITY-PENALTY ( ) SENSITIVITY
The G2 gate multiplies the score of a not-reachable finding in by (deployed ). Figure 6 sweeps .

Fig. 6. Corpus-mean NDCG@10 and AUROC as a function of the G2 reachability-penalty multiplier . Quality rises as unreachable findings are demoted, plateaus through the deployed value , showing the choice sits on a stable shoulder rather than a sharp optimum.
What this shows and why it is here. The deployed score uses a single hand-set constant, , for the G2 reachability penalty: findings that the call-graph analysis cannot reach in regimes have their score multiplied by rather than zeroed. A reviewer could reasonably ask whether that number was reverse-engineered to flatter the results. This figure answers that: it sweeps the full range and plots corpus-mean ranking quality. The curve rises monotonically as unreachable findings are demoted (confirming the gate helps at all), then flattens into a broad plateau that contains 0.40 — so quality is insensitive to the exact value across a wide band, and the deployed choice is not a fragile optimum. This is a gate-constant robustness check that has no counterpart in the main paper; it is supplementary-only evidence that the G2 design is sound, not a tuned artefact. (It is one of the two analyses we keep here rather than fold into RQ4, the other being the grid degeneracy of §D.)
APPENDIX D WEIGHT GRID SEARCH
What this shows and why it is here. This is the exhaustive counterpart to the local OAT perturbation of §A: instead of nudging one weight, it evaluates every valid 4-dimensional weight vector on a 0.05 grid and records ranking quality. The point is twofold. First, it locates the AHP prior within the global landscape — the prior already sits in the top band, so CAPE is not leaving large amounts of quality on the table by declining to fit weights per corpus. Second, and more important, the maximum is degenerate: many distinct weight vectors tie for the best score, so there is no unique data-fitted optimum to chase. Picking one would be overfitting to this corpus; retaining the theory-derived AHP prior is the honest, generalisation-safe choice. This elaborates RQ4's weight-selection decision, but we deliberately keep the degeneracy argument here rather than in the main paper — it justifies why we did not tune, which is a methodological aside, not a headline result.
Grid search over 4-dim weights (case_003, =blend)

Fig. 7. NDCG@10 over the full grid of valid 4-dimensional weight vectors (step 0.05) on the running example (case_003, =blend). The AHP prior is already near the top of the distribution; the grid optimum is degenerate (many vectors reach the maximum), so the prior is retained as the deployment-appropriate, non-overfit choice.
APPENDIX E
RANKING-QUALITY CURVES

Fig. 8. Left: mean NDCG@k across the corpus as the cutoff k varies; CAPE dominates CVSS and EPSS at every depth. Right: pooled ROC over all findings (relevant = ground-truth grade 2); CAPE separates relevant from irrelevant findings far better than CVSS.
What this shows and why it is here. This section elaborates RQ3 (ranking quality). The paper reports NDCG@10 and AUROC as single numbers at a fixed cutoff; those numbers are vulnerable to the objection that CAPE was simply tuned to look good at k=10. The two curves remove that doubt. The left panel sweeps the cutoff k and shows CAPE dominating both CVSS and EPSS at every depth, not just the reported one — the advantage is a property of the ranking, not of the chosen k. The right panel pools all findings across all cases into a single ROC (relevant = ground-truth grade 2), giving a threshold-independent view of how well the score separates exploitable-and-relevant findings from the rest. Both are computed from the same frozen ranked outputs that produce the paper's RQ3 table; they add the shape of the curve to the point estimate, letting a reader confirm the gain is broad and monotone rather than a single fortunate operating point.
APPENDIX F CENTRALITY-VARIANT STUDY
Figure 9 shows the rank agreement between centrality realisations of ; Figure 10 shows how the score distribution changes with the choice.

Fig. 9. Mean pairwise Kendall between centrality variants (30-case mean). ev/auth/fi form a tight cluster; hub is the most distinct, which is why it supplies the complementary signal in Selection_3a.

Fig. 10. Distribution of final priority on case_003 under four choices. The blend (blend_3a) spreads scores more smoothly than single-metric variants, aiding fine-grained ranking.
What this shows and why it is here. This section elaborates the centrality-metric selection half of RQ4. The centrality dimension can be realised by several graph metrics (eigenvector ev, authority auth, fan-in fi, hub hub, ...), and the paper selects a blend (Selection_3a). These two figures justify that choice. The left heatmap (Figure 9) reports the mean pairwise Kendall between the rankings each metric induces, averaged over 30 cases: ev/auth/fi agree closely (they are near-redundant), while hub is the outlier — it carries different structural information, which is exactly why blending it in adds signal a single dominant metric would miss. The right histogram (Figure 10) shows the downstream effect on case_003: the blend spreads final priority more smoothly than any single-metric variant, which reduces ties and sharpens fine-grained ordering. Together they let a reader verify that the blend is a principled choice (distinct-then-combine) rather than an arbitrary one, supplying the agreement evidence behind the RQ4 selection narrative.
APPENDIX G
EVIDENCE DIMENSIONS ON THE RUNNING EXAMPLE
What this shows and why it is here. This pair opens up the scoring model itself on case_003, the running example used throughout the paper — it elaborates the priority-score mechanism rather than any single RQ. The left heatmap (Figure 11) shows the normalised inputs for the top-40 findings, so a reader can see which evidence each finding actually carries before any weighting. The right bar chart (Figure 12) then decomposes the pre-gate weighted score into per-dimension contributions and overlays the gate-adjusted final as black diamonds, with regime labels. This makes the model auditable end-to-end: one can trace why a given finding ranks where it does — which dimension dominated, and how a gate (e.g. the floor lifting a proven-exploitable finding, or the G2 penalty demoting an unreachable one) moved

Fig. 11. Normalised values for the top-40 findings of case_003. The dependency-type dimension is excluded from the deployed 4-dimensional model.

Fig. 12. Anatomy of the top-20 CAPE ranking on case_003. Bars decompose into the weighted contribution of each dimension; black diamonds mark the gate-adjusted final score (e.g. the floor lifting proven-exploitable findings). Regime labels at right.
it. It adds a worked, per-finding explanation that the main paper has no room for, turning the score from a black box into an inspectable computation on a concrete case.
Per-case ranking separation (sorted by CAPE AUROC)

Fig. 13. Per-case AUROC for CAPE, CVSS, and EPSS across all 30 cases (sorted by CAPE AUROC). CAPE is above the random-baseline line (0.5) in every case and dominates both baselines throughout.
What this shows and why it is here. Figure 13 returns to RQ3 but reports it per case rather than pooled: one AUROC bar per case for CAPE, CVSS, and EPSS, sorted by CAPE's score. Where the curves of §E show the corpus-average advantage, this shows its consistency — CAPE stays above the 0.5 random baseline in all 30 cases and above both baselines throughout, so the headline RQ3 gain is not an average hiding a few catastrophic cases. It lets a sceptical reader check the worst case, not just the mean, and confirms the ranking advantage is corpus-wide rather than driven by a handful of favourable repositories.