BlendGuard is a Blender add-on that shows what a .blend file would auto-run so you can review it before trusting the file. It is intended for Blender users who work with files from asset sites, bundles, or other sources they do not fully trust. The Blender Extensions listing describes it as static analysis: inspection does not execute the scripts it finds.

What BlendGuard checks

The add-on looks for embedded text scripts, Python driver expressions, OSL script nodes, and registered handlers. It assigns each finding a verdict: CLEAN, INFO, SUSPICIOUS, or DANGEROUS.

To examine obfuscated content, BlendGuard normalizes string concatenation and escapes, then tries to decode base64, base85, base32, hex, ROT13, zlib, and gzip data recursively, with limits. It also flags high-entropy blobs and uses Python's abstract syntax tree to confirm dangerous calls. The listing says it recognizes patterns such as Cloudflare Workers loaders, encoded PowerShell commands, and browser, wallet, or Discord theft paths.

Scan before opening or inspect on open

BlendGuard has a disk scan for triaging a file before you open it. The scan parses the .blend block structure, with a whole-file fallback. If it cannot fully read a compressed file, it reports INCOMPLETE instead of marking the file clean. A separate load-time guard inspects a file on open and warns about findings.

Keep Blender's Auto-Run Python Scripts setting off while reviewing unfamiliar files. You can read the verdict in the BlendGuard sidebar tab by pressing N, or use the on-open warning. Only enable scripts for files you have inspected and trust.

Limits and privacy

A static-analysis verdict is a heuristic, not a guarantee. Determined obfuscation can evade a scanner, so a CLEAN result does not prove that a file is safe. The developer describes BlendGuard as defense in depth and says keeping Auto-Run off remains the primary protection.

The extension listing says BlendGuard has no network access or telemetry. Its requested permission is to read user-selected .blend files for script inspection. The add-on is free and licensed under GPL-3.0-or-later.

Version and compatibility

The version covered here is 0.5.1, which supports Blender 4.2.0 and later. Its release note says trusted scripts now run through Blender's bpy.ops.text.run_script operator. The existing content-hash check, per-script isolation, and requirement to keep global Auto-Run off remain. The runner uses an open Text Editor when available; otherwise, it briefly repurposes one and restores it. In background mode, where there is no Text Editor context, trusted auto-run does nothing. See the developer's BlendGuard repository and the official extension listing for current details and installation options.