paper-with-me

홈 › Papers

Enhancing AI-based Generation of Software Exploits with Contextual Information

2024-08-05 · Pietro Liguori, Cristina Improta, Roberto Natella, Bojan Cukic, Domenico Cotroneo

This practical experience report explores Neural Machine Translation (NMT) models' capability to generate offensive security code from natural language (NL) descriptions, highlighting the significance of contextual understanding and its impact on model performance. Our study employs a dataset comprising real shellcodes to evaluate the models across various scenarios, including missing information, necessary context, and unnecessary context. The experiments are designed to assess the models' resilience against incomplete descriptions, their proficiency in leveraging context for enhanced accuracy, and their ability to discern irrelevant information. The findings reveal that the introduction of contextual data significantly improves performance. However, the benefits of additional context diminish beyond a certain point, indicating an optimal level of contextual information for model training. Moreover, the models demonstrate an ability to filter out unnecessary context, maintaining high levels of accuracy in the generation of offensive security code. This study paves the way for future research on optimizing context use in AI-driven code generation, particularly for applications requiring a high degree of technical precision such as the generation of offensive code.

📄 PDF Abstract BibTeX arXiv:2408.02402

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationMachine TranslationNMT

Similar Papers 제목 키워드 기반

Classifying Web Exploits with Topic Modeling

2017-10-16 · Ruohonen Jukka

This short empirical paper investigates how well topic modeling and database meta-data characteristics can classify web and other proof-of-concept (PoC) exploits for publicly disclosed software vulnerabilities. By using …

ClassificationGeneral Classification

Enhancing Argument Structure Extraction with Efficient Leverage of Contextual Information

2023-10-08 · Yun Luo, Zhen Yang, Fandong Meng, Yingjie Li 외

Argument structure extraction (ASE) aims to identify the discourse structure of arguments within documents. Previous research has demonstrated that contextual information is crucial for developing an effective ASE model.…

Artificial intelligence for context-aware visual change detection in software test automation

2024-05-01 · Milad Moradi, Ke Yan, David Colwell, Rhona Asgari

Automated software testing is integral to the software development process, streamlining workflows and ensuring product reliability. Visual testing within this context, especially concerning user interface (UI) and user …

Change Detectionsoftware testing

CoreGen: Contextualized Code Representation Learning for Commit Message Generation

2020-07-14 · Lun Yiu Nie, Cuiyun Gao, Zhicong Zhong, Wai Lam 외

Automatic generation of high-quality commit messages for code commits can substantially facilitate software developers' works and coordination. However, the semantic gap between source code and natural language poses a m…

Representation LearningText Generation

Enhancing LLM-Based Test Generation by Eliminating Covered Code

2026-02-25 · WeiZhe Xu, Mengyu Liu, Fanxin Kong arxiv

Automated test generation is essential for software quality assurance, with coverage rate serving as a key metric to ensure thorough testing. Recent advancements in Large Language Models (LLMs) have shown promise in impr…

Information Retrieval