Ahmed Lekssays
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Ahmed Lekssays has a total of 14 co-authors. Here are the top co-authors by number of shared publications:
- Elena Ferrari
University of Insubria, Varese, Italy
3 shared publications - Barbara Carminati
University of Insubria, Varese, Italy
2 shared publications - Sarunas Girdzijauskas
KTH Royal Institute of Technology
2 shared publications Barbara Carminati
1 shared publication- Charitha Elvitigala
School of Computing Technologies, RMIT University, Melbourne, VIC, Australia
1 shared publication - Cv Radhakrishnan
School of Traffic and Transportation Engineering, Central South University, Changsha, China
1 shared publication
Latest Publications
- Open Access
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 33-40
Bridging Code Property Graphs and Language Models for Program Analysis
Large Language Models (LLMs) face critical challenges when analyzing security vulnerabilities in real-world codebases: token limits prevent loading entire repositories, code embeddings fail to capture inter-procedural data flows, and LLMs struggle to generate complex static analysis queries. These limitations force existing approaches to operate on isolated code snippets, missing vulnerabilities that span multiple functions and files. We introduce codebadger, an open-source Model Context Protocol (MCP) server that integrates Joern’s Code Property Graph (CPG) engine with LLMs. Rather than requiring LLMs to generate complex CPG queries, codebadger provides high-level tools for program slicing, taint tracking, data flow analysis, and semantic code navigation, enabling targeted exploration of large codebases without exhaustive file reading. We demonstrate its effectiveness through three use cases: (1) navigating an 8,000-method codebase to audit memory safety patterns, (2) discovering and exploiting a previously unreported buffer overflow in libtiff, and (3) generating a correct patch for an integer overflow vulnerability (CVE-2025-6021) in libxml2 on the first attempt. codebadger enables LLMs to reason about code semantically across entire repositories, supporting vulnerability discovery, patching, and program comprehension at scale.
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 33-40
Open AccessBridging Code Property Graphs and Language Models for Program Analysis
Large Language Models (LLMs) face critical challenges when analyzing security vulnerabilities in real-world codebases: token limits prevent loading entire repositories, code embeddings fail to capture inter-procedural data flows, and LLMs struggle to generate complex static analysis queries. These limitations force existing approaches to operate on isolated code snippets, missing vulnerabilities that span multiple functions and files. We introduce codebadger, an open-source Model Context Protocol (MCP) server that integrates Joern’s Code Property Graph (CPG) engine with LLMs. Rather than requiring LLMs to generate complex CPG queries, codebadger provides high-level tools for program slicing, taint tracking, data flow analysis, and semantic code navigation, enabling targeted exploration of large codebases without exhaustive file reading. We demonstrate its effectiveness through three use cases: (1) navigating an 8,000-method codebase to audit memory safety patterns, (2) discovering and exploiting a previously unreported buffer overflow in libtiff, and (3) generating a correct patch for an integer overflow vulnerability (CVE-2025-6021) in libxml2 on the first attempt. codebadger enables LLMs to reason about code semantically across entire repositories, supporting vulnerability discovery, patching, and program comprehension at scale.
- Open Access
- 1 July 2024
- Published by Association for Computing Machinery (ACM)
- p. 49-62
Semantic Ranking for Automated Adversarial Technique Annotation in Security Text
We introduce a novel approach for mapping attack behaviors described in threat analysis reports to entries in an adversarial techniques knowledge base. Our method leverages a multi-stage ranking architecture to efficiently rank the most related techniques based on their semantic relevance to the input text. Each ranker in our pipeline uses a distinct design for text representation. To enhance relevance modeling, we leverage pretrained language models, which we fine-tune for the technique annotation task. While generic large language models are not yet capable of fully addressing this challenge, we obtain very promising results. We achieve a recall rate improvement of +35% compared to the previous state-of-the-art results. We further create new public benchmark datasets for training and validating methods in this domain, which we release to the research community aiming to promote future research in this important direction.
- 1 July 2024
- Published by Association for Computing Machinery (ACM)
- p. 49-62
Open AccessSemantic Ranking for Automated Adversarial Technique Annotation in Security Text
We introduce a novel approach for mapping attack behaviors described in threat analysis reports to entries in an adversarial techniques knowledge base. Our method leverages a multi-stage ranking architecture to efficiently rank the most related techniques based on their semantic relevance to the input text. Each ranker in our pipeline uses a distinct design for text representation. To enhance relevance modeling, we leverage pretrained language models, which we fine-tune for the technique annotation task. While generic large language models are not yet capable of fully addressing this challenge, we obtain very promising results. We achieve a recall rate improvement of +35% compared to the previous state-of-the-art results. We further create new public benchmark datasets for training and validating methods in this domain, which we release to the research community aiming to promote future research in this important direction.
- Open Access
- 8 October 2023
- Published by Association for Computing Machinery (ACM)
- p. 352-358
Private, Fair and Secure Collaborative Learning Framework for Human Activity Recognition
Federated learning (FL), a decentralized machine learning technique, enhances privacy by enabling multiple devices to collaboratively train a model without transferring data to a central server. FL is used in Human Activity Recognition (HAR) problems, where multiple users generating private wearable data share models with a server to learn a useful global model. However, FL may compromise data privacy through model information sharing during training. Moreover, it adheres to a one-size-fits-all approach toward data privacy, potentially neglecting varied user preferences in collaborative scenarios such as HAR. In response to these challenges, this paper presents a collaborative learning framework integrating differential privacy (DP) and FL, thus providing a tailored approach to privacy protection. While some existing works integrate DP and FL, they do not allow clients to have different privacy preferences. In this work, we introduce a framework that allows different clients to have different privacy preferences and hence more flexibility in terms of privacy. In our framework, DP adds individualized noise to individual clients’ gradient updates for privacy. However, such noised updates can also be interpreted as an attack on the FL system. Defending against these attacks might result in excluding honest private clients altogether from training, posing a fairness concern. On the other hand, not having any defensive measures might allow malicious users to attack the system, posing a security issue. Thus, to address security and fairness, our framework incorporates a client selection strategy that protects the global model from malicious clients and provides fair model access to honest private clients. We have demonstrated the effectiveness of our system on a HAR dataset and provided insights into our framework’s privacy, utility, and fairness.
- 8 October 2023
- Published by Association for Computing Machinery (ACM)
- p. 352-358
Open AccessPrivate, Fair and Secure Collaborative Learning Framework for Human Activity Recognition
Federated learning (FL), a decentralized machine learning technique, enhances privacy by enabling multiple devices to collaboratively train a model without transferring data to a central server. FL is used in Human Activity Recognition (HAR) problems, where multiple users generating private wearable data share models with a server to learn a useful global model. However, FL may compromise data privacy through model information sharing during training. Moreover, it adheres to a one-size-fits-all approach toward data privacy, potentially neglecting varied user preferences in collaborative scenarios such as HAR. In response to these challenges, this paper presents a collaborative learning framework integrating differential privacy (DP) and FL, thus providing a tailored approach to privacy protection. While some existing works integrate DP and FL, they do not allow clients to have different privacy preferences. In this work, we introduce a framework that allows different clients to have different privacy preferences and hence more flexibility in terms of privacy. In our framework, DP adds individualized noise to individual clients’ gradient updates for privacy. However, such noised updates can also be interpreted as an attack on the FL system. Defending against these attacks might result in excluding honest private clients altogether from training, posing a fairness concern. On the other hand, not having any defensive measures might allow malicious users to attack the system, posing a security issue. Thus, to address security and fairness, our framework incorporates a client selection strategy that protects the global model from malicious clients and provides fair model access to honest private clients. We have demonstrated the effectiveness of our system on a HAR dataset and provided insights into our framework’s privacy, utility, and fairness.
- Open Access
- 5 June 2023
- Published by Elsevier in Computer Networks
- Vol. 233
MalCon: A blockchain-based malware containment framework for Internet of Things
- 5 June 2023
- Published by Elsevier in Computer Networks
- Vol. 233
Open AccessMalCon: A blockchain-based malware containment framework for Internet of Things
- 1 December 2021
- Published by Elsevier in Computer Networks
- Vol. 200
PAutoBotCatcher: A blockchain-based privacy-preserving botnet detector for Internet of Things
- 1 December 2021
- Published by Elsevier in Computer Networks
- Vol. 200
PAutoBotCatcher: A blockchain-based privacy-preserving botnet detector for Internet of Things
- 30 September 2021
- Published by Springer Nature
- p. 605-625
LiMNet: Early-Stage Detection of IoT Botnets with Lightweight Memory Networks
- 30 September 2021
- Published by Springer Nature
- p. 605-625
LiMNet: Early-Stage Detection of IoT Botnets with Lightweight Memory Networks