Automated vulnerability discovery and refactor (autopatcher)
_____
/ \ AI
| o o | ___
| \___/ |/ \
|__ __| |
| | | 01001|
__|_|_|_____/
| |
| HACK.exe |
|___________|
Execute:
pip install -r requirements.txt
Autokaker and Autopatcher can use two different LLM APIs:
- Neuroengine.ai free API using LLama3 and other open models
- OpenAI API
To use the OpenAI api, the api key must be in the file api-key.txt, and select the OpenAI model name from the combo box.
The Neuroengine API do not need any key.
autok.py [-h] [--patch] [--make MAKE] patha
AutoKaker v1.0: Simple LLM bughunter/autopatcher
positional arguments:
path The path to a file or directory
options:
-h, --help show this help message and exit
--patch Activate patch mode
--make MAKE Feedback command
Analize a single source file:
python autok.py source.c
Patching an example 'zlib' project at directory './zlib':
python autok.py --patch ./zlib
Patching an example 'zlib' project and testing the patch using 'make':
cd zlib
python ../autok.py --patch . --make "make"
Patching an example 'zlib' project, testing executing 'make' and compression/decompression test 'example64':
cd zlib
python ../autok.py --patch . --make "make&&./example64"