
Node.js Authentication from Lucia to Better Auth
Lucia started off as an educational project to teach authentication and authorization, then evolved into an SDK, then got archived. Let's learn how to migrate a Lucia Auth codebase to Better Auth
-->
Lucia started off as an educational project to teach authentication and authorization, then evolved into an SDK, then got archived. Let's learn how to migrate a Lucia Auth codebase to Better Auth
Getting hands-on with SSRF bypasses and the pitfalls of denylists.
Prisma is a popular type-safe ORM for Node.js but just like all abstractions, it comes at a cost and Prisma Raw Query function may lead to SQL injection if not handled correctly.
Stop storing secrets in environment variables. It's a bad practice and only fits hobby or side projects with no real business impact. Here are all the reasons why you should never store secrets in environment variables and how to do it better.
Getting started with the npm audit command and learn why it's not enough and how to advance your project's security posture with more robust security tools like Snyk.
Learn how I discovered a Node.js core prototype pollution regression, its security implications, and why it didn't warrant a CVE. Luckily, I also fixed it for us!