Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/t41372/LLM-CodeSecurityReviewer

Use LLM to check code for potentially unwanted behaviors
https://github.com/t41372/LLM-CodeSecurityReviewer

Last synced: 4 days ago
JSON representation

Use LLM to check code for potentially unwanted behaviors

Awesome Lists containing this project

README

        

# LLM-CodeSecurityReviewer
[Proof of concept stage]

Use LLM to check source code (codebase) for potentially unwanted behaviors.

## Installation

python 11

~~~sh
pip install requests
~~~

This project uses Ollama as the LLM backend. You need a running Ollama server to use this project. Should you wish to use a remote Ollama server, you will need to change the base url setting in the config.py file.

## Run

Scan the whole directory

~~~ sh
python traverse.py
~~~

Use `reviewFile.py` instead if you only want to scan a single file.

~~~ sh
python reviewFile.py
~~~