TRB-087v1.0.0 · polyglot_file_detected
Polyglot file detected
Polyglot file detected identifies the same representation can acquire different meaning across decoding or parsing boundaries.
CWE mapping
CWE-436parser differential
Assurance
The reported weakness was reproduced or established directly from the supplied bytes.
Inert example
Displayed as text only. tryb does not execute this example.
[inert example for polyglot_file_detected]Remediation
reject. This construct should not cross the relevant trust boundary without an explicit policy.
Verify: Add a boundary test that rejects the exact bytes before interpretation.
What to verify next
Remove or rotate the affected material, then repeat the analysis on the replacement.