Decision Workspace
shell-sanitize vs shell-sanitize-rules vs strict-path
Side-by-side comparison of Rust crates
47
shell-sanitize
experimentalv0.1.0
Type-safe input sanitizer for shell arguments and file paths — rejects injection, traversal, and expansion attacks
46
shell-sanitize-rules
experimentalv0.1.0
Built-in sanitization rules for shell-sanitize: shell metacharacters, path traversal, glob, env expansion, control chars
56
strict-path
experimentalv0.1.1
Handle paths from external or unknown sources securely. Defends against 19+ real-world CVEs including symlinks, Windows 8.3 short names, and encoding tricks and exploits.
Core Metrics
| shell-sanitize | shell-sanitize-rules | strict-path | |
|---|---|---|---|
| Health Score | 47 | 46 | 56 |
| Total Downloads | 117 | 98 | 2.9K |
| 30d Downloads | 87 | 72 | 188 |
| Dependents | 3 | 2 | 5 |
| Releases | 1 | 1 | 13 |
| Last Updated | 39d ago | 39d ago | 68d ago |
| Age | 1m | 1m | 6m |
Health Breakdown
shell-sanitize
Maintenance
11
Quality
14
Community
8
Popularity
2
Documentation
12
shell-sanitize-rules
Maintenance
11
Quality
14
Community
7
Popularity
2
Documentation
12
strict-path
Maintenance
16
Quality
13
Community
8
Popularity
4
Documentation
15
Technical Details
| shell-sanitize | shell-sanitize-rules | strict-path | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 3 | 8 |
| Crate Size | 21KB | 28KB | 114KB |
| Features | 0 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.70.0 | 1.70.0 | 1.71 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •strict-path leads with a health score of 56/100, but none of the options score above 80.