Gehlvora DocsTact-VC gehlvora.com

Tact-VC / Technical explanations / Messages and files

Pictures and files from others

How Tact-VC handles pictures, videos and files from friends so a harmful one does as little damage as possible.

A picture or file can be built to attack the program that opens it. Tact-VC only takes files from friends and group members, shows media inside a locked-down view, converts pictures in a separate process, and marks downloads as coming from the internet. This page explains each layer and what remains up to you.

How it works

  1. Only from friends. Tact-VC downloads files, pictures and voice messages only from friends, in a group only from members who are also your friends. Strangers can't send any.
  2. Fetched automatically, unless you say no. Pictures, videos and sound in a chat are fetched by themselves. Turn off Fetch files automatically in a person's details to fetch nothing from them without a click.
  3. Shown in a locked-down view. Tact-VC's window is the system's web view (WKWebView on macOS, WebView2 on Windows). It loads nothing from the internet, runs only Tact-VC's own scripts, and every text from others is escaped before it's shown.
  4. Converted in a separate process. With Make pictures and sound smaller on, Tact-VC turns kept pictures into AVIF. The decoding runs in a separate process with a memory limit. If a picture crashes it, only that process ends.
  5. Downloads are marked. Saved files get the system's "from the internet" mark: the quarantine attribute on macOS, Zone.Identifier on Windows. The system then asks before opening a program.
  6. Risky types are flagged. Before you download a file that can run programs, such as .exe, .bat, .ps1, .js, .lnk or .app, Tact-VC shows Can run programs.

Values

ItemValue
Largest picture converted50 million pixels
Memory limit of the converting process2 GB
Files checked on arrivalSHA-256 over the whole file

Limits

  • The system's decoders still see the file. The web view shows pictures and videos with the system's own decoders. Keep your system updated.
  • A file you open is out of Tact-VC's hands. Once you open a download, the program that opens it decides what happens.
  • Friends' computers can be compromised. A file from a friend is only as safe as their computer.

What you can do

  • Turn off Fetch files automatically for people whose files you'd rather check first.
  • Don't open programs or scripts you didn't expect, even from friends.

Related: Pictures, videos and sound in chat, Share files.

Updated