
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
impit for JavaScriptThis documents the
impitNode.JS package, which provides JavaScript bindings for theimpitlibrary.See documentation for the Python version of
impithere.
impit is a Node.JS module that provides bindings for the impit library.
It allows you to switch the TLS fingerprints and the HTTP headers of your requests, while still using the same API as the built-in (since Node.JS 18) fetch function.
npm install impit
Installing the root package (impit) with the package manager of your choice will also install the correct prebuilt binary for your platform.
| Operating System | Architecture | libc implementation | Prebuilt binaries available |
|---|---|---|---|
| Linux | x86_64 | glibc | ✅ |
| Linux | x86_64 | musl | ✅ |
| Linux | arm64 | glibc | ✅ |
| Linux | arm64 | musl | ✅ |
| macOS | x86_64 | N/A | ✅ |
| Windows | x86_64 | N/A | ✅ |
| macOS | arm64 | N/A | ✅ |
| Windows | arm64 | N/A | ✅ |
import { Impit } from 'impit';
// Set up the Impit instance
const impit = new Impit({
browser: "chrome", // or "firefox"
proxyUrl: "http://localhost:8080",
ignoreTlsErrors: true,
});
// Use the `fetch` method as you would with the built-in `fetch` function
const response = await impit.fetch("https://example.com");
console.log(response.status);
console.log(response.headers);
console.log(await response.text());
// console.log(await response.json());
// ...
// Override redirect behavior per request (default: follows instance-level setting)
const manualResponse = await impit.fetch("https://example.com/login", {
redirect: "manual", // "follow" | "manual" | "error"
});
if (manualResponse.status === 302) {
console.log("Redirect to:", manualResponse.headers.get("location"));
}
FAQs
Impit for JavaScript
The npm package impit receives a total of 88,279 weekly downloads. As such, impit popularity was classified as popular.
We found that impit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 open source maintainers 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.