Back to skill

Security audit

FX SDK Agent

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent FX Protocol SDK helper, but users should treat any generated blockchain transaction code as high-risk and review it before execution.

Install only if you intend to work with FX Protocol SDK code. Keep generated code in dry-run or plan-only mode until you have manually checked chain, recipient, token, amount, approvals, slippage, and gas costs, and never let an agent broadcast wallet transactions without explicit confirmation.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Tp4

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The code generally matches the declared SDK-integration purpose: it uses FxSdk, queries positions, builds leverage-operation plans, gets bridge quotes/builds bridge transactions, and supports several fxSAVE operations. However, the description overstates the implemented surface. There are no actions for fxSAVE config/totals retrieval, no standalone claim action (only getRedeemTx), and no depositAndMint or repayAndWithdraw functionality in the provided adapter. Because the declared description says these runnable scripts/functions are supported, while the code does not include them, this is a meaningful description/behavior mismatch.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill explicitly helps generate runnable transaction-sending code for leverage, bridge, and redemption actions that can move user funds, but it does not present a prominent warning about irreversible blockchain operations, approvals, slippage, chain selection, and signer risk. In an agent context, that omission can normalize unsafe automation and increase the chance that users execute high-risk code without adequate confirmation or review.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The playbook includes runnable examples for sending state-changing blockchain transactions in sequence, but it does not explicitly warn that these actions can move assets, incur fees, and be irreversible once broadcast. In an agent skill whose purpose is to generate transaction execution code, this omission increases the chance that downstream agents or users execute high-risk operations without adequate confirmation or review.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · README.md (reported line 73)May include surrounding context.

md
**IMPORTANT LEGAL NOTICE**

This software is provided "as is" without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.

**RISK WARNING**