Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Proxy Gateway

v0.3.1

Secure HTTP Proxy for AI Agents — Give your AI agent unrestricted internet access with pay-per-use pricing. 10 free requests to start, then only $0.001 per A...

0· 203·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for kehongpeng/proxy-gateway.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Proxy Gateway" (kehongpeng/proxy-gateway) from ClawHub.
Skill page: https://clawhub.ai/kehongpeng/proxy-gateway
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install proxy-gateway

ClawHub CLI

Package manager switcher

npx clawhub@latest install proxy-gateway
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
The codebase and SKILL.md implement an HTTP proxy/payment system that matches the 'Proxy Gateway' description (server endpoints, fetch proxy, payment managers, self-hosting instructions). However the skill registry metadata declares no required environment variables while the code and README expect ADMIN_TOKEN, HOSTED_WALLET, RPC_URL and optional Redis; this mismatch is unexplained and means the metadata understates the runtime configuration the service needs.
Instruction Scope
The runtime instructions focus on proxy usage and self-hosting. The SKILL.md explicitly warns about privacy risks and tells users not to send keys/passwords. It also documents running the server (git clone, pip install, uvicorn/docker). There are no instructions that ask the agent to read arbitrary host files or exfiltrate secrets. The code will probe local Clash proxy ports (127.0.0.1:7890/7893/9090) for availability — this behavior is documented in SECURITY.md but is a non-trivial local check to be aware of.
Install Mechanism
No automated install spec is provided (lowest install risk). Full source code is included in the skill bundle, and the README/SKILL.md recommend manual steps (git clone, pip install -r requirements.txt, docker). Because the source is present, an operator following self-host instructions will install packages from PyPI and run the application locally — that is expected, but the skill package does not declare external downloads or obscure installers.
!
Credentials
The registry metadata lists no required env vars, yet the code and README reference several sensitive/config env values (ADMIN_TOKEN, HOSTED_WALLET, RPC_URL, REDIS credentials). The app operates a custodial payments model (users deposit USDC to a platform wallet) — that implies financial risk to users of the hosted service and requires trust in the operator. The proxy will see full request URLs, headers, bodies, and responses (explicitly stated); asking for no credentials in metadata while depending on them at runtime is inconsistent and risky if you plan to use the hosted service.
Persistence & Privilege
The skill does not request 'always: true' or system-wide privileges. It does not attempt to modify other skills. Self-hosting instructions will create a persistent service (systemd/Docker) if you follow them, but that is normal for a server project and is documented.
What to consider before installing
This project implements the advertised proxy and is generally coherent, but pay attention to the following before you install or use it: - Hosted vs self-hosted: The public endpoint (https://proxy.easky.cn) is custodial. Any request you send through the hosted proxy (URLs, headers, bodies, responses) can be seen by the operator — never send API keys, passwords, private keys, or sensitive/personal/internal data through the hosted service. The SKILL.md and SECURITY.md repeat this, and you should follow it. - Financial risk: The hosted model requires users to deposit USDC to a platform wallet. Only deposit amounts you can afford to lose and verify the operator's identity and code before trusting them with funds. - Metadata mismatch: The registry entry lists no required environment variables, but the code and docs reference ADMIN_TOKEN, HOSTED_WALLET, RPC_URL (Polygon), and optional Redis credentials. If you plan to self-host, set these env vars properly; if you plan to use the hosted endpoint, confirm who runs it and their trustworthiness. - Local port probing: The service will probe localhost for Clash proxy ports (127.0.0.1:7890/7893/9090). This is documented, but if you are running sensitive local services consider disabling the health check or self-hosting in an isolated environment. - Verify code & deployment: The repository includes a full implementation and audit artifacts. If you will self-host, review the source and dependencies, pin dependency versions, run it in an isolated container, and secure ADMIN_TOKEN and Redis. If you will use the hosted endpoint, independently verify the operator (domain ownership, reputation) before depositing funds. - Missing declared tools: The skill metadata requires python3/pip3, but README commands reference git, docker, and uvicorn; ensure your environment has the tools you need. If you want, I can: (1) list specific files/lines that reference ADMIN_TOKEN or HOSTED_WALLET, (2) show exact endpoints and which require authentication, or (3) produce a short checklist for securely self-hosting this service.
app/managers/hosted_payment.py:256
Dynamic code execution detected.
app/managers/storage.py:178
Dynamic code execution detected.
Patterns worth reviewing
These patterns may indicate risky behavior. Check the VirusTotal and OpenClaw results above for context-aware analysis before installing.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🚀 Clawdis
OSLinux · macOS · Windows
Any binpython3, pip3
latestvk977nh8jddswd8s2vs7y76y70583h7bq
203downloads
0stars
4versions
Updated 8h ago
v0.3.1
MIT-0
Linux, macOS, Windows

Proxy Gateway

🚀 Secure HTTP Proxy for AI Agents — Unrestricted internet access with pay-per-use pricing. Start with 10 free requests, then only $0.001 per API call.

Version Security License Network

When to Use

Use this skill when you need to:

  • Give AI agents internet access — No local proxy setup required, just call the API
  • Web scraping and data extraction — Collect data from public websites at scale
  • API integrations — Connect AI agents to external APIs without network configuration
  • Research automation — Automate web research and content aggregation tasks
  • Multi-region proxy needs — Access content through US, EU, or Asia proxy nodes
  • Cost-effective proxy solution — Pay only $0.001 per request instead of monthly subscriptions
  • Self-hosted proxy option — Run your own proxy server for maximum privacy

⚠️ Security & Privacy Notice

Please read carefully before using this service:

🔒 Privacy Risks

All requests transit through the proxy server, including:

  • Full request URLs
  • All HTTP headers
  • Request bodies
  • Response content

DO NOT use this proxy for:

  • API keys or access tokens
  • Private keys or passwords
  • Personal or sensitive data
  • Internal/private network endpoints
  • Banking or financial credentials

💰 Trust Model & Risk Disclosure

This service operates on a custodial model with the following risks:

RiskDescriptionMitigation
Custody RiskUser funds are held in platform-controlled walletsUse small amounts, withdraw frequently
Operator RiskPlatform operator could mismanage fundsOpen source, audited code
Smart Contract RiskPayment verification relies on external contractsMulti-sig, timelock protections
Privacy RiskAll requests visible to proxy operatorSelf-host for complete privacy

Recommendations:

  • Only deposit amounts you are willing to risk
  • Monitor your balance regularly
  • Consider self-hosting for sensitive use cases
  • Withdraw unused balances periodically

🏠 Self-Hosting Option

For maximum privacy and control, self-host this service:

  • Full source code available (MIT License)
  • Complete data sovereignty
  • No third-party visibility
  • Easy deployment with Docker or pip

📋 System Requirements

Runtime Dependencies

ComponentVersionRequiredNotes
Python3.10+Core runtime
Redis6.0+⚠️Required for production (multi-process safety)
Polygon RPC-Mainnet or testnet endpoint

Python Packages

fastapi>=0.100.0
uvicorn>=0.23.0
redis>=4.6.0
web3>=6.0.0
pydantic>=2.0.0
python-dotenv>=1.0.0
httpx>=0.24.0

Network Requirements

  • Inbound: Port 8080 (configurable via PORT env var)
  • Outbound: HTTPS (443) for proxy requests
  • Outbound: WebSocket (optional) for blockchain events

Optional Components

  • Nginx: For SSL termination and reverse proxy
  • Docker: For containerized deployment
  • Systemd: For service management on Linux

✨ Why Proxy Gateway?

FeatureBenefit
🎁 10 Free RequestsStart instantly, no credit card required
Zero ConfigurationNo local proxy setup, just call the API
💵 Pay-Per-UseOnly $0.001 per request, no subscriptions
🔐 Security Audited6 security audits, 13 P0 vulnerabilities fixed
📖 Open SourceMIT licensed, fully auditable code
🌍 Multi-RegionUS, EU, Asia proxy nodes
🔗 Web3 NativePolygon blockchain, USDC payments
🏠 Self-Host ReadyDeploy your own instance in minutes

🚀 Quick Start

1. Start with Free Trial (10 Requests)

import requests

try:
    response = requests.post(
        "https://proxy.easky.cn/api/v1/fetch",
        headers={"X-Client-ID": "my_agent_001"},
        json={
            "url": "https://api.github.com/users/github",
            "method": "GET"
        },
        timeout=30
    )
    response.raise_for_status()
    
    data = response.json()
    print(data["content"])  # Response content
    print(f"Remaining free calls: {data['remaining_calls']}")
    
except requests.exceptions.HTTPError as e:
    if e.response.status_code == 429:
        print("Error: Rate limit exceeded or free trial exhausted. Please deposit USDC to continue.")
    elif e.response.status_code == 401:
        print("Error: Invalid or missing API key.")
    else:
        print(f"HTTP Error: {e}")
except requests.exceptions.Timeout:
    print("Error: Request timed out. The target server may be slow.")
except requests.exceptions.RequestException as e:
    print(f"Request failed: {e}")

2. Continue with Paid Mode

After free trial, deposit USDC to continue:

import requests

# Use your user_id as API Key after deposit
headers = {"X-API-Key": "my_agent_001"}

try:
    response = requests.post(
        "https://proxy.easky.cn/api/v1/fetch",
        headers=headers,
        json={
            "url": "https://api.example.com/data",
            "method": "GET"
        },
        timeout=30
    )
    response.raise_for_status()
    
    data = response.json()
    print(f"Response: {data['content']}")
    print(f"Balance remaining: {data.get('balance', 'N/A')} USDC")
    
except requests.exceptions.HTTPError as e:
    if e.response.status_code == 402:
        print("Error: Insufficient balance. Please deposit more USDC.")
    elif e.response.status_code == 429:
        print("Error: Rate limit exceeded.")
    else:
        print(f"HTTP Error: {e}")
except requests.exceptions.Timeout:
    print("Error: Request timed out.")
except requests.exceptions.RequestException as e:
    print(f"Request failed: {e}")

💰 Pricing

TierPriceFeatures
Free TrialFREE10 requests, no registration
Pay-Per-Use$0.001/requestUnlimited calls, pay as you go
Self-HostedFREERun your own server
  • Currency: USDC on Polygon
  • Minimum Deposit: None (top up any amount)
  • Network Fees: Paid by user for deposits

🌐 API Endpoints

EndpointMethodDescriptionAuth
/GETService infoNone
/healthGETHealth checkNone
/network-infoGETNetwork configurationNone
/api/v1/regionsGETAvailable proxy regionsNone
/api/v1/fetchPOSTFetch any URL via proxyClient ID or API Key
/deposit-infoGETGet deposit addressNone
/balanceGETCheck balanceClient ID

🏠 Self-Hosting Guide

Why Self-Host?

AspectHosted ServiceSelf-Hosted
PrivacyServer sees all requestsComplete privacy
ControlPlatform managedFull control
CostPer-request feesServer costs only
TrustRequires trustTrustless
SetupInstant5-minute setup

Quick Deploy

# 1. Clone repository
git clone https://github.com/openclaw/proxy-gateway.git
cd proxy-gateway

# 2. Create virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# 3. Install dependencies
pip install -r requirements.txt

# 4. Configure environment
cp .env.example .env
# Edit .env with your settings:
# - HOSTED_WALLET: Your Polygon wallet address
# - ADMIN_TOKEN: Secure random string (16+ chars)

# 5. Start server
uvicorn app.main:app --host 0.0.0.0 --port 8080

Docker Deploy

# Build image
docker build -t proxy-gateway .

# Run container
docker run -d \
  -p 8080:8080 \
  -e NETWORK=mainnet \
  -e HOSTED_WALLET=0x... \
  -e ADMIN_TOKEN=... \
  proxy-gateway

🔒 Security Features

  • 6 Security Audits Completed by independent reviewers
  • 13 P0 Vulnerabilities Fixed All critical issues resolved
  • Input Validation Strict validation on all inputs (amount limits: 0 < x ≤ 1000 USDC)
  • Lua Script Sandboxing Redis Lua execution with parameter validation
  • Anti-Replay Protection Transaction replay attack prevention
  • Atomic Deduction Balance updates are atomic
  • HTTPS/TLS All communications encrypted
  • Open Source Full code transparency

Security Policy: See SECURITY.md for detailed security information and vulnerability reporting.


🛡️ Best Practices

✅ DO

  • Use for public API access
  • Use for web scraping public data
  • Use for research automation
  • Use for content aggregation
  • Self-host for sensitive operations

❌ DON'T

  • Send API keys through the proxy
  • Send passwords or credentials
  • Access private/internal networks
  • Send personal information
  • Send financial data

📝 Environment Variables

Required (for self-hosting)

VariableDescriptionExample
HOSTED_WALLETPolygon address for USDC deposits0x1234...abcd
ADMIN_TOKENAdmin authentication tokenrandom_string_16+

Optional

VariableDefaultDescription
NETWORKtestnetNetwork mode (mainnet/testnet)
REDIS_HOSTlocalhostRedis server host
REDIS_PORT6379Redis server port
FREE_TRIAL_LIMIT10Free trial request limit
COST_PER_REQUEST0.001Price per request (USDC)
CORS_ORIGINS*Allowed CORS origins

See .env.example for complete configuration template.


🤝 Contributing

Contributions are welcome! Please see our contributing guidelines and submit PRs.

📄 License

MIT License - See LICENSE for details.

🆘 Support


💡 Tips

Free Trial Tips

  • Start instantly: Use X-Client-ID header with any unique identifier to get 10 free requests without registration
  • Monitor usage: Check remaining_calls in response to track free trial usage
  • No credit card: Free trial requires no payment information

Cost Optimization

  • Batch requests: Combine multiple data needs into fewer requests when possible
  • Use caching: Cache responses locally to avoid redundant proxy calls
  • Self-host for high volume: If using >1000 requests/day, self-host to eliminate per-request fees

Error Handling Best Practices

  • Always check status codes: 429 = rate limit/insufficient balance, 402 = payment required, 401 = invalid auth
  • Implement retry logic: Use exponential backoff for 429 errors
  • Set timeouts: Use 30-second timeout for most requests, 60+ for slow endpoints

Privacy & Security

  • Never send secrets: API keys, passwords, tokens should never pass through the proxy
  • Self-host for sensitive data: Run your own instance for internal APIs or sensitive operations
  • Monitor balance regularly: Check /balance endpoint to avoid unexpected service interruptions

Development Tips

  • Test with free tier: Use free trial for development and testing
  • Use consistent Client-ID: Reuse the same X-Client-ID to maintain balance across sessions
  • Check regions: Call /api/v1/regions to see available proxy locations

Troubleshooting

  • Connection refused: Verify target URL is accessible and not blocking proxy IPs
  • Slow responses: Try a different proxy region closer to your target server
  • Balance not updating: Blockchain confirmations may take 1-2 minutes on Polygon

Built with ❤️ for the AI Agent ecosystem

Comments

Loading comments...