Go to the content

dl-hiddify.org/Blog/macOS

Same computer, yet it matters where a file came from
Same computer, yet it matters where a file came from www.Pixel.la Free Stock Photos, CC0
No. 03

Mac says Hiddify is damaged. It is not

How quarantine and notarisation work on macOS, why Hiddify shows as damaged or Not Opened, and how one command or the PKG solves it.

Drag it to Applications, double-click, and macOS says it is damaged and belongs in the bin. Downloading again changes nothing. The file is fine; the system will not let it through.

Apple's words are frightening. What they mean: this app came from the internet and I cannot confirm the developer. Knowing that, it is simple.

What happens

  1. Browser downloadmacOS adds a quarantine flag
  2. Drag to Applicationsthe flag comes along
  3. Double-clickmacOS looks for Apple's notarisation
  4. Nonedamaged, or Not Opened
From download to block

Notarisation costs the developer a yearly fee and a check by Apple, and many open projects go without. Older systems say damaged, macOS 15 says Not Opened; the meaning is the same.

A Mac keyboard: the "damaged" alert is usually a quarantine flag
A Mac keyboard: the "damaged" alert is usually a quarantine flag Glenn Carstens-Peters glenncarstenspeters, CC0

Fix 1: remove the flag

Terminal
sudo xattr -rd com.apple.quarantine /Applications/Hiddify.app

Type your password, nothing shows, press Return. No message means it worked. The app must already be in Applications.

Fix 2: install the PKG from Terminal

Terminal
sudo installer -pkg ~/Downloads/Hiddify*.pkg -target /

Installed this way it has no flag. From Finder the PKG is blocked just the same.

A crushed box: a truly broken download fails in other ways too
A crushed box: a truly broken download fails in other ways too Meanwell Packaging, CC BY 2.0

What to avoid

Some pages tell you to disable System Integrity Protection or allow apps from anywhere. The first weakens the whole computer, the second skips the check for everything from then on.

WayAffects
xattr commandHiddify only
PKGHiddify only
Allow from anywhereAll apps
SIP offThe whole system

Messages and cases

MessageCaseDo
Damaged, move to the BinQuarantine mark, not notarisedRemove the mark
Developer cannot be verifiedThe same, older wordingRemove it, or allow in settings
Apple could not verify it is free of malwareThe same, from macOS 15The same
Requires macOS 12.0System too oldToo old
You do not have permissionFile rightsDrag again

Without a terminal

  1. Double-click, let it fail, press Done, not Move to Bin.
  2. System Settings → Privacy & Security, scroll to Security.
  3. "Hiddify was blocked" → Open Anyway.
  4. Password, open again.

It works for "cannot be verified"; for "damaged" the line sometimes does not appear and only the command helps.

What the command means

In pieces
sudo          # as administrator
xattr         # extra attributes of files
-r            # with everything inside
-d com.apple.quarantine   # remove this one
/Applications/Hiddify.app # from here

It tears off a label and changes nothing else. To check:

No quarantine in the output
xattr /Applications/Hiddify.app

Two more doors

Network extension: System Settings → General → Login Items & Extensions → Network Extensions, turn Hiddify on. If you missed the prompt, connecting does nothing.

Local network: from macOS 15 allow it when asked.

Chips

The official DMG runs on both. If asked for Rosetta, you have an old Intel-only file.

Starting clean

After quitting
rm -rf /Applications/Hiddify.app
rm -rf ~/Library/Application\ Support/app.hiddify.com
rm -rf ~/Library/Preferences/app.hiddify.com.plist

Folder names vary by version; look in Finder first and copy the subscription link.

It says No such file?

The app is not in Applications or has another name. Drag it from Finder into Terminal to fill in the path.

It came back after an update.

A new download has a new flag. Run the command again.

A company Mac says administrator?

Do not work around it; ask.

Right-click → Open?

Often until macOS 14; from 15 Apple removed it.

Homebrew?

Depends on the package and who maintains it; the mark has to go there as well.

Other articles

04Hiddify is missing from my App StoreWhy some Apple IDs cannot find Hiddify, what to settle before changing country, and how a second account works, with the traps to avoid.05exe, MSIX, portable, store: what differsFour ways to get the same program on Windows, compared by administrator rights, updates, where it lives and whether you can carry it.06A silent AppImage usually misses FUSEHiddify's AppImage does nothing or misses libfuse.so.2: why Ubuntu 22.04 and 24.04 use different packages, and how to run without FUSE.

Next to this

Keywords: app is damaged on Mac, Hiddify cannot be opened, xattr quarantine