An exclusion rule is a software check that prevents selected files, paths, or patterns from being processed. Build tools, archive utilities, and security software may use these rules to skip sensitive files or unwanted content.
Exclusion rules matter because they rely on the software identifying a path the same way the filesystem does. If a tool compares only the path’s text, while the filesystem treats alternate Unicode spellings or case variants as equivalent, an attacker may bypass the check. In vulnerable workflows, this can expose files to unintended processing or overwrite. Defenses include filesystem-aware path validation, keeping validation close to file access, and applying vendor fixes for affected tools.


