Node.js Application Security Hardening

Parent: JavaScript and Node.js · researched 2026-06-02T20:15:44.251Z· 10 sources · 6 concepts · skill nodejs-security-hardening

This reference is the consolidated Node.js security playbook: the threats that

Overview

1. Prototype pollution (CWE-1321)

2. Injection (command, path, eval, SQL/NoSQL)

3. Hardening flags & runtime defenses

4. Secrets & configuration hygiene

5. Dependency & supply-chain risk (CWE-1357)

6. Request-layer risks (SSRF, ReDoS, smuggling, deserialization)

Practical patterns

Anti-patterns

Troubleshooting

References

Children

Frontier under this node: Dependency & supply-chain risk, Hardening flags & runtime defenses (incl. Permission Model as defense-in-depth), Injection in Node (command/path/eval/SQL-NoSQL), Prototype pollution (attack + defenses), Request-layer risks (SSRF, ReDoS, smuggling, unsafe deserialization), Secrets & configuration hygiene

← the whole tree · 3D view· how to read this page