Skip to content
DoS Write-up Intermediate

Exposing the Shadowy World of Student Proxy Exploits: 148 npm Pac

148 npm packages posing as student proxy servers were found to hijack browsers and turn them into DDoS botnets. An attacker could use these packages to enlist unsuspecting users' browsers in distributed denial-of-service attacks.

Rishav Kumar Follow

Published on medium.com

As a security researcher, I’ve seen my fair share of ingenious exploits and creative attempts to circumvent security measures. However, one recent incident caught my attention — the widespread hijacking of browser instances using npm packages disguised as student proxies.

Rishav Kumar, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the malicious npm packages contained hidden code that set up a proxy server on the user's browser without consent.

Impact

The hijacked browsers could be used as DDoS bots, potentially overwhelming targets with traffic.

What the attacker needed

User installs malicious npm package

How it was found

  1. The attacker uploads a compromised npm package to the public repository.
  2. An unsuspecting user installs the malicious package as part of their project dependencies.
  3. The compromised package sets up a proxy server on the infected browser instance.
  4. As more users install the package, the proxy servers become overwhelmed, turning browsers into DDoS bots.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Some npm packages, which are reusable code pieces developers install, pretended to be free student proxy tools. When installed, they secretly turned the user's web browser into part of a botnet, a network of infected machines used to flood a target with traffic and knock it offline.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.