Securing the creative code: an investigation into the security aspects of AI-generated code
| bracu.degree.level | Undergraduate | |
| bracu.type.group | Student Works | |
| datacite.rights | Open Access | |
| dc.contributor.advisor | Azmain, Md. Aquib | |
| dc.contributor.author | Hasan, Md. Nayeemul | |
| dc.contributor.author | Mahmood, Shoeb | |
| dc.contributor.author | Islam, Jarin | |
| dc.contributor.author | Zaman, Mahbuba | |
| dc.contributor.department | Department of Computer Science and Engineering | |
| dc.date.accessioned | 2026-01-08T05:28:56Z | |
| dc.date.available | 2026-01-08T05:28:56Z | |
| dc.date.copyright | 2025 | |
| dc.date.issued | 2025-11 | |
| dc.description | Cataloged from PDF version of thesis. | |
| dc.description | Includes bibliographical references (pages 80-83). | |
| dc.description | This thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science and Engineering, 2025. | en_US |
| dc.description.abstract | AI-generated code has massive potential but this evolving technology also presents significant security concerns. This study investigates generative AI code and its security. It explores vulnerabilities inherent in AI-generated code and investigates methods to detect its vulnerability. This research analyzes the security implications of various Static Application Security Testing tools and generative AI models, identifies common vulnerabilities, and proposes practical solutions to audit and identify vulnerabilities. This study proposes an LLM that have been fine-tuned with a contextual dataset that is made up of SAST tool results. The proposed LLM is a 7B-Parameter fine-tuned Code Llama that has achieved a promising F1-Score of 0.42 and Recall of 0.72 in identifying vulnerabilities on unseen data. This study aims to contribute to the development of secure and creative coding practices in the era of AI-powered development. | en_US |
| dc.description.degree | Bachelor of Science in Computer Science and Engineering | |
| dc.description.statementofresponsibility | Md. Nayeemul Hasan | |
| dc.description.statementofresponsibility | Shoeb Mahmood | |
| dc.description.statementofresponsibility | Jarin Islam | |
| dc.description.statementofresponsibility | Mahbuba Zaman | |
| dc.format.extent | 94 pages | |
| dc.identifier.other | ID 22101622 | |
| dc.identifier.other | ID 21101120 | |
| dc.identifier.other | ID 22101768 | |
| dc.identifier.other | ID 21101152 | |
| dc.identifier.uri | http://hdl.handle.net/10361/27411 | |
| dc.language.iso | en | en_US |
| dc.publisher | BRAC University | en_US |
| dc.rights | BRAC University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission. | |
| dc.subject | Large language models | en_US |
| dc.subject | Code generation | en_US |
| dc.subject | AI-generated code | en_US |
| dc.subject | Artificial intelligence | en_US |
| dc.subject | Vulnerability classification | en_US |
| dc.subject | Cyber security | en_US |
| dc.subject.lcsh | Natural language processing (Computer science). | |
| dc.subject.lcsh | Artificial intelligence--Computer programs. | |
| dc.subject.lcsh | Computer software--Development. | |
| dc.subject.lcsh | Computer security. | |
| dc.subject.lcsh | Computer software--Reliability. | |
| dc.subject.lcsh | Software architecture. | |
| dc.subject.lcsh | Software engineering. | |
| dc.subject.lcsh | Generative artificial intelligence. | |
| dc.title | Securing the creative code: an investigation into the security aspects of AI-generated code | en_US |
| dc.type | Thesis | en_US |