Implement security audit fixes (M1, M2, L1-L5, I1) #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/security-hardening"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What does this PR do?
Implements all fixes recommended by the AI security audit (report findings M1, M2, L1-L5, I1). The audit found 0 Critical/High issues against this local single-user app; this PR closes the 2 Medium, 5 Low, and 1 Info items.
FileTailer (M1, L4)
LastErrorproperty instead of being swallowed.FolderTailer (M2, L1, L2, L3, L4)
Noticeevent, with de-duplication.FolderWindow (L5, L4)
FolderTailer.Noticeand shows messages in the status bar; the start task is observed for faults.SettingsService (I1)
File.Movereplace instead of Copy + Delete when saving settings.Housekeeping
__tailtestharness files that were accidentally committed in the initial commit, and added the folder to.gitignore.README.md.How was this tested?
dotnet build Tayler.slnx -c Debug- 0 errors, 0 warnings (WarningsAsErrors is active;-c Releasebuilds clean too).FileTailer/FolderTailersources: 11/11 checks passed (initial lines, append follow, partial-line reassembly, truncation reset, initial-lines=0 follow-only, folder discovery of new files, glob filtering). Harness removed after the run.Checklist