Muskox
summary
muskox is a schema‑driven parser generator that consumes JSON Schema and emits parsers which reject at parse time inputs that violate the schema. Examples show Rails‑style valid input producing a params hash and malformed inputs (unexpected keys, YAML‑in‑XML or billion‑laughs XML expansion attempts) producing immediate parser errors that name the offending key. Implementation lives on github as bobcat/muskox and the design cites LangSec principles; the demos demonstrate the approach working end to end.
AI-written summary · about
chapters (7)
- 0:00Start
- 0:19PARSER GENERATORS!
- 0:30SECURITY
- 0:42WEIRD INPUTS
- 1:12FRAMEWORKS DON'T HELP WITH THIS
- 1:25MUSKOX TO THE RESCUE
- 2:45BASED ON LANG-SEC IDEAS
related talks
40mRuby Writing Machines
25mTurning Data Into Generative Chaos
12mDo Parsers Dream of Electric Guitars?!
49mSquish Meets Structure – Designing with Shoggoth
51mRolePl-AI
47mSquish Meets Structure — Designing With Shoggoth
53mPoems in an accidental language
46mCompiling Your Story: Using Techniques from Compiler Design to Check Your Narrative
