M1-audit SHOULD batch: 16 deferred findings (token-in-query, folder access consistency, placeholder devices, ML-DSA-87 buffer, tx boundaries, …) #95
Labels
No labels
epic
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
phase-7
phase-8
phase-9
priority/P0
priority/P1
priority/P2
type/backend
type/client
type/docs
type/ops
type/security
type/spike
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/failsulit#95
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Batched SHOULD-fix findings from the M1 closure audit (#84 umbrella). Triage: fix opportunistically at M1.5, re-rank at the #66 audit. Each entry: finding / smallest fix.
Re-verified all 18 items against main @
7f853c8(2026-11-11, 4 parallel code sweeps + spot-checks). Line refs below are stale from Nov 7; item numbers follow the issue body.FIXED since filing (2):
PARTIAL (2):
STILL LIVE (13): items 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 17 (plus prod half of 16 and gaps c/h of 18). Notable: PR #80 added IsTenantRootSharedAsync to the WRITE paths only — ListFiles/DownloadFile/GetFolder still 403 org members reading the org root they can write to; WrapSignature.cs still decodes signatures into a 4096-byte buffer (ML-DSA-87 ~4627B silently rejected, no MlDsa case in WrapTestSigning); ParseOptionalBase64 still throws FormatException on bad kdf_salt (500, while TryDecodeBase64 sits unused next to it); AuthorizePairing challenge consume is now atomic but the wrap insert is a separate SaveChanges (burned challenge on mid-failure); approve/reject/cancel still flip via stale tracked entities.
DISPOSITION: items 5 + 8 (small, security-adjacent) + several #96 siblings land in the hygiene batch PR today. The rest re-ranks into milestone M3 backlog: folder access policy unification (2+3), placeholder fingerprint binding (4), pairing/rekey tx boundaries + guarded flips (6+7), legacy OIDC token-in-query (1 — decide retire-legacy-flow vs fragment), blob-before-commit + pending sweep (11), share ownership/tenant checks (12), paging + query-push (13+14), StoragePath DTO leak + legacy-upload flag (17), unlink email+TOTP guard (9), prod compose secret + email fail-fast (16), test gaps c/h (18).
PR #145 MERGED (squash
4c87be7on main; PR runs build-and-test 38253 + security-scan 38254 green, polled before merge). Items 5 (ML-DSA-87 wrap-signature buffer 8192 + MlDsa87 test identity) and 8 (KeyFeature.ParseKdfSalt -> 400 on wrap upload / pairing approve / recovery rekey) are FIXED — strike from this batch. Suite 987/0/39 Release, coverage gate 87.20%. Remainder stays M3 per the triage comment above.