I don’t think that comments are necessarily a good thing. They can be, but usually aren’t. I don’t think comments should be encouraged for their own sake, and TBH this article and its comments are a case in point.
A forum without comments has no reason to exist. We need the discussion and it’s a shame that we’re getting it on an inferior platform with draconian censorship but with a much larger user base.
The author of this post isn’t properly characterizing langsec:
The basis of language security is starting from a programming language with a well-defined, easy-to-understand semantics. … This approach is taken, for example, by Google’s Caja compiler to isolate components from each other, even when they run in the context of the same web page.
From what I can tell, he’s talking about the broader area of “programming languages and security”. That is not the same thing as http://langsec.org/, which is essentially about using grammars to recognize network protocol formats and file formats.
As far as I remember, one motivating vulnerability is that there were two different parsers for SSL certificates, which allowed attackers to trick browsers into accepting invalid certificates. That doesn’t have anything to do with programming languages per se; you can write this vulnerability in any language. It’s analogous to the fact that using a memory safe language doesn’t prevent you from SQL injection.
Some examples of what they are trying to address:
http://langsec.org/papers/langsec-cwes-secdev2016.pdf
I wrote a critique of langsec a few months ago here:
https://lobste.rs/s/uyjzjc/science_insecurity_meredith_l_pat…
tl;dr I think they are using the wrong formalisms.
I found it odd that the author was assuming that langsec is a widely used thing when I think it is nascent research.
Even Google Caja, a totally different project outside of langsec, is not widely deployed, although I very much like its ideas.
(copy of https://news.ycombinator.com/item?id=16126234)
I could be misusing the term, but people have been using “langsec” to talk about the broader “programming languages and security” for a long time, apparently since before langsec.org started using the term; see e.g. https://www.cs.cmu.edu/~rwh/papers/langsec/dagstuhl.pdf from 1999-2001.