You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
copy example data.json file to storage: cp examples/data.json.example storage/data.json
copy env file from examples: cp examples/.env.example .env
adapt env variables as you want
populate all properties on data.json
put code files inside the storage/input
run with: docker compose -f docker-compose up --build (after first build --build is useless)
If no error, see report on output folder
Generate data.json by code folder recursively
generate recursively by a folder of code (to be put on storage/input). It finds all files by extension.
example of data.json auto generate recursively (args: folder, ext, limit number of files, language, context, question)
python3 generate_data_json.py "storage/input/BankingPortal-API-main" ".java" 0 "java" "this is a java code of banking api application" "acting as the maximum expert of cybersecurity, having worked for 20 years with banking technologies, search for every possible authentication and authorization vulnerabilities. give me a simplified bulleted list output, for every possible vulnerability assign a score on base 10. and max character of 200 per line"
About
Simple project that uses open source models for analyze code