Safelists vs fixing content globs is one of the most common decision points we see. Here is the honest breakdown.

The short version#

Escaping purge vs teaching the scanner.

Point by point#

AspectAnalysis
First moveFix globs: most “missing” classes live in unscanned files
Legit safelistRuntime-composed classes from APIs/databases
SmellBig safelists hide broken scanning
PatternRegex safelists with variants: { pattern, variants }

Bottom line#

Pick based on your constraint, not ideology — and remember the comparison pages link to hands-on recipes so you can verify the claim in your own project within minutes.

comparisons/index|All comparisons