chocolatey / home

The place to start for issues with areas of Chocolatey that are infrastructure related, or really any issues could be started here. There is also choco for the CLI client, Chocolatey GUI for the GUI.
Apache License 2.0
29 stars 10 forks source link

Allow Package Scanner to scan larger files using the VirusTotal v3 API #247

Open flcdrg opened 1 year ago

flcdrg commented 1 year ago

Checklist

What You Are Seeing?

Packages with files larger than 200MB are not uploaded to VirusTotal and get the message "File is too big to scan - the limit is 200MB and this file is 255.74MB"

What is Expected?

Virus scanner should allow up to 650MB as per https://github.com/VirusTotal/vt-cli/issues/33

How Did You Get This To Happen?

Submitted package that referenced files that are larger than 200MB

┆Issue is synchronized with this Gitlab issue by Unito

pauby commented 1 year ago

Package Scanner does not use the VT v3 API at the moment which is why the files are limited to 200MB.

asheroto commented 4 months ago

I ran across this issue as well with Laravel Herd, as it is 229MB, just 29MB over the 200MB limit.

This limitation, however, only applies to the API. If you guys would take advantage of the official VirusTotal CLI, you can still upload files beyond 200 MB.

Command example:

vt scan file .\Herd-1.8.0-setup.exe

It spits out the checksum: image

And then, of course you can find the file using the checksum through the API or web: https://www.virustotal.com/gui/file/b3fde098ff5e69685950495cd1c19a9b7507dea182ae2f87e1a3d7740f3cba5e