
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
selenium-stealth
Advanced tools
A nodejs package selenium-stealth to prevent detection. This programme is trying to make nodejs selenium more stealthy.
As of now selenium-stealth
After using selenium-stealth you can prevent almost all selenium detections.
This a nodeJs version of selenium stealth forked from the python version.
And the python version is a re-implementation of JavaScript puppeteer-extra-plugin-stealth developed by @berstend.
Features that currently selenium-stealth can offer:
✅️ selenium-stealth with stealth passes all public bot tests.
✅️ With selenium-stealth selenium can do google account login.
✅️ selenium-stealth help with maintaining a normal reCAPTCHA v3 score
Selenium-stealth is available on npm.
$ npm install selenium-stealth
const SeleniumStealth = require("./selenium_stealth");
const {Builder} = require('selenium-webdriver');
const driver = new Builder()
.withCapabilities({
'goog:chromeOptions': {
excludeSwitches: [
'enable-automation',
'useAutomationExtension',
],
},
})
.forBrowser('chrome')
.build();
const seleniumStealth = new SeleniumStealth(driver)
await seleniumStealth.stealth({
languages: ["en-US", "en"],
vendor: "Google Inc.",
platform: "Win32",
webglVendor: "Intel Inc.",
renderer: "Intel Iris OpenGL Engine",
fixHairline: true
})
driver.get("https://bot.sannysoft.com/");
new SeleniumStealth(driver: Driver)
seleniumStealth.stealth(
userAgent: string= "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.53 Safari/537.36",
languages: [string]= ["en-US", "en"],
vendor: string= "Google Inc.",
platform: string= "Win32",
webglVendor: string = "Intel Inc.",
renderer: string = "Intel Iris OpenGL Engine",
fixHairline: boolean = false,
runOnInsecureOrigins: boolean = false
)
headless | headful |
headless | headful |
Copyright © 2020, praise2112. Released under the MIT License.
FAQs
Evade selenium detection from websites
The npm package selenium-stealth receives a total of 6 weekly downloads. As such, selenium-stealth popularity was classified as not popular.
We found that selenium-stealth demonstrated a not healthy version release cadence and project activity because the last version was released 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.