Back to Home
whhwhh8023-glitch icon

mcp-server

Verified Safe

by whhwhh8023-glitch

Overview

A Rust-based server for querying Ethereum balances and simulating token swap operations.

Installation

Run Command
cargo run

Environment Variables

  • ETH_RPC_URL
  • PORT

Security Notes

The server primarily simulates blockchain interactions using hardcoded values, which inherently reduces direct security risks associated with real on-chain operations. Input parsing uses `serde_json`, generally safe against injection attacks. Configuration is loaded from environment variables (or defaults), avoiding hardcoded secrets in the source. Basic TCP listener with a fixed buffer size (1024 bytes) for requests could lead to truncated requests if larger, but doesn't immediately present a buffer overflow vulnerability in Rust. No 'eval' or similar dynamic code execution patterns are observed.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Stars0
Forks0
Last Update2025-11-28

Tags

EthereumDeFiRustTradingAPI