Security Seal is developed as part of our bachelor thesis at the University of Agder, and is a system for scanning user code in C, C++, C# and Python for vulnerabilities in the CWE top 25 list, leveraging a large language model (LLM). The system is developed using a microservice architecture with a Visual Studio Code extension for sending code to analysis and displaying a summary of the results, and a web application to display the report in its entirety. The back-end services include a token validator, a code verifier (to verify that the code sent is in the correct language), an LLM (currently the Phind 34b model), and a report generator (for creating and summarizing the output from the LLM). The services are orchestrated through Prefect.
-
Navigate to services/extension and download
security-seal-0.0.1.vsix. -
Open extensions in Visual Studio Code, click the three dots (...) and then Install from VSIX...

-
Find the downloaded
.vsixand press install.
-
Make sure you are either at University of Agder Campus Grimstad utilizing eduroam or have eduVPN activated.
-
Navigate to Security Seal Homepage, and sign up. You can also skip this step, and sign up through the extension. Note: The certificate of the web application is self-signed, and might produce warnings. You can safely navigate past this. If your browser does not allow you past this warning, both Firefox, Chrome and Edge has been shown to work.
-
In Visual Studio Code, press
Ctrl + Shift + Pand find Authenticate with Security Seal.
-
Click Open in the popup to open the authentication page.
-
The authentication page allows you to both register and log in.
When the process has been finished, you will receive a confirmation in the browser.
-
In Visual Studio Code, highlight the code you want to analyze, right click and select Analyze code with Security Seal.

Note: The file must be saved and have an extension reflecting a supported languages (.c, .cpp, .cs or .py).
-
When the code analysis has been completed, a summary of the findings is presented in the output. For each detected vulnerability, the CWE ID and name will be presented, along with the code associated with the vulnerability.

-
To view the full report, navigate to the Security Seal Homepage, and sign in. The report is presented on the landing page:

-
By clicking the Analyzed Code tab, you can view the entire code snippet that was sent for analysis with code highlighting.

There is no guarantee that the reported results are correct.