Dashboard › cli › peekHeader ZIP scan boundaries
01a08a9b-9b29-7d6a-9c7f-24b8333aa025Trap: returning PeekResult.format = "unknown" or recursively scanning nested ZIPs looks thorough because every object gets a format and scanZips suggests recursive discovery. Fix: peekHeader() returns null for unrecognized formats, and ZIP contents are scanned only one level regardless of scanZips; recursion changes the established DIF scan boundary and can amplify untrusted archive work.