Skip to content

Parsing Untrusted Data in PHP, Python and JavaScript: unserialize, pickle, YAML and Prototype Pollution, From the Defender's Side

Article DiscussionsSudoSecurity · · 1 min read

Created
3 Dec 2026
Last reply
about 3 hours ago
Replies
0
Views
0
Reactions
0

Discussion of the blog article Parsing Untrusted Data in PHP, Python and JavaScript: unserialize, pickle, YAML and Prototype Pollution, From the Defender's Side.

Every language has one parser that runs code while it reads. I tested the defensive side of each in PHP 8.6, Python 3.15 and Node 26: an ordinary destructor running on sender-controlled data, an allow-list unpickler rejecting a harmless datetime, a one-key JSON body adding isAdmin to every...

Read the full article →

Discussion thread — share findings, corrections and follow-ups below.

0 replies

    Post a comment

    Join the discussion to share your thoughts.

    Sign in