SunPerp Perpetual Futures Trading
Pass
Audited by Gen Agent Trust Hub on Apr 10, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: Authentication credentials, including API keys and the TRON private key required for withdrawals, are accessed exclusively through environment variables, adhering to best practices for secret management.
- [SAFE]: The skill implements automated safety locks in
scripts/utils.js. ThevalidateLeveragefunction prevents the agent from exceeding a pre-configured leverage cap, whileenforceStopLossensures that every position-opening order includes a protective stop-loss, auto-calculated if necessary. - [SAFE]: Network activity is directed toward the official SunPerp API (
api.sunx.io) and a vendor-provided Tron RPC node (hptg.bankofai.io), which are appropriate for the skill's stated purpose of decentralized futures trading. - [SAFE]: Dependencies are restricted to reputable, industry-standard libraries (
node-fetchandtronweb) for handling HTTP requests and blockchain interactions. - [SAFE]: The instructions in
SKILL.mdprovide clear guidance for the AI agent to verify all critical and irreversible actions, such as trade execution and fund withdrawals, with the human operator.
Audit Metadata