89 lines
3.3 KiB
TOML
89 lines
3.3 KiB
TOML
|
ver = "0.0.1"
|
||
|
|
||
|
#*************************************************#
|
||
|
# #
|
||
|
# LANGUAGES #
|
||
|
# #
|
||
|
#*************************************************#
|
||
|
|
||
|
[LANGUGAE.english]
|
||
|
|
||
|
radarStarted = "RADAR Started with in - {}s."
|
||
|
|
||
|
|
||
|
#**************************************************#
|
||
|
# #
|
||
|
# LOGS #
|
||
|
# #
|
||
|
#**************************************************#
|
||
|
|
||
|
[LOGS]
|
||
|
|
||
|
processStartMsg = true
|
||
|
|
||
|
#**************************************************#
|
||
|
# #
|
||
|
# DETECTION #
|
||
|
# #
|
||
|
#**************************************************#
|
||
|
|
||
|
[DETECTION]
|
||
|
|
||
|
watchdogPath = "./"
|
||
|
SignaturePath = "./signatures"
|
||
|
|
||
|
#extensions = [
|
||
|
# '.exe',
|
||
|
# '.dll',
|
||
|
# '.scr',
|
||
|
# '.vbs',
|
||
|
# '.js',
|
||
|
# '.bat',
|
||
|
# '.cmd',
|
||
|
# '.ps1',
|
||
|
# '.ps2',
|
||
|
# '.psm1',
|
||
|
# '.py',
|
||
|
# '.pyx',
|
||
|
# '.jsx',
|
||
|
# '.ts',
|
||
|
# '.tsx',
|
||
|
# ".sh",
|
||
|
# ".deb",
|
||
|
# ".java",
|
||
|
# ".class",
|
||
|
# ".jar",
|
||
|
# ".ejs",
|
||
|
# ".lua",
|
||
|
# ".run",
|
||
|
# ".rare",
|
||
|
# ".html",
|
||
|
# ".php",
|
||
|
# ".json",
|
||
|
# ".yaml"
|
||
|
#]
|
||
|
|
||
|
#**************************************************#
|
||
|
# #
|
||
|
# INTEGRATION #
|
||
|
# #
|
||
|
#**************************************************#
|
||
|
|
||
|
[INTEGRATION.AI]
|
||
|
|
||
|
enabled = false
|
||
|
generate_model = "llama-3.1-8b-instant" # for home usage gemma3:1b recommended, for Groq llama-3.1-8b-instant
|
||
|
generate_endpoint = "http://IP:PORT/api/generate" # Can be empty if using groq
|
||
|
use_groq = true
|
||
|
groq_api_token = "API KEY GOES HERE GET ONE AT https://console.groq.com/keys, ITS FREE! (and paid)" # Get one at https://console.groq.com/keys
|
||
|
|
||
|
|
||
|
prompt = "You are AI Code Scanner named as Radar, 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."
|
||
|
|
||
|
|
||
|
[INTEGRATION.DISCORD]
|
||
|
|
||
|
enabled = false
|
||
|
webhook_url = "DISCORD WEBHOOK GOES HERE"
|
||
|
truncate_text = true # Used only if AI INTEGRATION is enabled, trunclates text if true to maxium allowed characters or when false splits in few webhook messages.
|