TLDR Web Dev · LAUNCHES & TOOLS
MALIBU
Summary from the TLDR Web Dev newsletter
Malibu is a native ESM middleware for Node.js that helps protect web apps from CSRF attacks. It's designed to work with frameworks like Express, Tinyhttp, and Polka, and it depends on either Cookie Parser or Session middleware. The middleware allows devs to acquire CSRF tokens and provides options for configuration, including middleware type, cookie settings, and token location.