
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.
bot-detection
Advanced tools
Zero‑config client bot detector. Import it once, and it sets a cookie isbot to true (bot) or false (human). No server, no telemetry, no configuration required.
isbot cookienavigator.webdriver, empty languages/pluginsfalsenpm install bot-detection
import 'bot-detection/auto'; // sets document.cookie isbot=true|false
function getCookie(name: string) {
return document.cookie
.split(';')
.map(s => s.trim())
.find(s => s.startsWith(name + '='))?.split('=')[1];
}
const isBot = getCookie('isbot') === 'true';
;(window as any).__BOT_DETECTION__ = {
// Lower the threshold and raise flip requirements
strict: true, // default false
threshold: 0.5, // default 0.6 (0..1)
debug: true, // logs score and reasons to console
};
import 'bot-detection/auto';
src/index.tsx or src/index.jsx.src/main.tsx or src/main.jsx.app/layout.tsx.// app/bot-detect-client.tsx
'use client'
import 'bot-detection/auto'
export default function BotDetectClient(){ return null }
// app/layout.tsx
import BotDetectClient from './bot-detect-client'
export default function RootLayout({ children }){
return (
<html><body>
<BotDetectClient />
{children}
</body></html>
)
}
isbot cookie:
document.cookie).localhost.false.POST /api/bot/telemetry 404 in your dev server:
npm i bot-detection@latest.window.__BOT_DETECTION__ or manually posts to /api/bot/telemetry.isbot, value 'true' | 'false''false'navigator.webdrivernavigator.languages / navigator.pluginsmaxTouchPoints mismatch (small weight)hardwareConcurrency <= 1 (small weight)window.chrome (small weight)devicePixelRatio === 1 with very large width (tiny weight)strict and lower threshold, but expect more false positives.FAQs
Zero‑config client bot detector that sets an 'isbot' cookie.
We found that bot-detection 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.

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.