Back to skill

Security audit

ABI-to-MCP: The Web3 Skill Architect

Security checks for vulnerabilities and agentic risk

Overview

This skill is not malicious, but it should be reviewed carefully because it asks users to configure a private key and documents irreversible token-changing actions without enough safety scoping.

Install only if you understand the contract and wallet being used. Use a dedicated low-balance key or secure signer, verify every recipient/spender/amount/contract address, avoid broad approvals, and treat mint/burn as privileged irreversible operations that may not apply to standard ERC20 tokens.

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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The setup instructions require configuring a PRIVATE_KEY but provide no guidance on secure secret handling, which can lead users to paste raw keys into unsafe environments, logs, prompts, or shared configuration files. Because the skill can perform on-chain write actions, compromise of that key could directly enable theft of funds, malicious approvals, or privileged contract interactions.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill documents multiple write functions that can transfer tokens, set allowances, burn assets, or mint tokens, but it does not include an explicit warning that blockchain transactions are irreversible and may spend funds or grant dangerous approvals. In an agent-assisted workflow, this omission makes accidental loss, overbroad approvals, or unintended state changes more likely because users may treat these operations as ordinary reversible API calls.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill is presented as a generic ERC20 interaction tool, but it exposes mint and burn operations that are not part of the standard end-user ERC20 surface and can materially change token supply. In an agent context, documenting these state-changing methods without prominently scoping them to privileged/admin contracts increases the risk of accidental or unauthorized supply manipulation attempts, especially if users assume all listed functions are routine token operations.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.