Development record
ultra-v0.6.8 follow-up observation (security review of the branch): a third party's home path nested under a longer path — /Volumes/Backup/Users/alice/x, or any prefix before /Users or /home — is reported by no detector in internal/adapter/scanner/identity.go and is committed verbatim by memory and history. leadingBoundaryOK refuses the generic-home match when the byte before /Users is a path-segment byte, home_path_self correctly declines it, and local_username does not match a foreign name. The caller's OWN name in the same shape is still caught hard_fail by local_username, so this is the warn-class home_path_other gap only. The generic regex also covers two segments at most, so a home under a deeper root ([redacted-path]/alice) is only ever matched by its first two. Pre-existing on main, identical before and after the branch. Fix: let home_path_other evaluate a /Users|/home segment that follows a path byte, or widen the regex to a nested root.
ultra-v0.6.8 follow-up observation (security review of the branch): a third party's home path nested under a longer path — /Volumes/Backup/Users/alice/x, or any prefix before /Users or /home — is reported by no detector in internal/adapter/scanner/identity.go and is committed verbatim by memory and history. leadingBoundaryOK refuses the generic-home match when the byte before /Users is a path-segment byte, home_path_self correctly declines it, and local_username does not match a foreign name. The caller's OWN name in the same shape is still caught hard_fail by local_username, so this is the warn-class home_path_other gap only. The generic regex also covers two segments at most, so a home under a deeper root ([redacted-path]/alice) is only ever matched by its first two. Pre-existing on main, identical before and after the branch. Fix: let home_path_other evaluate a /Users|/home segment that follows a path byte, or widen the regex to a nested root.
Grounds
- pursued: a third-party home under a longer absolute root is caught by home_path_other; a nested home left verbatim by memory or history would show it wrong
Frontmatter
| id | iss-2608291915432717 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2608291915432717-nested-third-party-home-path-is-reported.md
open on GitHub ↗ · commit history ↗