News for hackers. Stuff that matters.
Re:JSON-Based Universal Messaging Format (2017) by Sohcahtoa82 on Wednesday June 13, 2018 @04:10PM (#17306503)
> When I need to parse or validate S-expressions, I just write the functions (here message, to, from, timestamp, etc.) so that eval()ing the S-expressions either validates it or returns whatever data structure I need.

facepalm

As soon as you've decided to call an eval() function on potentially untrusted data, you've lost to an attacker.

There are no comments on this comment yet.