Leveraging Large Language Models for Automated Detection of Cookie and Session Management Vulnerabilities
In this paper, we explore how Large Language Models (LLMs) can analyze and detect security vulnerabilities in cookies and session management within cybersecurity.Web applications depend on these mechanisms, often leading to risks like session hijacking, XSS, and CSRF, necessitating a thorough understanding as architectures grow complex.This study employ a comparative analysis framework, using datasets of cookie security and cybersecurity logs, and apply prompt engineering to evaluate LLMs in identifying flaws in HTTP headers, analyzing security attributes.Our findings show LLMs can detect insecure cookie configurations, automate assessments, and provide actionable insights, though challenges like false positives, adversarial manipulation, and interpretability persist.This suggests LLMs can enhance security audits and proactive threat mitigation, strengthening web application security.The study highlights some potential of LLMs in automated security analysis at the AI-cybersecurity intersection, with future work aimed at integrating these insights with existing defenses for a more robust, adaptive security framework.
Authors
- S Chandrappa (ORCID: https://orcid.org/0000-0001-6508-5103)
- Yu Cai (ORCID: https://orcid.org/0000-0002-0659-0967)
- Sidike Paheding (ORCID: https://orcid.org/0000-0003-4712-9672)
Institutions
- Michigan Technological University (US)
- Fairfield University (US)
Publication Details
- Published
- 2025-04-29
- DOI
- https://doi.org/10.18260/1-2--55022
- Primary Topic
- Web Application Security Vulnerabilities
- Type
- article
- Field-Weighted Citation Impact
- 0.00