Back to skill

Security audit

Uniswap Agent Otc Trade

Security checks for vulnerabilities and agentic risk

Overview

The skill is not clearly malicious, but it handles real crypto trades while overstating settlement guarantees and leaving important safety and audit behavior under-specified.

Review carefully before installing. Treat this as a tool for user-confirmed Uniswap swaps, not guaranteed bilateral OTC settlement. Do not rely on the counterparty being forced to execute, require a fresh safety check and wallet confirmation before any transaction, verify token addresses and chains manually, and prefer pinned installation sources over the documented mutable commands.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (3)

T08 · Insecure Dependencies

Warning
Location
README.md:8
Finding

Installation Commands Execute Unpinned Third-Party Dependencies

Content
View full analysis
Remediation
View remediation
install agent-otc-trade npx skills add https://github.com/wpank/Agentic-Uniswap/tree//.ai/skills/agent-otc-trade ``` The placeholders should be replaced with versions and commits that have been independently reviewed. ]]>

other

Warning
Location
SKILL.md:23
Finding

Pool Swaps Are Misrepresented as Atomic Bilateral OTC Settlement

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:220
Finding

Declared Safety-Status Check Is Not Enforced Before Asset Execution

Content
View full analysis
Remediation
View remediation
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 (8)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The README promotes OTC token trading, identity verification, and cross-chain settlement but does not warn users about irreversible on-chain transactions, smart contract risk, slippage, bridge/intents risk, or the possibility of financial loss. In a crypto trading skill, omission of these warnings can mislead users into treating the workflow as routine automation and increases the chance of unsafe or uninformed execution.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
94% confidence
Finding

The README instructs users to run npx skills add without pinning a version or commit, which allows whatever package/version is current at execution time to be fetched and run. Because this is an installation path for an agent skill that can influence subsequent behavior, a compromised or malicious upstream package or changed repository state could lead to supply-chain execution of unreviewed code.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

The command npx clawhub@latest install agent-otc-trade explicitly tracks the latest published version, which can change over time and execute newly published code without user review. In a security-sensitive crypto/agent workflow, this increases supply-chain risk because an attacker who compromises the package or publishing pipeline could deliver arbitrary code at install time.

Content

No source excerpt is available for this finding.

External Model or Provider Selection

Medium
Category
Excessive Agency
Confidence
90% confidence
Finding

Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.

Content

Scanner excerpt · SKILL.md (reported line 9)May include surrounding context.

md
agent, settle an agent-to-agent trade through Uniswap, or execute an OTC
  swap with a specific counterparty agent. Verifies counterparty identity via
  ERC-8004, negotiates terms, and settles through Uniswap pools.
model: opus
allowed-tools:
  - Task(subagent_type:trade-executor)
  - Task(subagent_type:identity-verifier)

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill markets itself as facilitating agent-to-agent OTC trading with negotiated terms, identity-based trust, and an audit trail, but the described implementation only performs the user's own Uniswap swap. This mismatch can mislead users into believing there is coordinated bilateral settlement or recorded evidence of an agreed trade when neither is actually enforced, creating operational and financial risk.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill promises that every OTC trade is recorded and logged, but no allowed tool or workflow step can actually persist trade history. Users may rely on nonexistent records for dispute resolution, compliance, or reputation, leading to false assurances and failed forensic/audit expectations.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill states that it records counterparty identity, agreed terms, settlement transaction, and fees, but does not clearly warn users or provide consent and opt-out controls. In a financial context, this can expose sensitive transactional metadata and counterpart relationships without adequate privacy notice.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

Presenting universal trade logging as a feature rather than a warning normalizes data collection without informing users of privacy implications. Because OTC trading involves financial counterparties and transaction details, undisclosed or non-consensual logging increases confidentiality and compliance risk.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.