Detections · What MacVigil reads to decide

What this file is: file types and format anomalies on a Mac

Before judging what a file does, you need to know what it is: an app, a command-line program, a library, a script, a document, an archive. Most format details are routine. A few anomalies, such as a header no compiler produces or an archive path that escapes its folder, are worth noticing.

Updated November 25, 2026 · 108 detections in this category

In short

The kind of file and any anomalies in its format. These findings describe; they do not accuse.

MacVigil has 108 detections in this category. It reads the file to find them and never runs it.

What it is

A Mac file’s format says how macOS will treat it. A Mach-O program declares its architectures, load commands, sections and the routines that run when it loads. An app bundle has fixed places for its code. An archive lists its entries, and a document may declare macros or actions that run when it opens.

For an attacker, the format is something to bend: hand-crafted headers that confuse analysis tools, archive entries that land outside their folder, code tucked into an unusual corner of an app, or routines that run before the program’s main function.

How Mac malware does it

What MacVigil looks for

MacVigil reads the file and never runs it. It identifies the kind of file and reads its structure: Mach-O headers and load commands, universal binaries, app bundles, Go and Rust programs, Electron archives, Office and PDF documents, HTML pages, project files and AI assistant instructions. It also notes what it could not read, such as encrypted App Store code, compiled JavaScript bytecode or a load routine whose end was not found, so you know where the analysis stopped.

These findings describe; they do not accuse, and most are for information. A few anomalies are rated high, some even critical, because they let one file be checked and another be written to disk, such as an extraction path that escapes the archive. The report also warns when a file changed while it was being analyzed.

When it is normal

Almost every finding here also describes healthy software. Apps contain many binaries, C++ programs run initializers before main, App Store apps have encrypted code, umbrella libraries re-export symbols, old programs target architectures a current Mac no longer runs, Xcode projects run build scripts and CocoaPods runs install commands. Source code, static libraries and web shortcuts created by a browser are ordinary files too.

How to check your Mac

Know what a file does before you open it

MacVigil reads any app, disk image, installer or script without running it, and shows the evidence behind every finding. Nothing leaves your Mac.

Download free for Mac

More: all detection categories · what MacVigil detects · the blog