A Comparative Analysis of Security Vulnerabilities and Defense Mechanisms in Large Language Models
MD Abdul Barek, Md Bajlur Rashid, Abm Kamrul Islam Riad, Guillermo Francia, Coskun Cetinkaya, Hossain Shahriar, Muhammad Umair Khan and Sheikh Iqbal Ahamed
Proceedings : annual International Computer Software and Applications Conference, pp.3098-3107
AI Security Attack Mitigation Defense Mechanisms Large language models Security Vulnerabilities Artificial Intelligence or Cybernetics Cybersecurity Intelligent Agents or Systems
Large Language Models (LLMs) are now deployed at an unprecedented scale across many critical sectors, rapidly transitioning from experimental AI tools to embedded components of production software systems. This accelerated adoption, often enabled by low-code integrations, has lowered technical barriers while simultaneously expanding the attack surface of modern applications, particularly when deployments occur without sufficient domain-specific security expertise. In many cases, security maturity has not progressed at the same pace as capability expansion, creating systemic exposure across confidentiality, integrity, and availability dimensions. To provide structured clarity amid this rapid growth, this paper presents a comparative and standards-aligned analysis of LLM security risks and defense mechanisms grounded in the OWASP GenAI Top-10 (2025). We systematically examine each vulnerability class, map representative attack patterns to primary mitigation strategies, evaluate their security property impact, and analyze practical limitations and implementation trade-offs. In addition, we introduce a severity-based assessment to prioritize risks according to operational and systemic impact, offering a quantitative perspective on defensive readiness. Our findings indicate that current mitigation strategies are predominantly reactive, concentrated at inference time, and unevenly distributed across the LLM lifecycle. Controls addressing training pipelines, supplychain dependencies, and autonomous system behaviors remain comparatively less mature and less standardized. By integrating vulnerability classification, defense mapping, severity prioritization, and trade-off analysis within a unified framework, this study provides actionable guidance for strengthening secure, resilient, and standards-driven LLM deployment in high-stakes environments.
Related links
Details
Title
A Comparative Analysis of Security Vulnerabilities and Defense Mechanisms in Large Language Models
Publication Details
Proceedings : annual International Computer Software and Applications Conference, pp.3098-3107
D E-C R 0000046 / U.S. Department of Energy (DoE) (10.13039/100000015)
2433800,2421324,1946442 / National Science Foundation (10.13039/100000001)
9R42LM014356 / National Institutes of Health (10.13039/100000002)