gmgn-swap
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data such as token names, symbols, and metadata retrieved from blockchain APIs.
- Ingestion points: Data enters the agent's context through
gmgn-cli token securityresponses and order status queries. - Boundary markers: The skill requires a structured trade summary and explicit user confirmation ("Reply 'confirm' to proceed") which serves as a human-review checkpoint before execution.
- Capability inventory: The agent can submit on-chain transactions via
swap,multi-swap, andorder strategy createcommands. - Sanitization: The instructions state that token metadata is sanitized for hidden control characters and prompt-injection framing, and the agent is explicitly told to ignore any instruction-like text found within these fields.
- [COMMAND_EXECUTION]: Core functionality is performed through the
gmgn-clitool. The skill also suggests standard system commands for diagnosing network issues. - Evidence: Usage of
gmgn-clisubcommands for financial operations and standard commands likeifconfigorip addr showto check for IPv6 network configurations. - Scope: Execution is restricted to the specific CLI tool and local diagnostics, with no evidence of arbitrary shell execution or unsafe argument interpolation.
- [EXTERNAL_DOWNLOADS]: Instructs the user to install and maintain the
gmgn-cliutility via the npm registry. - Evidence: Recommends running
npm install -g gmgn-clifor setup and updates. - Context: The package is the legitimate vendor-owned utility required for the skill's operation.
- [DATA_EXFILTRATION]: Performs an external network request to a diagnostic service to identify the user's public IP version.
- Evidence: The skill suggests contacting
https://ipv6.icanhazip.comto check for IPv6 connectivity when troubleshooting authentication errors. - Context: This is a well-known service used for network diagnostics and does not involve the transfer of sensitive user data.
Audit Metadata