
W
WebDecoy Node SDK
Open SourceMIT-licensed TypeScript bot detection, local tripwire rules, and AI agent verification SDK for Node.js and edge runtimes
π³ Self-Hostableπ No Sign-upβ‘ Editorial Signal: 69/100β
5 Stars
npm install @webdecoy/nodeWebDecoy Node SDK (@webdecoy/node) is an open-source TypeScript library providing local honeypot tripwires, rate limiting, AI crawler policies, and signed-agent verification for Node.js and edge frameworks including Express, Fastify, Next.js, Hono, and native fetch or node:http handlers. Developers can test and enforce local detection rules in monitor or enforce modes without a WebDecoy account or API key, while optionally connecting an API key to send verdicts to the hosted WebDecoy dashboard.
Generates hidden rel="nofollow" honeytoken paths and watches common scanner probes (such as /.env, /.git/config, and /wp-config.php) locally.
Starts in monitor mode to log and inspect local verdicts without blocking real visitors until developers explicitly turn on enforcement.
Provides tailored middleware for Express, Fastify, Next.js, Hono (Cloudflare Workers, Bun, Deno), createFetchGuard(), and createNodeHttpGuard().
Supports local tripwires, rate limiting, AI crawler rules, and Web Bot Auth verification without an account or API key; dashboard reporting is optional.
Express or Next.js engineers evaluating honeypot tripwire decisions interactively via the runnable StackBlitz or local playground before deploying rules.
API teams protecting Node.js endpoints against aggressive scraper probes without adding mandatory third-party cloud latency.
TypeScript applications defining explicit AI crawler policies and verifying signed agent identities while preserving full local fallback.
Node.js, TypeScript, Next.js, and edge-runtime developers implementing local bot mitigation and AI crawler governance.
WebDecoy Node SDK operates directly inside the application's HTTP middleware layer across Node.js, Cloudflare Workers, Bun, and Deno runtimes. Using programmable honeypot tripwires, local rate-limit rules, and Web Bot Auth agent checks, it evaluates requests that reach the application middlewareβcomplementing upstream CDN or WAF rules rather than replacing them.
Because the TypeScript monorepo (@webdecoy/node and framework packages) is MIT-licensed on GitHub, teams can inspect every detection rule, run the StackBlitz/local Express playground in monitor mode without an API key, and optionally wire up server-side keys for hosted reporting.
Automated scrapers, vulnerability scanners, and AI crawlers frequently hit backend routes without executing client-side JavaScript tagsβleaving standard frontend analytics completely blind to their activity. While edge WAFs handle network-level filtering, application teams often lack inspectable, framework-native visibility inside their own route handlers. WebDecoy Node SDK targets this exact layer by running inside Express, Fastify, Next.js, Hono, and generic fetch middleware, giving developers direct programmatic inspection of requests that reach their Node.js or edge runtime.
Built cleanly in TypeScript as an open MIT monorepo, @webdecoy/node constructs its local defense around honeypot tripwires, rate-limiting primitives, and Web Bot Auth verification. Developers can inject hidden rel="nofollow" honeytoken paths into HTML responsesβlinks ordinary human users never followβalongside detection rules for scanner-bait endpoints like /.env, /.git/config, and /wp-config.php. Crucially, middleware starts in monitor mode by default: it generates verifiable verdicts without blocking traffic, allowing teams to compare real vs. decoy requests locally or via the browser-based StackBlitz Express playground without creating an account or provisioning an API key.
Rather than locking engineering teams into a single web framework, the repository ships lightweight packages and check:edge-verified adapters spanning Express, Fastify, Next.js, Hono (including Cloudflare Workers, Bun, and Deno), Astro/SvelteKit/Remix via createFetchGuard(), and native node:http servers. Equally commendable is the project's technical transparency: its documentation explicitly clarifies that server middleware only observes requests reaching the application runtime, meaning traffic served directly by upstream CDN caches sits outside middleware visibility unless paired with an edge sensor, and claimed user-agent strings require verification.
For TypeScript and Node.js teams evaluating application-level bot awareness and AI crawler policies, WebDecoy Node SDK provides an accessible, low-risk starting point. The MIT license ensures complete source auditability, the keyless monitor mode removes deployment anxiety, and optional dashboard reporting keeps commercial adoption purely additive. Whether testing rules in the 30-second Express playground or hardening production APIs, WebDecoy Node SDK delivers transparent security tooling grounded in verifiable behavior.
No. Local tripwires, rate limits, AI crawler rules, and the Express playground operate locally in both monitor and enforce modes without a WebDecoy account or API key. An API key is only needed if you want to send detections to the hosted WebDecoy dashboard.
WebDecoy provides dedicated packages and adapters for Express, Fastify, Next.js, and Hono (supporting Cloudflare Workers, Bun, and Deno), along with createFetchGuard() for Astro/SvelteKit/Remix and createNodeHttpGuard() for native node:http servers.
The middleware defaults to monitor mode, recording verdicts cleanly without blocking requests so developers can inspect detections safely before enabling enforcement.
The entire WebDecoy/node monorepo is licensed under the permissive MIT License.
ToolsRadar maintains strict editorial independence. This review of WebDecoy Node SDK was conducted using our standardized 5-pillar evaluation framework (Setup, Code Auditability, Maintenance Vitality, Cost Advantage, and Community Signal). We do not accept paid placements to inflate benchmark scores.
Maintainers of WebDecoy Node SDK and community advocates can display this real-time verification badge in your GitHub README, official documentation, or landing page.
[](https://lordorange.top/tool/webdecoy-node)<a href="https://lordorange.top/tool/webdecoy-node" target="_blank"><img src="https://lordorange.top/badge/webdecoy-node.svg" alt="Featured on ToolsRadar" /></a>Compare other trending developer tools and open-source projects in this space.
Cross-referenced architectural playbooks and category rankings featuring WebDecoy Node SDK.
High-signal, production-tested utilities with transparent codebases and active communities.
Take back data ownership by replacing expensive monthly cloud subscriptions with self-hosted software.
The definitive guide to escaping SaaS subscription sprawl with Coolify, Traefik, Tailscale, and automated S3 backup pipelines.
Replace sluggish 1970s Unix utilities with blisteringly fast, memory-safe Rust and Go modern CLI powerhouses.