Inicio  /  Applied Sciences  /  Vol: 13 Par: 13 (2023)  /  Artículo
ARTÍCULO
TITULO

Detection of Software Security Weaknesses Using Cross-Language Source Code Representation (CLaSCoRe)

Sergiu Zaharia    
Traian Rebedea and Stefan Trausan-Matu    

Resumen

The research presented in the paper aims at increasing the capacity to identify security weaknesses in programming languages that are less supported by specialized security analysis tools, based on the knowledge gathered from securing the popular ones, for which security experts, scanners, and labeled datasets are, in general, available. This goal is vital in reducing the overall exposure of software applications. We propose a solution to expand the capabilities of security gaps detection to downstream languages, influenced by their more popular ?ancestors? from the programming languages? evolutionary tree, using language keyword tokenization and clustering based on word embedding techniques. We show that after training a machine learning algorithm on C, C++, and Java applications developed by a community of programmers with similar behavior of writing code, we can detect, with acceptable accuracy, similar vulnerabilities in C# source code written by the same community. To achieve this, we propose a core cross-language representation of source code, optimized for security weaknesses classifiers, named CLaSCoRe. Using this method, we can achieve zero-shot vulnerability detection?in our case, without using any training data with C# source code.

 Artículos similares

       
 
Baris Yigin and Metin Celik    
In recent years, advanced methods and smart solutions have been investigated for the safe, secure, and environmentally friendly operation of ships. Since data acquisition capabilities have improved, data processing has become of great importance for ship... ver más

 
Cheolhyeon Kwon and Donghyun Kang    
Recently, the technologies of on-device AI have been accelerated with the development of new hardware and software platforms. Therefore, many researchers and engineers focus on how to enable ML technologies on mobile devices with limited hardware resourc... ver más
Revista: Applied Sciences

 
Andrea Settimi, Naravich Chutisilp, Florian Aymanns, Julien Gamerro and Yves Weinand    
We present TimberTool (TTool v2.1.1), a software designed for woodworking tasks assisted by augmented reality (AR), emphasizing its essential function of the real-time localization of a tool head?s poses within camera frames. The localization process, a ... ver más
Revista: Applied Sciences

 
Pavlo Maruschak, Ihor Konovalenko, Yaroslav Osadtsa, Volodymyr Medvid, Oleksandr Shovkun, Denys Baran, Halyna Kozbur and Roman Mykhailyshyn    
Modern neural networks have made great strides in recognising objects in images and are widely used in defect detection. However, the output of a neural network strongly depends on both the training dataset and the conditions under which the image was ac... ver más
Revista: Applied Sciences

 
Ted H. Szymanski    
The next-generation ?Industrial Internet of Things? (IIoT) will support ?Machine-to-Machine? (M2M) communications for smart Cyber-Physical-Systems and Industry 4.0, and require guaranteed cyber-security. This paper explores hardware-enforced cyber-securi... ver más
Revista: Information