通过VirusTotal API扫描上传文件的病毒?

I realize virus scanning of files is included in the paid enterprise version, but in an age where privacy and security are becoming increasingly crucial, shouldn’t the free version also have something like that to promote free sharing of information?

I don’t know how the enterprise anti virus works, but perhaps the free version could use the VirusTotal API to check URLs of uploads and display scan results beside them?

Has this method been considered, or is there already a plugin for something like this that I’m unaware of?

1 个赞

Our plugin is open source and available here: GitHub - discourse/discourse-antivirus: Scan your Discourse uploads.. It uses ClamAV

At the moment we only support it directly via our Enterprise plan because:

7 个赞

Echoing Kris, I’m not aware of anything outside of our ClamAV integration at the moment, but I also want to add that anyone looking for a fun plugin project to start playing with Discourse plugins, getting Discourse to use something like the VirusTotal API for uploads sounds like a good one!

3 个赞

我希望像您这样的用户能尽早被 VirusTotal 禁止:

您同意您不得使用或尝试:
复制、复制、更改、修改、创建衍生作品、公开展示、重新发布、上传、发布、传输、转售或以任何方式分发服务中的材料、信息或功能——包括但不限于以任何方式将服务用于防病毒/URL 扫描程序测试,或可能直接或间接损害、竞争或以其他方式阻碍防病毒行业/URL 扫描程序行业

https://support.virustotal.com/hc/en-us/articles/115002145529-Terms-of-Service

1 个赞

我认为主题发起者指的是 Discourse 的企业版和免费版。

即便如此,VirusTotal 也提供了一个免费使用的 API,正如在 Public vs Premium API 中所读到的:

另一方面,公共 API 是一组可供所有人免费使用的端点。要使用公共 API,您需要做的就是注册 VirusTotal Community 并按照“入门”中的说明获取您的 API 密钥。

我不认为这会造成任何损害。

5 个赞