this post was submitted on 18 Feb 2026
18 points (100.0% liked)

technology

24251 readers
358 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 5 years ago
MODERATORS
 

Firefox gave me a warning about a .torrent file I downloaded; I deleted the file and didn't open it in qBittorrent

I gave a quick scan of my PC after I deleted it with malwarebytes and Avira but neither found anything

top 10 comments
sorted by: hot top controversial new old
[–] unmagical@lemmy.ml 7 points 13 hours ago

Yes.

Any file can present with a ".torrent" extension.

The likelihood of an actual application/x-bittorrent being a virus is low. You're more likely to get a virus from the thing the torrent directs to.

[–] git@hexbear.net 12 points 15 hours ago

If there’s malicious data in the file that triggers a vulnerability in a torrent client then maybe. Depends on how the client responds and if that response can be exploited.

Example of a torrent file causing a crash:

[–] JoeByeThen@hexbear.net 9 points 15 hours ago (1 children)

Probably FF being overzealous. I would just double check that the file is definitely a torrent and not named something like ReallyCoolStuff.torrent.exe.

[–] osanna@thebrainbin.org 16 points 15 hours ago (2 children)

protip on this front: Turn off hiding file extensions in file explorer. Then you will see if it's an exe or not. I don't know why tf windows turns that on by default. It's stupid.

[–] PorkrollPosadist@hexbear.net 13 points 15 hours ago* (last edited 15 hours ago)

This default setting is easily one of the stupidest and most costly mistakes in the history of computer engineering. It is incomprehensible that they have insisted on keeping it this way since XP.

It literally just begs you to ask "why does this picture have a .jpg extension while the rest don't?" before double-clicking on it to find out more.

[–] came_apart_at_Kmart@hexbear.net 7 points 15 hours ago

"I want my important desktop document to be called 'QDROP FWD FROM GRANDMA', not 'QDROP FWD FROM GRANDMA.docx' I am not a hacker!!!" - average windoze UX focus group participant, probably

[–] trompete@hexbear.net 7 points 15 hours ago

Theoretically yes, though I'm in inclined to believe this may be a false positive.

Whenever a program looks at the contents of a file, some code (called a parser) runs that goes over the file content in order to discern its structure and pluck out the relevant information. Parsers essentially take formatted data and turn it into easy-to-work-with data structures. Since the parser's input could be some random file off the internet, potentially crafted by an attacker, a flaw in the parser code can easily be a security vulnerability. I think most security vulnerabilities are in parser code actually.

Now, the torrent file format is pretty simple, so the parser code ought to be simple as well, but that does not mean there cannot be security issues with it. So it is not impossible, in theory, that opening a torrent file could infect your computer with malware, same as opening any other file you get off the internet. You'd hope/expect, if any such security bug is found in any bittorrent software and/or is being exploited in the wild, it would be fixed quickly with an update.

[–] plinky@hexbear.net 3 points 12 hours ago

https://stackoverflow.com/questions/406695/reading-the-fileset-from-a-torrent

you can read them with some libraries, and check in vm, but seems very doubtful, it can, however, download some shady shit you don't expect

[–] osanna@thebrainbin.org 6 points 16 hours ago

I think they're just text files. So I would imagine not, but hackers are getting smarter and more concerted everyday, so it wouldn't surprise me.

[–] BelieveRevolt@hexbear.net 4 points 15 hours ago

No, browsers just like to report them as malware for some reason.