Skip to main content

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

Metadata

Release files for utilvo-edge-shield 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for utilvo-edge-shield 1.1.0
File Size Uploaded Provenance
utilvo_edge_shield-1.1.0.tar.gz 4.1 kB Without provenance Details

Release files / utilvo_edge_shield-1.1.0.tar.gz

Download URL utilvo_edge_shield-1.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ceea9becb1bc99134c909a96d938e9408aaf11f890c2368d33fbd52011cb5309
BLAKE2b-256 checksum
How to use checksums
f751e23793e97250125d3275be98469e71ffd545681acf443255c851ff17f1b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0

Security for utilvo-edge-shield 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page