Dashboardinstitutional-transition-labZIP extra-member flags

ZIP extra-member flags

Category: gotcha
Confidence: 1.00
ID: 01a084a4-c9d6-759f-80fd-45657673be27
Project ID: 1fa3712f-997f-4884-b7ec-8abb79f9e342
Cross-project: No
Recalled in other projects: 0
Source session: 1ZjgTYcT8eC9K18gr
Created: 2026-09-09 05:29:47
Updated: 2026-09-09 05:29:47

Content

Trap: checking encryption and compression only when opening required ZIP members looks safe because unused extras are never consumed, but malformed or encrypted extras still make the authenticated archive ambiguous. Fix: validate every central-directory entry before reading any member; reject all encryption-related flags and compression methods outside the explicit archive-format allowlist.

Move to: