v0.4.0
Pre-release
Pre-release
Professional Audit & SSD Optimization
The v0.4.0 release introduces two critical features for enterprise and forensic environments: Professional Audit Logging and Hardware-Level SSD TRIM support. This system provides verifiable proof of data destruction and enhances reliability on modern storage media.
Tip
Audit & SSD Performance
Use the new --audit-log flag to generate a forensic report, and the --trim flag to ensure that SSD controllers are informed of block deallocation—a key step for anti-forensics on Flash media.
Key Enhancements
- Forensic Reporting System: A new reporting engine that tracks every file targeted, recording success/failure, precise timestamps, and the specific destruction methods applied.
- SSD TRIM/Discard Support: Implemented platform-specific hardware commands (
fallocateon Linux,DeviceIoControlon Windows) to inform SSDs of discarded blocks, bypassing hardware-level remapping artifacts. - Multi-Format Export: Support for human-readable Text reports and machine-readable JSON exports for integration into security dashboards.
Technical Implementation
- Structured Serialization: Integrated
serdeandserde_jsonfor robust data representation and export. - Atomic Aggregation: Implemented a thread-safe event bus to summarize session metrics (total files, successes, failures) without bottlenecking the parallel destruction logic.
- Extended CLI Schema: Added
--audit-log <PATH>and--audit-format <text|json>to allow precise control over forensic output.