
Research
/Security News
Popular Go Decimal Library Targeted by Long-Running Typosquat with DNS Backdoor
A long-running Go typosquat impersonated the popular shopspring/decimal library and used DNS TXT records to execute commands.
node-reqwest
Advanced tools
Node.js bindings for reqwest — a Rust HTTP client library. Provides system proxy, trusted system CA certificates, and HTTP/2 out of the box, with no additional configuration. Compatible with Electron.
| Feature | node-reqwest | Node.js / undici |
|---|---|---|
| DNS resolver | Recursive (hickory-dns) | Non-recursive (c-ares) — crashes Electron on Windows for nonexistent domains |
| System CA certificates | Built-in | Requires win-ca, mac-ca |
| System proxy | Built-in | Not available (complex Electron workaround) |
| SOCKS proxy | Built-in | Not available |
| HTTP/2 | Full support via hyper | Limited |
| TLS | rustls | OpenSSL |
This library provides an Agent that implements the
undici.Dispatcher interface. Use it as a global dispatcher for
fetch or with any undici-compatible API.
import { Agent } from "node-reqwest";
import { setGlobalDispatcher } from "undici";
const agent = new Agent({
allowH2: true,
proxy: "system",
});
setGlobalDispatcher(agent);
// All fetch calls now use reqwest under the hood
const response = await fetch("https://example.com");
This package downloads a precompiled binary during npm install.
The postinstall script uses
node-addon-slsa to cryptographically verify that the
binary was built in the same GitHub Actions workflow run as this
npm package, using sigstore provenance attestations
and the GitHub Attestations API.
Installation aborts with a SECURITY error if any check fails.
^20.19.0 || >=22.12.0Apache-2.0 OR MIT
FAQs
Node.js bindings for reqwest - Rust HTTP client library
The npm package node-reqwest receives a total of 620 weekly downloads. As such, node-reqwest popularity was classified as not popular.
We found that node-reqwest demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
A long-running Go typosquat impersonated the popular shopspring/decimal library and used DNS TXT records to execute commands.

Research
Active npm supply chain attack compromises @antv packages in a fast-moving malicious publish wave tied to Mini Shai-Hulud.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.