IntelOwl icon indicating copy to clipboard operation
IntelOwl copied to clipboard

[Analyzer] ChatGPT

Open mlodic opened this issue 2 years ago • 14 comments

Name

ChatGPT

Link

https://openai.com/api/

Type of analyzer

generic, free text

Why should we use it

...why not?

Possible implementation

mlodic avatar Dec 16 '22 11:12 mlodic

this is so cool!!!

0x0elliot avatar Dec 21 '22 10:12 0x0elliot

would like to work on this next.

abheektripathy avatar Dec 27 '22 20:12 abheektripathy

@mlodic i explored this a bit, since there's no official api for ChatGPT till yet, i have found a unofficial wrapper, but i am unsure of its maintainability. Should i implement this using the wrapper or wait for the official api?

ps we can use GPT-3 Models as well for text completion until there's an official api for chatgpt.

abheektripathy avatar Dec 30 '22 18:12 abheektripathy

hey, thank you for your research. I would not use that wrapper because it does abuse the service. We can keep the issue open to wait for a future release of their APIs

mlodic avatar Jan 03 '23 15:01 mlodic

Hi @abheektripathy are you still working on this? else I would like to take this up. :-)

tinaoberoi avatar Jan 05 '23 00:01 tinaoberoi

nope @tinaoberoi you can take it up, if you want.

abheektripathy avatar Jan 09 '23 07:01 abheektripathy

as I mentioned, if the APIs are not available, then we can consider this issue as blocked. If you want to contribute please choose another analyzer.

mlodic avatar Jan 09 '23 09:01 mlodic

APIs out. you can check it out here: https://platform.openai.com/docs/api-reference

0x0elliot avatar May 11 '23 09:05 0x0elliot

Any suggestions on implementation approach? It does open a wide range of use cases for us. @mlodic

g4ze avatar Jun 15 '24 03:06 g4ze

feel free to suggest, there's no limit.

I would allow the support for all types of observables. In case it is "generic", that would be the real request. On the contrary, in the other cases, I would create a sentence to wrap the information inside of it. Something like "tell what what you know about the domain <domain.com>. Is it a possible threat? Are there any possible security concerns?"

that's just an idea

mlodic avatar Jun 24 '24 12:06 mlodic

so the general idea is to wrap it around a specific prompt, i ran your prompts and it seems to be like this: https://chatgpt.com/share/311df8c4-d562-47bf-a804-dacc701f14d7 is this what we aim for or do we need to construct our prompt in a different way? Not to mention the current API isn't free, again. I can definitely work upon constructing an accurate prompt for all the observables in question and someone else with the developer api plan can implement them afterwards, what do you say?

g4ze avatar Aug 16 '24 09:08 g4ze

yet another analyzer which requires payment...right. I mean, nevermind. We can skip this. It would not probably make sense anyway in the context of an Analyzer.

mlodic avatar Aug 16 '24 10:08 mlodic

Would like me to replace this one with some other analyser?

g4ze avatar Aug 16 '24 13:08 g4ze

this one would be cool addition: https://github.com/intelowlproject/IntelOwl/issues/2444 to add in the "malware_tools_analyzer" too.

mlodic avatar Aug 16 '24 14:08 mlodic