Safarov, Shohruh (2026) DEVELOPMENT AND EMPIRICAL EVALUATION OF A HYBRID CONTEXT-AWARE VERIFICATION MODEL FOR MITIGATING INJECTION VULNERABILITIES IN PYTHON WEB FRAMEWORKS. Techscience.uz - Texnika fanlarining dolzarb masalalari, 4 (11). pp. 23-33. ISSN 3030-3702
2.+Safarov+Shohruh.pdf - Published Version
Download (583kB)
Abstract
Injection flaws—predominantly SQL injection (CWE-89), OS command injection (CWE-78), and dynamic code injection (CWE-94)—persist as foundational threats in modern web application architectures. This paper investigates the structural mechanics of injection flaws and adjacent insecure coding anti-patterns within Python back-end environments, establishing an empirical comparison among three prevalent open-source static application security testing (SAST) engines: Bandit (v1.9.4), Ruff (v0.16.8, flake8-bandit rules), and Semgrep (v1.180.0). Evaluations conducted across a systematically curated 60-case ground-truth benchmark and industrial-scale codebases—the Django 5.2.7 framework (125,906 LOC) and an enterprise-grade Flask-Commerce microservice (42,500 LOC)—demonstrate that classical heuristic-based and sink-centred AST scanners suffer from systematic data-flow blindness. Specifically, existing tools uniformly fail to resolve augmented string assignments (+=) and path traversal flows (False Negatives), while aggressively triggering False Positives on verified allow-lists and robust sanitization routines (shlex.quote). To address these limitations, this study develops and validates HybSec-Py, a hybrid context-aware verification framework that synthesizes Static Single Assignment (SSA) AST unifications, interprocedural data-dependency taint graphs governed by formal predicate logic, and dry-run syntax-mutation probing executed within an isolated hardware-software testbed. The proposed model achieves an overall F1-score of 0.987, completely eliminating false negatives while curtailing false alarms by 88%. McNemar's statistical test confirms that the diagnostic superiority of the proposed framework over existing SAST analyzers is statistically significant (χ² = 8.57, p = 0.0034 < 0.01).
| Item Type: | Article |
|---|---|
| Subjects: | T Technology > T Technology (General) |
| Depositing User: | Unnamed user with email info@ilmiykutubxona.uz |
| Date Deposited: | 21 Nov 2026 01:02 |
| Last Modified: | 21 Nov 2026 01:02 |
| URI: | https://ilmiykutubxona.com/id/eprint/2320 |
