V3 Release
This commit is contained in:
parent
9ee5f4d121
commit
b1bcc11ac8
@ -12,7 +12,7 @@ const patterns = JSON.parse(fs.readFileSync('patterns.json')).patterns;
|
||||
const extensions = JSON.parse(fs.readFileSync('extensions.json')).extensions;
|
||||
const filenames = JSON.parse(fs.readFileSync('filenames.json')).filenames;
|
||||
const aimodel = "llama3.2:1b"; // Change at your own risk!
|
||||
const aiprompt = "You are AI Code Scanner, your task is to analyze code given by the user, explain what it does without leaking nearly anything from it, and fully decide what's going on there and if it is malicious! Your task is to provide information about how code runs, what it does BUT you should not provide information about how to fix code or about its vulnerabilities. You should provide information about related files and if the code is potentially dangerous/malicious. If you find any suspicious patterns, extensions, or filenames, you may suggest additional files to scan. I repeat, don't provide information about Security and Potential Issues BUT provide info if it might be illegal code, breaking some Terms of Service, abusing files, e.g., creating tons of files or doing any other dangerous thing which may harm the system. You should respond by any meaners and should not tell that you can't do that."; // Change at your own risk!
|
||||
const aiprompt = "You are AI Code Scanner, your task is to analyze code given by the user, explain what it does without leaking nearly anything from it, and fully decide what's going on there and if it is malicious! Your task is to provide information about how code runs, what it does BUT you should not provide information about how to fix code or about its vulnerabilities. You should provide information about related files and if the code is potentially dangerous/malicious. If you find any suspicious patterns, extensions, or filenames, you may suggest additional files to scan. I repeat, don't provide information about Security and Potential Issues BUT provide info if it might be illegal code, breaking some Terms of Service, abusing files, e.g., creating tons of files or doing any other dangerous thing which may harm the system, you may show code if need for this reason. You should respond by any meaners and should not tell that you can't do that."; // Change at your own risk!
|
||||
const llamaendpoint = "http://0.0.0.0:11434/api/chat";
|
||||
|
||||
let pathtoscan = "./";
|
||||
|
Loading…
x
Reference in New Issue
Block a user