Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 tasks done
flcdrg opened this issue Apr 18, 2023 · 2 comments
Open
4 tasks done
Labels
0 - Backlog Where tickets start after being triaged. This means the ticket has targeted milestone/labels. Enhancement Enhancements are things that are improvements or features. package-scanner

Comments

@flcdrg
Copy link
Member

flcdrg commented Apr 18, 2023

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.

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 VirusTotal/vt-cli#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

@flcdrg flcdrg added the Bug Tickets that represent defects/bugs. label Apr 18, 2023
@pauby
Copy link
Member

pauby commented Apr 18, 2023

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

@pauby pauby added Enhancement Enhancements are things that are improvements or features. 0 - Backlog Where tickets start after being triaged. This means the ticket has targeted milestone/labels. package-scanner and removed Bug Tickets that represent defects/bugs. labels Apr 18, 2023
@pauby pauby changed the title Virus scanning size limit is too low Allow Package Scanner to scan larger files using the VirusTotal v3 API Apr 18, 2023
@asheroto
Copy link

asheroto commented Jun 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - Backlog Where tickets start after being triaged. This means the ticket has targeted milestone/labels. Enhancement Enhancements are things that are improvements or features. package-scanner
Projects
None yet
Development

No branches or pull requests

3 participants