Skip to content

yt-dlp is detected as a virus #25

Description

@NextDev65

I felt like bug report is the closest topic.
It's probably a false positive but older releases didn't have this problem.

Activity

  1. pukkandan commented on Jan 21, 2021

    @pukkandan
    Member

    It is a false positive caused due to the exe being unsigned.
    This is a known issue. I don't have any way of fixing it.

    blackjack4494/youtube-dlc#114
    https://www.reddit.com/r/youtubedl/comments/jrrkc0/youtubedlexe_shown_as_malware_on_virustotal/

    I have been told that the issue existed for the previous version as well
    https://www.virustotal.com/gui/file/a89125033bff06983b0bec46424d62882395370a04b9ad909cf88da19c331292/detection

  2. pukkandan commented on Jan 21, 2021

    @pukkandan
    Member

    I will try reporting to microsoft, but it is impractical to do so with each AV seperately

  3. changed the title [-](latest version) yt-dlp 2021.01.20 trips windows defender as Trojan:Win32/CryptInject!ml[/-] [+]youtube-dlc.exe is getting detected as a Trojan:Win32/CryptInject!ml[/+] on Jan 21, 2021
  4. pinned this issue on Jan 21, 2021
  5. Jules-A commented on Jan 21, 2021

    @Jules-A
    Contributor

    You could try building it yourself to get around it, it's actually really easy even on Windows. One thing I noticed is the resulting exe is 500kb smaller using the latest version of Python.
    EDIT: It doesn't get detected by Microsoft (on my system) but Malwarebytes still hates it.
    https://www.virustotal.com/gui/file/bbae6034f44dc22262b1adf78ffb664c7da4cf4bdd027b2dbd5d5c9dc4f49ddb/detection

  6. pukkandan commented on Jan 21, 2021

    @pukkandan
  7. Jules-A commented on Jan 21, 2021

    @Jules-A
  8. NextDev65 commented on Jan 21, 2021

    @NextDev65
    Author
  9. NextDev65 commented on Jan 21, 2021

    @NextDev65
    Author
  10. pukkandan commented on Jan 23, 2021

    @pukkandan
    Member

    I am closing the issue since there really is nothing I can do to permanently fix this. If anyone has any ideas, feel free to continue this thread

  11. Jules-A commented on Feb 19, 2021

    @Jules-A
  12. pukkandan commented on Feb 19, 2021

    @pukkandan
  13. changed the title [-]youtube-dlc.exe is getting detected as a Trojan:Win32/CryptInject!ml[/-] [+]yt-dlp is detected as a virus[/+] on Apr 8, 2021
  14. 27 remaining items

  15. TheTechRobo commented on Nov 9, 2021

    @TheTechRobo
  16. pukkandan commented on Nov 9, 2021

    @pukkandan
    Member

    For "normal" users, it is not recommended to run directly from source code. Unless you are familiar with git, it makes updating hard. If you dont want to use the exe, use pip/zip versions instead.

    But for those who do want to run straight from source anyway, there is already yt-dlp.cmd and yt-dlp.sh in the root of the repo


    Anyway, all of this is off-topic. Please keep the thread on topic.

    PS: Unless anyone has any better ideas on how to take the AV venders off our heels, no point it writing any comment here. This issue was closed as wontfix for a reason

  17. kamyker commented on Apr 6, 2022

    @kamyker

    Seems like Bitdefender doesn't like ytp-dl but only when it's run.

    Their ignorant response:

    The analysis of the file has been completed:

    Youtube downloaders often come with adware. Because of this, and because of the fact that youtube downloaders do not comply with youtube terms of service, we do not consider these types of applications trustworthy. Therefore, we will not take any steps toward whitelisting this detection.

    Meaning they didn't even bother checking the file.

  18. thedarkfalcon commented on Apr 6, 2022

    @thedarkfalcon

    @kamyker is that on a forum? I'd like to add my 2c if it's somewhere public, because I'm a long BD customer.

  19. kamyker commented on Apr 6, 2022

    @kamyker

    @kamyker is that on a forum? I'd like to add my 2c if it's somewhere public, because I'm a long BD customer.

    No, emails. You can try asking them too here https://www.bitdefender.com/consumer/support/ . Don't do it too soon as they may think it's me again lol. I asked them again to at least analyze the file as that blocking behavior may also stop other apps working correctly and:

    Thank you for getting back to me!
    Unfortunately, as my colleagues from the AV labs provided us with the points from my last email, we cannot provide any other assistance regarding this issue.

    Btw in rare cases Bitdefender doesn't detect it depending on what link is used. No idea why that's happening.

  20. vico93 commented on Apr 6, 2022

    @vico93

    Seems like Bitdefender doesn't like ytp-dl but only when it's run.

    Their ignorant response:

    The analysis of the file has been completed:

    Youtube downloaders often come with adware. Because of this, and because of the fact that youtube downloaders do not comply with youtube terms of service, we do not consider these types of applications trustworthy. Therefore, we will not take any steps toward whitelisting this detection.

    Meaning they didn't even bother checking the file.

    I bet they are being paid by Alphabet to place this false-positive.

  21. unpinned this issue on May 17, 2022
  22. gamer191 commented on Jun 19, 2022

    @gamer191
    Member

    I was bored, so I decided to run antivirus tests (using virustotal) on all the files in https://github.com/yt-dlp/yt-dlp/releases/tag/2022.05.18.
    The results are as follows (files not listed below didn't have any timeouts nor positives):

    yt-dlp, yt-dlp.tar.gz, Source code (zip) and Source code (tar.gz):
    Lionic-timeout

    yt-dlp_win.zip:
    Lionic and Clamav-timeout

    yt-dlp.exe:
    Webroot-W32.Trojan.Gen
    Microsoft-timeout

    yt-dlp_min.exe (this one had the most positive detections by far):
    Fortinet-PossibleThreat.PALLAS.H
    Ikarus-Trojan.Python.Psw
    Jiangmin-Trojan.PSW.Disco.els
    SecureAge APEX-Malicious
    Webroot-W32.Trojan.Gen

  23. fgclue commented on Jul 25, 2022

    @fgclue

    Here's my virustotal results when I compiled from source:
    Cylance - Unsafe
    SecureAge APEX - Malicious

    https://www.virustotal.com/gui/file/10e0425544edc2ea778cf607057a773c5ee29d3ba138b23ef729eef8a7aeef83

  24. pukkandan commented on May 2, 2023

    @pukkandan
    Member

    Unless anyone has any better ideas on how to take the AV venders off our heels, no point it writing any comment here. This issue was closed as wontfix for a reason

  25. locked as off topic and limited conversation to collaborators on May 2, 2023
  26. marked Flag by VirusTotal #17206 as a duplicate of this issue on Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions