Registry / security / fs-mistrust

fs-mistrust

JSON →
library0.14.2rscratesunverified

Ensure that files can only be read or written by trusted users, preventing privilege escalation.

# Cargo.toml [dependencies] fs-mistrust = "0.14.2"
INSTALL
IMPORT
SIG · FS-MISTRUST
F
fs-mistrust
securityrustv0.14.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mistrust
use fs_mistrust::Mistrust;

Creates a Mistrust instance to verify file permissions and ownership.

use fs_mistrust::Mistrust; fn main() { let mistrust = Mistrust::new(); // Check file permissions }
Debug
Known issues
gotchaOn non-Unix platforms, permission checks may be limited or skipped.
fix
Test on target platforms and consider platform-specific behavior.
affects: >=0.14.0
Upgrade
Version history
0.14.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
Amazon
1
Resources
fs-mistrust — cargo add fs-mistrust · libregistry