paper-with-me

Papers

Towards Secure Logging: Characterizing and Benchmarking Logging Code Security Issues with LLMs

2026-04-22 · He Yang Yuan, Xin Wang, Kundi Yao, An Ran Chen, Zishuo Ding, Zhenhao Li arxiv

Logging code plays an important role in software systems by recording key events and behaviors, which are essential for debugging and monitoring. However, insecure logging practices can inadvertently expose sensitive information or enable attacks such as log injection, posing serious threats to system security and privacy. Prior research has examined general defects in logging code, but systematic analysis of logging code security issues remains limited, particularly in leveraging LLMs for detection and repair. In this paper, we derive a comprehensive taxonomy of logging code security issues, encompassing four common issue categories and 10 corresponding patterns. We further construct a benchmark dataset with 101 real-world logging security issue reports that have been manually reviewed and annotated. We then propose an automated framework that incorporates various contextual knowledge to evaluate LLMs' capabilities in detecting and repairing logging security issues. Our experimental results reveal a notable disparity in performance: while LLMs are moderately effective at detecting security issues (e.g., the accuracy ranges from 12.9% to 52.5% on average), they face noticeable challenges in reliably generating correct code repairs. We also find that the issue description alone improves the LLMs' detection accuracy more than the security pattern explanation or a combination of both. Overall, our findings provide actionable insights for practitioners and highlight the potential and limitations of current LLMs for secure logging.

📄 PDF Abstract BibTeX arXiv:2604.20211

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Extensible Logging and Empirical Attainment Function for IOHexperimenter

2021-09-28 · Johann Dreo, Manuel López-Ibáñez

In order to allow for large-scale, landscape-aware, per-instance algorithm selection, a benchmarking platform software is key. IOHexperimenter provides a large set of synthetic problems, a logging system, and a fast impl…

Benchmarking

Automated File-Level Logging Generation for Machine Learning Applications using LLMs: A Case Study using GPT-4o Mini

2025-08-06 · Mayra Sofia Ruiz Rodriguez, SayedHassan Khatoonabadi, Emad Shihab arxiv

Logging is essential in software development, helping developers monitor system behavior and aiding in debugging applications. Given the ability of large language models (LLMs) to generate natural language and code, rese…

Characterizing Linguistic Attributes for Automatic Classification of Intent Based Racist/Radicalized Posts on Tumblr Micro-Blogging Website

2017-01-18 · Agarwal Swati, Sureka Ashish

Research shows that many like-minded people use popular microblogging websites for posting hateful speech against various religions and race. Automatic identification of racist and hate promoting posts is required for bu…

Ensemble LearningKeyword Spotting

IOHexperimenter: Benchmarking Platform for Iterative Optimization Heuristics

2021-11-07 · Jacob de Nobel, Furong Ye, Diederick Vermetten, Hao Wang 외

We present IOHexperimenter, the experimentation module of the IOHprofiler project, which aims at providing an easy-to-use and highly customizable toolbox for benchmarking iterative optimization heuristics such as local s…

Bayesian OptimizationBenchmarking

Challenges in Creating a Representative Corpus of Romanian Micro-Blogging Text

2022-06-01 · CMLC (LREC) 2022 6 · Vasile Pais, Maria Mitrofan, Verginica Barbu Mititelu, Elena Irimia 외

Following the successful creation of a national representative corpus of contemporary Romanian language, we turned our attention to the social media text, as present in micro-blogging platforms. In this paper, we present…