DashboardcliPostCSS map option traversal

PostCSS map option traversal

Category: gotcha
Confidence: 1.00
ID: 01a04315-d848-7521-ba29-a207ad921ec5
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 1epjoDnTv88AKp3k0
Created: 2026-08-27 11:58:20
Updated: 2026-08-27 11:58:20

Content

Trap: setting PostCSS map explicitly to control source maps looks harmless because source-map generation is often treated as opt-in. Fix: never set map in the PostCSS processing path; it is opt-out there, and loading a prior map can implicitly generate result.map while attacker-controlled annotations can traverse paths through loadMap().

Move to: