Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/t41372/LLM-CodeSecurityReviewer
- Owner: t41372
- License: mit
- Created: 2024-02-21T20:40:55.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-01T02:17:31.000Z (10 months ago)
- Last Synced: 2024-11-15T08:44:00.355Z (about 2 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-LLM4Security - LLM-CodeSecurityReviewer
- Awesome-LLM4Security - LLM-CodeSecurityReviewer
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
~~~