{"repo":"ptukovar/leakguard","free":true,"listed":false,"github":"https://github.com/ptukovar/leakguard","clone":"git clone https://github.com/ptukovar/leakguard.git","description":"Fast, zero-dependency redaction of secrets & PII from text and logs — in pure Rust.","language":"Rust","stars":21,"topics":["api-keys","cli","credit-card","data-protection","iban","jwt","log-redaction","logging","no-std","pii"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"leakguard Fast, zero-dependency redaction of secrets & PII from text and logs — in pure Rust. leakguard finds and removes sensitive data — emails, credit cards, IP addresses, JWTs, SSNs, MAC addresses, AWS keys, and URLs with embedded credentials — from arbitrary strings and log lines. It's a library and a CLI . Why leakguard? The Rust ecosystem has crypto, parsers, and web frameworks — but no small, maintained, dependency-free library for the everyday job of not leaking PII and secrets into your logs . Python has scrubadub , JS has redact-pii . leakguard fills that gap with: - Zero dependencies. No regex , no lazy static , nothing. Just core + alloc . Tiny build, tiny binary, fast compile. - #![no std] friendly. Works in embedded / WASM with default-features = false . - #![forbid(unsafe code)] . 100% safe Rust. - Correct by construction. Match offsets always land on UTF-8 boundaries, Luhn-validated card numbers, range-checked IP octets — fewer false positives. - Extensible. Plug in your own detectors with a closure. - Batteries included. A leakguard CLI you can pipe logs through. Install Library usage Pick a masking strategy Pick what to detect Inspect without mutating Allowlist safe values and redact custom words Get redaction statistics and line locations Add a custom detector Redact Large Inputs in Parallel Enable the opt-in parallel feature to scan large inputs across detectors with scoped standard library threads: The parallel APIs leave one available CPU for other work","default_branch":null,"files":null,"tree":[],"storefront":"/r/ptukovar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ptukovar/leakguard/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}