ReachLM: Confidence-Calibrated, False-Negative-Averse Vulnerability Reachability Adjudication for Python
Software composition analysis (SCA) scanners routinely match declared dependency versions against vulnerability databases, flooding developers with alerts for third-party symbols that an application never invokes. Conversely, aggressive static call-graph pruning on dynamically typed Python codebases risks silent false negatives—dismissing genuinely reachable vulnerabilities routed through reflection or dynamic dispatch. We present ReachLM, a three-tier, confidence-calibrated, human-adjudicated vulnerability reachability system for Python designed to avoid both alert fatigue and unsafe dismissal. Tier 1 performs AST- and Jedi-backed call-graph analysis paired with explicit blind-spot tagging: dynamic dispatch constructs (getattr, eval, import_module, subscript calls, and callable containers) are conservatively flagged unresolved rather than guessed unreachable. Tier 2 routes only unresolved findings to a structured-output Large Language Model (LLM) supplied with targeted entry-point, dispatch-site, and sink function slices, returning a schema-validated verdict with a file:function:line evidence trace, explicit assumptions, verbalized confidence, taint plausibility, and deterministic fail-safe degradation to uncertain. Tier 3 computes a dynamically renormalized Exploitability-Reachability Score (ERS in [0, 100]) fusing reachability, FIRST.org EPSS, CISA KEV active-exploitation pressure, and taint plausibility, while enforcing false-negative-averse confidence banding (tau_high = 0.85) and a verify_dismissal escape lane. A companion VS Code extension logs human Confirm/Override decisions to support empirical Expected Calibration Error (ECE) tracking, and an isolated per-case dynamic execution harness establishes non-circular ground truth. Source code and evaluation artifact: https://github.com/sanjeevi0078/reachlm
Authors
- Sanjeevi Uthchav S
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24749719
- Primary Topic
- Web Application Security Vulnerabilities
- Type
- preprint