News for hackers. Stuff that matters.
Re:Why the Latest Rails Exploit Is Indicative of a Bigger Pr... by ehsanf on Thursday February 14, 2013 @01:57PM (#5221266)
I believe over-engineering is also a culprit here. We had a similar situation in JSON handling in browser. Some over engineered feature allows custom objects to replace built in object for lists, allowing XSS through JSON parser. The solution was to make every REST API to start with a top level dictionary object. It just sounds arbitrary over engineering!!
Re:Why the Latest Rails Exploit Is Indicative of a Bigger Pr... by astrodust on Thursday February 14, 2013 @11:28PM (#5224444)
Why can't there be a set of parsers for YAML, JSON, and XML that are tested, abused, and audited aggressively so that your interchange formats don't become attack vectors?

The current state of having a half dozen of each of these is complete chaos. Presumably nobody thinks they're accountable because everyone has the option of using another package instead if they're not happy, basically passing the hot-potato constantly.

Is there a non-Ruby project that has a good implementation of these worth studying?