:paws: epigone :vim: · @tetranomos
5 followers · 21 posts · Server hachyderm.io

i read there are upwards to the order of "millions" of shotgun parsers in the wild ( said it!). imagine that, a million monkeys with shotguns

#langsec

Last updated 1 year ago

Teixi · @teixi
354 followers · 1235 posts · Server mastodon.social
Erik Poll · @erikpoll
4 followers · 3 posts · Server infosec.exchange

Deadlin for the upcoming LangSec workshop has been extended to January 28. langsec.social/objects/e854a73

#langsec

Last updated 2 years ago

Mike Williamson · @sleepycat
48 followers · 28 posts · Server infosec.exchange

Slow but steady: Achieving real security within two decades

Love this talk.
youtu.be/zTeq_r4kJYA

#langsec

Last updated 2 years ago

Mike Williamson · @sleepycat
48 followers · 28 posts · Server infosec.exchange

@alexfrudolph @billrobinson

💯

Meanwhile actual defensive work like , formal verification and memory safety is weirdly absent.

quantamagazine.org/formal-veri

#langsec

Last updated 2 years ago

Falcon Darkstar · @falcon
271 followers · 159 posts · Server mastodon.falconk.rocks

Also this is about not because "security of a programming language" (actually this is about platform or runtime security), but because "security of processing an input language, ".

#langsec #json

Last updated 2 years ago

Falcon Darkstar · @falcon
271 followers · 158 posts · Server mastodon.falconk.rocks

php.net/manual/en/function.jso sayeth:

"null is returned if the json cannot be decoded or if the encoded data is deeper than the nesting limit."

No! No! The right answer is to throw an exception here!

#php #langsec

Last updated 2 years ago

Christoph Matthies :verified: · @chrisma
116 followers · 1591 posts · Server mstdn.social

Users are STRONGLY discouraged from using the lookups option

RT @andreasdotorg@twitter.com

In which the maintainers do the only sensible thing and nuke the entire feature from orbit.

Manul, the cat, purrs approvingly.

github.com/apache/logging-log4

🐦🔗: twitter.com/andreasdotorg/stat

#langsec #log4j

Last updated 3 years ago

varx/tech · @varx
384 followers · 3287 posts · Server infosec.exchange

This week's project at work was to learn how to use a parser-generator and apply it to my URL library. It was a little frustrating at first, but fun!

Now I have 120 KB of switch statements that perfectly capture RFCs 3986, 5234, and 6874, and it's pretty much guaranteed to parse URIs in the exact same way as any *other* program that generates a parser from that grammar.

Mismatched parsers cause untold numbers of security holes. Parser generators are a great way to prevent them.

#langsec

Last updated 7 years ago

varx/tech · @varx
384 followers · 3287 posts · Server infosec.exchange

^LB: In my CS education, we learned about regular grammars and context-free grammars. We even learned how to write parsers for them. They may have even mentioned parser-generators that will turn a grammar into code for you.

What they failed to mention, as far as I can recall, is that writing custom parsers can be *dangerous*.

Computer Science != Software Development, and I think that needs to be emphasized in school.

#langsec

Last updated 7 years ago