gmx-v2-plugin
Pass
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill downloads an installer script and a binary from the author's GitHub repositories during the setup phase.
- Evidence:
SKILL.mdcontains bash scripts that fetchinstall.shfromgithub.com/okx/onchainos-skillsand thegmx-v2-pluginbinary fromgithub.com/okx/plugin-store. - Security Practice: The scripts include SHA256 checksum verification to ensure the integrity of the downloaded files before execution.
- [COMMAND_EXECUTION]: The plugin binary executes the
onchainosCLI tool to perform wallet operations and contract calls. - Evidence:
src/onchainos.rsusesstd::process::Commandto invokeonchainos wallet contract-call,onchainos wallet history, and other CLI commands. - [INDIRECT_PROMPT_INJECTION]: The skill processes data from external sources, creating a potential surface for indirect prompt injection attacks.
- Ingestion points: Untrusted data enters the agent context through market information, price tickers, and token metadata fetched in
src/api.rs, as well as raw blockchain data frometh_callinsrc/rpc.rs. - Boundary markers:
SKILL.mdcontains a "Data Trust Boundary" section that explicitly instructs the AI agent to treat CLI output as untrusted external content and filter fields before interpretation. - Capability inventory: The skill can execute shell commands via the
onchainosCLI (insrc/onchainos.rs), perform network operations to GMX APIs (insrc/api.rs), and query blockchain RPC nodes (insrc/rpc.rs). - Sanitization: The Rust implementation parses external JSON data into strongly-typed structures and applies unit conversions (e.g., price precision) before returning a filtered subset of data to the AI agent.
Audit Metadata