Decision Workspace
wafrift-sanitizer vs svg-hush vs css-sanitizer
Side-by-side comparison of Rust crates
39
wafrift-sanitizer
experimentalv0.3.1
Client-side sanitizer decompiler: recover the sanitizer from a JS source map, extract its allow/deny model, then L*/SFA-mine inputs that survive it. The DOM-XSS dual of the WAF decompiler.
57
svg-hush
growingv0.9.7
Strip scripting and other abusable features from SVG files
52
css-sanitizer
experimentalv0.5.0
Policy-driven CSS sanitization on top of lightningcss
Core Metrics
| wafrift-sanitizer | svg-hush | css-sanitizer | |
|---|---|---|---|
| Health Score | 39 | 57 | 52 |
| Total Downloads | 119 | 513.9K | 957 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 3 | 0 |
| Releases | 1 | 8 | 7 |
| Last Updated | 122d ago | 64d ago | 41d ago |
| Age | 4m | 4y 2m | 6m |
Health Breakdown
wafrift-sanitizer
Maintenance
7
Quality
13
Community
7
Popularity
2
Documentation
10
svg-hush
Maintenance
13
Quality
14
Community
11
Popularity
7
Documentation
12
css-sanitizer
Maintenance
16
Quality
14
Community
6
Popularity
4
Documentation
12
Technical Details
| wafrift-sanitizer | svg-hush | css-sanitizer | |
|---|---|---|---|
| Version | 0.3.1 | 0.9.7 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Apache-2.0 OR MIT | Apache-2.0 |
| Dependencies | 7 | 5 | 2 |
| Crate Size | 46KB | 17KB | 59KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.93.0 |
| Owners | 1 | 3 | 1 |
Links
Quick Verdict
- •svg-hush leads with a health score of 57/100, but none of the options score above 80.