Source Code Vulnerability Detection Using Static Analysis and Pattern Matching

dc.contributor.authorPitiyegedara, J.D.
dc.contributor.authorNishshanka, I.S.B.
dc.date.accessioned2026-11-11T06:08:45Z
dc.date.issued2024-10-24
dc.description.abstractIn the rapidly evolving field of web development, ensuring the security of web applications is paramount. Most of the vulnerabilities occur due to lack of best practices during coding. Traditional security testing methods, which are predominantly reactive, tend to identify vulnerabilities in source code only after substantial portions of the application have been developed. This reactive approach significantly increases the complexity and cost of mitigating security risks. This research addresses this challenge by integrating security directly into the development process through a VS (Visual Studio) Code Extension by performing a real-time Static Analysis of source code to detect vulnerabilities which are written using JavaScript language. The tool can identify common security vulnerabilities such as SQL Injection (SQLi), Cross-Site Scripting (XSS), Cross-Site Request Forgery (CSRF) using the pattern matching techniques of static analysis. By integrating the tool directly into VS Code, it can provide developers with immediate feedback on security risks. The tool is not only useful for identifying vulnerabilities but also enhances the developer’s overall coding practices. The integration of the tool into the development environment will reduce time and resources spent on post- development security testing. In conclusion, this tool represents a significant step forward in the effort to embed security within the software development lifecycle. Its development and deployment will underscore the effectiveness of proactive security practices, offering a model that could be replicated and extended to other development environments and programming languages.
dc.identifier.citationPitiyegedara, J.D.; Nishshanka, I.S.B. (2024) Source Code Vulnerability Detection Using Static Analysis and Pattern Matching, International Conference on Advanced Computing Technologies (ICACT), NSBM Green University, Sri Lanka. P.167-172
dc.identifier.issn3051-5106
dc.identifier.urihttps://nspace.nsbm.ac.lk/handle/123456789/456
dc.language.isoen
dc.publisherNSBM Green University
dc.subjectstatic analysis
dc.subjectpattern matching
dc.subjectJavaScript
dc.subjectsource code
dc.subjectvulnerabilities
dc.subjectproactive testing
dc.subjectvs code
dc.titleSource Code Vulnerability Detection Using Static Analysis and Pattern Matching
dc.typeArticle

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
27. Source Code Vulnerability Detection Using Static Analysis and Pattern Matching.pdf
Size:
283.38 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed to upon submission
Description: