edgeshield

package module
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

utilvo-edge-shield

Utilvo EdgeShield (v1.1.0) is a zero-dependency, multi-language server firewall rule generator, CIDR/ASN threat intelligence library, Safe-Harbor bot classifier, and Google Analytics 4 (gtag.js) headless browser detector developed by Utilvo.


Overview

Modern headless Chromium scrapers hosted on Tencent Cloud (AS132203), Alibaba Cloud (AS45102), and Huawei Cloud (AS136907) rotate outbound IPv4 addresses across /10 and /16 CIDR blocks (43.128.0.0/10, 47.74.0.0/16, 101.32.0.0/15) on every HTTP request, spoof legacy mobile User-Agents (CPU iPhone OS 13_2_3), hammer Next.js ? _rsc= payloads, and pollute Google Analytics 4 with synthetic sessions.

utilvo-edge-shield provides programmatic request inspection, CIDR/ASN matching, and WAF rule generation while strictly whitelisting verified search engine crawlers (Googlebot, Bingbot, Applebot, DuckDuckBot, YandexBot).


Installation

Python (PyPI)
pip install utilvo-edge-shield
Deno / TypeScript (JSR)
deno add jsr:@utilvo/edge-shield
Rust (Crates.io)
cargo add utilvo-edge-shield
Ruby (RubyGems)
gem install utilvo-edge-shield
Elixir (Hex.pm)
{:utilvo_edge_shield, "~> 1.1.0"}
Dart / Flutter (Pub.dev)
dart pub add utilvo_edge_shield
Lua / OpenResty / Nginx (LuaRocks)
luarocks install utilvo-edge-shield
Go
go get github.com/utilvo/utilvo-edge-shield@v1.1.0
1-Line Linux / Nginx Automated Deployment
curl -sSL https://utilvo.com/edge-shield/install.sh | sudo bash

Quick Start

Python
from utilvo_edge_shield import inspect_request, generate_cloudflare_waf_expression, EDGE_SHIELD_FEEDS

verdict = inspect_request(
    ip="43.173.182.197",
    user_agent="Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X)"
)
print(verdict)
# {'is_bot': True, 'is_seo_crawler': False, 'reasons': ['CLOUD_SCRAPER_SUBNET', 'ROGUE_SCRAPER_USER_AGENT']}
TypeScript / JavaScript
import { inspectServerRequest, generateCloudflareWafExpression, EDGE_SHIELD_FEEDS } from "jsr:@utilvo/edge-shield";

const res = inspectServerRequest("43.173.182.197", "HeadlessChrome/120.0");
console.log(res.isBot, res.reasons);

License

MIT © Utilvo

Documentation

Overview

Package edgeshield provides official Go constants, CIDR feed endpoints, and configuration helpers for Utilvo EdgeShield v1.1.1 (Server Bot Firewall, Cloud ASN Blocker & GA4 Guard).

Interactive Generator & Documentation: https://utilvo.com/edge-shield

Live Threat Intelligence Feed (JSON): https://utilvo.com/api/edge-shield/threats

Live Threat Intelligence Feed (Plain-Text CIDR): https://utilvo.com/api/edge-shield/threats?format=cidr

Security Research Labs: https://utilvo.com/labs

Index

Constants

View Source
const EdgeShieldURL = "https://utilvo.com/edge-shield"

EdgeShieldURL is the interactive Nginx geo/map and Cloudflare WAF generator.

View Source
const ThreatFeedCIDRURL = "https://utilvo.com/api/edge-shield/threats?format=cidr"

ThreatFeedCIDRURL is the plain-text IPv4 CIDR blocklist for AS132203, AS45102, AS136907, and AS396982.

View Source
const ThreatFeedJSONURL = "https://utilvo.com/api/edge-shield/threats"

ThreatFeedJSONURL is the live machine-readable JSON threat intelligence feed.

View Source
const Version = "1.1.1"

Version is the current release version of Utilvo EdgeShield.

Variables

This section is empty.

Functions

func BlockedScraperASNs added in v1.1.3

func BlockedScraperASNs() []string

BlockedScraperASNs lists the primary cloud data-center ASNs blocked at the HTTP edge.

func WhitelistedCrawlers added in v1.1.3

func WhitelistedCrawlers() []string

WhitelistedCrawlers lists verified search engine crawlers protected via FCrDNS verification.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL