davidonzo/apiosintDS ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python tool that lets me check suspicious IPs, domains, URLs, and file hashes against the DigitalSide Threat Intel data on demand.
I want it to work both as a small library I can import into another script and as a command line tool. It should be able to take one item or read a file of items, return a clean JSON result, and optionally print a prettier colored version in the terminal. If available, it should also pull extra STIX details and show links to any related reports.
Please include cache support so it does not keep downloading the same data every time, and also a way to point it at a local clone of the Threat Intel repository instead of using the online source. It should have helpful errors, logging, and a simple way to save the output to a file or just print it to stdout. If you need to check the latest docs or current formats online, go ahead and do that.
Are you gonna build this?
make sure you review the code using coderabbit