Repository avatar
AI Tools
v1.1.1
active

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

CI npm PyPI Go Reference License: MIT MCP Registry

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

DirectoryDescription
sdks/typescriptZero-dependency TypeScript 5.9+ / JS client for Node.js 20+, Cloudflare Workers, Vercel Edge, Deno & Bun
sdks/pythonZero-dependency Python 3.11+ client + HMAC webhook verifier for FastAPI, Django & data pipelines
sdks/goPure stdlib Go 1.25+ client, net/http middleware, and webhook signature verifier
integrations/cloudflare-workerEdge Worker that blocks spoofed AI bots & high-risk IPs with Cloudflare Cache API caching
integrations/nextjs-middlewareNext.js middleware.ts protecting auth/signup routes & verifying official AI search crawlers
integrations/nginx-auto-syncSafe daily cron script syncing /v1/ai-bots/rules?format=nginx with nginx -t validation
integrations/caddyCaddyfile AI crawler access policy snippet
integrations/mcpModel Context Protocol (https://hacknode.net/mcp) config for Cursor, Claude Desktop & Windsurf
cli/hnLightweight POSIX shell tool (hn 1.1.1.1 or cat access.log | hn bulk)
openapi/openapi.jsonOpenAPI 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


License

All SDKs, scripts, and integration templates in this repository are released under the MIT License.

No installation packages available.

Remote