logo

What is a backdoor? Let’s build one with Node.js

ID: fe74b098-016e-56f6-94c8-808473cb103e

STIX ID: report--fe74b098-016e-56f6-94c8-808473cb103e

Feed Name: Snyk Blog

Threat Score
70/100

Date Published: 2020-03-19

Date Updated: 2026-09-15

...
...

This blog post demonstrates a supply-chain backdoor scenario for the npm ecosystem: a malicious middleware package uses Node's child_process.exec and an HTTP ?cmd interface to execute OS commands, authenticates operators via an MD5-based header, identifies infected servers via a typo-squatted response header (Content-Sec-Policy), and discusses propagation vectors (typosquatting, adding as a dependency, compromised npm CI tokens) and mitigations such as dependency review, monitoring, and security tools.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.