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

youtube-dl from nightly build is suspicious? #32042

Open
3 tasks done
FFortissimo opened this issue Apr 14, 2023 · 5 comments
Open
3 tasks done

youtube-dl from nightly build is suspicious? #32042

FFortissimo opened this issue Apr 14, 2023 · 5 comments
Labels

Comments

@FFortissimo
Copy link

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

Working on Windows 11.
youtube-dl.exe gives "ERROR: Unable to extract uploader id;"
I checked here and found the problem
I went to https://github.com/ytdl-patched/youtube-dl/releases and downloaded the latest build (youtube-dl 2023.04.14.19419 Latest).
When I tried running youtube-dl.exe I first got a warning from Windows that the file was unsafe and next a warning from F-Secure.
Inspecting the information brought me to https://www.f-secure.com/v-descs/w32_malware.shtml.

The version from http://ytdl-org.github.io/youtube-dl/download.html (2021.12.17) didn't trigger anything.

What can be the reason for this trigger and block of youtube-dl.exe?

@dirkf
Copy link
Contributor

dirkf commented Apr 14, 2023

The Windows yt-dl program expands the entire program and enough of Python 3.4 to run it. Probably, this is what causes the anti-virus concern. However, since anti-virus detection is equivalent to the Halting Problem, it can't work reliably.

See also yt-dlp/yt-dlp#25.

Disable this heuristic in the anti-virus program, or use a different antivirus tool, or submit the latest download here to get it white-listed (or, worst case, to find that there actually is a malware issue -- please report that for sure): https://www.f-secure.com/en/business/support-and-downloads/submit-a-sample

If you have or install Python on your system, you can install the program as a Python module and probably avoid anti-virus shenanigans. Or use the Windows Subsystem for Linux (if available) with the single file POSIX build.

@FFortissimo
Copy link
Author

I submitted the file.
I'll try to remember to put their response here ;)

@stefanw1337

This comment was marked as off-topic.

@dirkf
Copy link
Contributor

dirkf commented Apr 23, 2023

@stefanw1337, review #30839 as requested to find your solution. This issue is about a (presumably false) virus detection in one solution.

@dirkf
Copy link
Contributor

dirkf commented Jan 9, 2024

@FFortissimo: any result? Ofc there have been new nightly releases since then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants