|
|
|
|
|
by bubble_boi
3083 days ago
|
|
Author here. Someone in a comment pointed out that you if you could get your code in express middleware (or something depended on by express middleware or similar) you could potentially alter any CSP header in the responses (if it's set in middleware before your's in the chain). |
|
This applies to almost any backend web framework and package manager, but the culture of micro packages in npm suits itself well to this attack.