pear-protocol
Pass
Audited by Gen Agent Trust Hub on Aug 18, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/preflight.pyandscripts/gateway.pyfiles usesubprocess.runto call the localpear_mcp.pyscript. This is a legitimate architectural choice to modularize authentication and tool calling within the skill's own file structure. The commands are constructed using static paths relative to the script location (os.path.join(_here, 'pear_mcp.py')) and use the current interpreter (sys.executable), which prevents typical command injection vectors.\n- [EXTERNAL_DOWNLOADS]: The skill interacts with several external APIs includingpro-gateway.pearprotocol.io,mcp.pearprotocol.io, andapi.hyperliquid.xyz. These are well-known services associated with the skill's primary purpose (Pear Protocol and Hyperliquid). The automated scanner flaggedapi.hyperliquid.xyzfor remote code execution; however, the code actually performs standard JSON-RPC queries (clearinghouseState,maxBuilderFee) and parses the resulting data. This is standard DeFi integration behavior and not an execution of remote code.\n- [CREDENTIALS_UNSAFE]: The skill manages sensitive data includingPEAR_API_KEY, Bearer tokens, and Hyperliquid signer keys. It follows security best practices by storing tokens in a restricted directory (/data/workspace/.pear) with0600file permissions and recommending the use of.envfiles for API keys. It does not contain hardcoded secrets; it uses placeholders likeYOUR_API_KEY_HEREin documentation and dynamically generates keys for the user during the setup flow.\n- [DATA_EXFILTRATION]: The skill reads account equity and wallet addresses. This data is exclusively sent to the official Pear Protocol gateway and Hyperliquid exchange for the purpose of trade execution and account management. There are no secondary network destinations or suspicious data harvesting patterns.
Audit Metadata