Back to skill

Security audit

Goldrush X402

Security checks for vulnerabilities and agentic risk

Overview

The skill is coherent documentation for wallet-paid blockchain API access, but it should be reviewed because its examples give an agent a wallet private key and allow automatic payments without clear local spending controls.

Review this skill before use. Use only a dedicated low-balance wallet, preferably testnet-only, never reuse a wallet that holds valuable assets, store the private key in a secrets manager, pin and audit the x402 dependencies, and add local payment controls for chain, token, recipient, per-request amount, retries, and total spend before allowing an agent to run autonomously.

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 (2)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:30
Finding

Unpinned Third-Party Wallet Dependencies

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:14
Finding

Automatic Wallet Payments Lack Documented Local Spending Controls

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (5)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The description says to use this skill whenever the user is 'building an AI agent that needs blockchain data', 'wants wallet-based micropayments', or 'wants no-signup/no-onboarding blockchain data access'. These triggers are expansive and lack clear boundaries or exclusion examples, which could cause the skill to be invoked for many ordinary blockchain data requests where another skill may be more appropriate.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The example instructs users to supply a wallet private key and enables automatic payment handling, but it omits warnings about secret handling, hot-wallet risk, and the fact that requests can spend funds. In an agent context, this can lead to unsafe key exposure or unattended micropayment spending if developers copy the example directly into production workflows.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This markdown file includes a TypeScript example that reads process.env.WALLET_PRIVATE_KEY, which is a sensitive credential. The surrounding text explains how to use the key but does not warn users about securely storing the private key or the risks of exposing it.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

md
All 60+ Foundational API endpoints are available through the x402 proxy. Endpoint paths mirror the Foundational API.

**Base URL:** `https://x402.goldrush.dev/v1` (replaces `https://api.covalenthq.com/v1`)

### Key Data Endpoints

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/endpoints.md (reported line 40)May include surrounding context.

md
All 60+ Foundational API endpoints are available through the x402 proxy. Endpoint paths mirror the Foundational API.

**Base URL:** `https://x402.goldrush.dev/v1` (replaces `https://api.covalenthq.com/v1`)

### Key Data Endpoints

Static analysis

No suspicious patterns detected.