Repository navigation
Releases
Releases · sunilgentyala/TidyTrail-Desktop
TidyTrail Desktop v0.2.0
Verify before installing: each platform has a SHA256SUMS-<OS>.txt below, and every file has a signed build-provenance attestation: gh attestation verify <file> --repo sunilgentyala/TidyTrail-Desktop. Builds are not code-signed yet, so Windows SmartScreen will warn on first run (More info, then Run anyway). Full steps in SECURITY.md.
Security and robustness hardening ahead of use on managed servers, plus a
Python package for headless use.
Added
tidytrailPython package and CLI (python/):scan,largest,
Cleaner.check/trash(withdry_run), andtidytrail scan|trashfor
servers without a desktop, cron jobs, and automation. Built on the same
core as the app, so the delete policy and audit log are identical. abi3
wheels (Python 3.10+) for Windows, Linux x86_64/aarch64 and macOS, tested
in CI as installed wheels. Unattended deletes require--yes.- The audit log and trash logic moved from the Tauri app into
core::trash_with_auditso the app and the package share one tested
implementation; it gained a dry-run mode, and on Unix the log is created
owner-readable only (0600).
Security
- Delete requests are now authorized by the backend.
delete_paths
previously trashed any path the webview sent. Every path is now
re-validated in Rust against the last completed scan: absolute, no
./.., strictly inside the scanned folder (checked via the canonical
parent, so symlinked parents can't escape), not the scanned folder itself,
and not a protected OS location (C:\Windows,/usr,/etc, volume and
profile roots, ...). Newcore/src/delete_guard.rs, with unit tests and
IPC-level tests through Tauri's mock runtime. - Fixed HTML injection from file names. The treemap tooltip and the
"Scanning..." view built HTML withinnerHTMLfrom file names and paths,
which any user who can create a file in a scanned folder controls. Both
now usetextContent. - Deletion audit log. Every delete attempt, allowed or refused, is
appended todeletions.jsonl(location configurable with
TIDYTRAIL_AUDIT_LOG_DIR); deletion fails closed if the log can't be
written. - Stricter CSP (no
'unsafe-inline'styles;object-src,base-uri,
form-action,frame-srclocked down) andfreezePrototype. - Least-privilege capabilities: removed the unused
openerplugin and
narroweddialog:defaulttodialog:allow-open+dialog:allow-message. - Release pipeline: actions pinned to commit SHAs, read-only default token,
no build cache on release builds, SHA-256 checksums and signed SLSA
build-provenance attestations for every asset, tag name passed via env
instead of script interpolation. - CI:
cargo fmt,cargo clippy -D warnings,cargo deny(RustSec,
licenses, sources), CodeQL, Dependabot. AddedSECURITY.md.
Fixed
- Stack overflow on deep directory trees. The recursive scanner crashed
on a tree only ~260 levels deep (reproduced in a test). The scan is now
iterative, and the result tree is capped at 256 levels (reported as a
scan issue). - Scanning
/on Linux counted kernel pseudo-filesystems, e.g.
/proc/kcorereporting ~128 TB./proc,/sysand other pseudo-fs mounts
(detected bystatfsmagic, not by name) are now skipped and reported. - Starting a new scan before the previous one finished left the old scan
running and let its result overwrite the new one; each scan now has its
own cancellation flag and superseded results are discarded. - Delete and scan error messages were immediately overwritten by the normal
status line, so partial delete failures went unnoticed. - Folder sizes above the current folder stayed stale after a delete.
- Each re-render leaked a
ResizeObserverthat kept redrawing old canvases. - The delete confirmation now lists the exact paths being trashed, with
Cancel focused by default.
TidyTrail Desktop v0.1.0
Add a portable Windows build to releases Verified the compiled exe has the whole frontend embedded by copying it alone into an empty folder and running it there: it launched and rendered correctly with no installer and no companion files. Zips that exe (plus README/LICENSE) as an additional release asset alongside the .msi/.exe installers. Linux's .AppImage was already portable, so no change needed there.