Application Security

Secure Coding in JavaScript & Node.js

Write JavaScript and Node.js that resists attack. This course teaches the secure way to handle untrusted input, build database queries, run commands, render output in the browser and on the server, manage authentication and sessions, hash passwords and handle JWTs, and call other services. It covers the pitfalls that are specific to the JavaScript ecosystem, prototype pollution, insecure deserialization, ReDoS, npm supply-chain risk and the unsafe DOM sinks, and the Express and front-end patterns that keep an app safe. Every lesson contrasts the dangerous pattern with the safe one and has a 'fix this code' exercise. Covers the security-relevant Node APIs and the go-to libraries (bcrypt/argon2, the crypto module, jsonwebtoken, DOMPurify, helmet, parameterized query builders), plus the tools that catch mistakes (npm audit, ESLint security plugins, Semgrep). For JavaScript and Node developers who want to build securely; pairs with Secure Code Review and Web Application Security Fundamentals.

8domains / modules
23lessons
157practice questions
45flashcards

0.00 USD

Start this course →

What you'll study

Module 1 — Secure JavaScript Foundations

Module 2 — Injection-Safe Node

Module 3 — XSS, the DOM and Templating

Module 4 — Authentication, Sessions, JWT & Crypto

Module 5 — Prototype Pollution, Deserialization, SSRF & Paths

Module 6 — Dependencies & Security Tooling

Module 7 — Hardening Express & Testing

Study & Review

Practice and exam readiness

Related courses

Create a free account to preview lessons. Browse all courses.