Hi, thank you for using my library ioc-extractor.
I checked your usage of the library and let me make some comments.
scan: function(tx) {
return extractIOC(tx);
},
extractIOC(tx) does meaningless processes in terms of your usage of it. (e.g extraction of ASNs, BTC addresses, etc.)
I think you need ip, domain, url, md5, sha1, sha256 and sha512. If so you can extract them individually.
For example:
Using an individual method is a more cost-effective than using extractIOC.