Decision Workspace
path-security vs strict-path vs safename
Side-by-side comparison of Rust crates
39
path-security
experimentalv0.2.0
Comprehensive path validation and sanitization library with 85%+ attack vector coverage
53
strict-path
growingv0.2.3
Secure path handling for untrusted input. Prevents directory traversal, symlink escapes, and 19+ real-world CVE attack patterns.
45
safename
experimentalv0.1.0
Filename and path validation for security hardening
Core Metrics
| path-security | strict-path | safename | |
|---|---|---|---|
| Health Score | 39 | 53 | 45 |
| Total Downloads | 4.8K | 4.5K | 277 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 6 | 5 | 1 |
| Releases | 1 | 18 | 1 |
| Last Updated | 350d ago | 159d ago | 275d ago |
| Age | 11m | 1y | 9m |
Health Breakdown
path-security
Maintenance
3
Quality
14
Community
8
Popularity
4
Documentation
10
strict-path
Maintenance
12
Quality
14
Community
8
Popularity
4
Documentation
15
safename
Maintenance
3
Quality
18
Community
6
Popularity
3
Documentation
15
Technical Details
| path-security | strict-path | safename | |
|---|---|---|---|
| Version | 0.2.0 | 0.2.3 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 2 | 9 | 2 |
| Crate Size | 68KB | 145KB | 23KB |
| Features | 0 | 3 | 14 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.76 | 1.89.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •strict-path leads with a health score of 53/100, but none of the options score above 80.
- •path-security has the most downloads (4.8K), suggesting wider adoption.