
hacknode
io.github.voidxgroup/hacknode
Real-time IP risk scoring, proxy/VPN/Tor & mobile CGNAT detection, and AI bot spoof verification.
Documentation
HackNode — IP Risk, Proxy & AI Crawler Intelligence Ecosystem
English | 简体中文 | Live Lookup | API & MCP Docs | Discussions
Official SDKs, Cloudflare Worker & Next.js edge guards, Nginx/Caddy rule sync scripts, CLI log analyzer, OpenAPI 3.1 specification, and community intelligence issue trackers for hacknode.net.
1-Second Quick Start (curl)
Query your own IP or any IPv4 / IPv6 address straight from your terminal — no signup required:
# Inspect your current public IP
curl hacknode.net
# Inspect any IPv4 or IPv6 address
curl hacknode.net/20.171.207.12
curl hacknode.net/2606:4700:4700::1111
# Verify whether a claimed AI crawler User-Agent is genuine or spoofed
curl -s "https://hacknode.net/v1/lookup/73.15.22.9?ua=GPTBot/1.2"
Example JSON Response
{
"ip": "20.171.207.12",
"geo": {
"country": "US",
"region": "Washington",
"city": "Redmond",
"postal": "98052",
"latitude": 47.674,
"longitude": -122.1215,
"timezone": "America/Los_Angeles"
},
"network": {
"asn": "AS8075",
"asn_num": 8075,
"org": "Microsoft Corporation",
"domain": "microsoft.com",
"cidr": "20.171.206.0/23",
"type": "hosting",
"provider": "azure"
},
"flags": {
"is_datacenter": true,
"is_mobile": false,
"is_proxy": false,
"is_vpn": false,
"is_tor": false,
"is_residential_proxy": false,
"is_abuser": false,
"is_ai_bot": true,
"is_spoofed_bot": false
},
"bot": {
"name": "GPTBot",
"owner": "OpenAI",
"category": "ai_training",
"verified": true
},
"risk": {
"score": 40,
"level": "medium",
"recommendation": "challenge",
"reasons": [
"Originates from cloud / datacenter hosting IP range (+40)",
"Verified official GPTBot (OpenAI) crawler IP"
]
},
"meta": {
"latency_ms": 0.12,
"db_version": "2026-12-02"
}
}
Repository Contents
| Directory | Description |
|---|---|
sdks/typescript | Zero-dependency TypeScript 5.9+ / JS client for Node.js 20+, Cloudflare Workers, Vercel Edge, Deno & Bun |
sdks/python | Zero-dependency Python 3.11+ client + HMAC webhook verifier for FastAPI, Django & data pipelines |
sdks/go | Pure stdlib Go 1.25+ client, net/http middleware, and webhook signature verifier |
integrations/cloudflare-worker | Edge Worker that blocks spoofed AI bots & high-risk IPs with Cloudflare Cache API caching |
integrations/nextjs-middleware | Next.js middleware.ts protecting auth/signup routes & verifying official AI search crawlers |
integrations/nginx-auto-sync | Safe daily cron script syncing /v1/ai-bots/rules?format=nginx with nginx -t validation |
integrations/caddy | Caddyfile AI crawler access policy snippet |
integrations/mcp | Model Context Protocol (https://hacknode.net/mcp) config for Cursor, Claude Desktop & Windsurf |
cli/hn | Lightweight POSIX shell tool (hn 1.1.1.1 or cat access.log | hn bulk) |
openapi/openapi.json | OpenAPI 3.1 specification (import directly into Postman, Bruno, or Apifox) |
Connect AI Agents via MCP (https://hacknode.net/mcp)
Add HackNode to Cursor, Claude Desktop, or Windsurf (mcp.json) with zero local package installs:
{
"mcpServers": {
"hacknode": {
"url": "https://hacknode.net/mcp",
"headers": {
"Authorization": "Bearer hn_live_your_api_key"
}
}
}
}
Exposed MCP tools: lookup_ip, verify_ai_bot, and lookup_asn.
Community & Intelligence Co-Creation
- False Positive Report: Is your corporate, ISP, or cloud IP misclassified? Submit a False Positive Report.
- Submit a New AI Crawler: Spotted a new LLM crawler
User-Agentor published IP feed? Submit an AI Crawler. - Questions, Ideas & Threat Intel: Join GitHub Discussions.
- Free API Key (50,000 lookups/mo): hacknode.net/dashboard
License
All SDKs, scripts, and integration templates in this repository are released under the MIT License.
No installation packages available.