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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Leveraging Large Language Models for Automated Detection of Cookie and Session Management Vulnerabilities

S Chandrappa, Yu Cai, Sidike Paheding
Web Application Security Vulnerabilities
article

Leveraging Large Language Models for Automated Detection of Cookie and Session Management Vulnerabilities

S Chandrappa, Yu Cai, Sidike Paheding
article en

Abstract

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.

Michigan Technological University (US), Fairfield University (US)
Openalex Percentile: Top 88%
Web Application Security Vulnerabilities
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.