Base 8004

ReviewAudited by ClawScan on May 10, 2026.

Overview

This is a coherent instruction-only guide for registering an agent on Base, but it involves private-key handling, funding a wallet, and irreversible onchain actions that users should treat carefully.

Before using this skill, verify the official ERC-8004 Identity Registry address, use a fresh wallet with only the funds needed for registration, protect the private key carefully, and review any agent metadata or service endpoints because they may become public and persistent onchain.

Findings (4)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

If the private key is exposed, someone else could spend funds in that wallet or control the registered agent identity.

Why it was flagged

The skill instructs the user to store a wallet private key, which is expected for signing Base transactions but gives whoever has the key control over the wallet and onchain identity.

Skill content
AGENT_PRIVATE_KEY=0x...your_private_key_here...
Recommendation

Use a fresh low-value wallet, keep the .env file out of source control, avoid sharing the key in chat or logs, and consider a secret manager or hardware wallet for higher-value use.

What this means

Running the transaction will spend Base ETH for gas and create public onchain state for the agent registration.

Why it was flagged

The instructions send a Base mainnet contract transaction. This is aligned with the registration purpose, but blockchain transactions are irreversible and spend gas.

Skill content
const hash = await walletClient.writeContract({ address: IDENTITY_REGISTRY, abi: registerAbi, functionName: "register", args: [uri] });
Recommendation

Verify the contract address, registration metadata, chain, and gas estimate before signing or broadcasting the transaction.

What this means

Installing packages from npm brings in third-party code that runs in the user's development environment.

Why it was flagged

The skill asks users to install an unpinned npm package. This is normal for a viem-based blockchain tutorial, but it is still a dependency supply-chain consideration.

Skill content
npm install viem
Recommendation

Install from a trusted project directory, consider pinning a known viem version, and use normal package-lock/audit practices.

What this means

Publicly listed agent endpoints may receive traffic from unknown parties or agents if they are deployed.

Why it was flagged

The registration metadata can publish A2A or MCP service endpoints for discovery. This is part of the stated purpose, but it makes those endpoints public.

Skill content
services: [{ name: "A2A", endpoint: "https://your-agent.example.com/a2a" }, { name: "MCP", endpoint: "https://your-agent.example.com/mcp" }]
Recommendation

Only publish endpoints intended to be public, and protect real A2A or MCP services with appropriate authentication, authorization, rate limits, and logging.