See https://github.com/w3c/webappsec-csp/issues/704 The Trusted Types spec also mentions clipping to 40 first characters, and this can have similar ambiguity and implementation issues: https://w3c.github.io/trusted-types/dist/spec/#should-block-sink-type-mismatch https://w3c.github.io/trusted-types/dist/spec/#should-block-create-policy (and in https://w3c.github.io/trusted-types/dist/spec/#privacy-considerations)