Back to skill

Security audit

Galleon DeFi Market Snapshot

Security checks for vulnerabilities and agentic risk

Overview

ClawScan verdict is benign with medium confidence: the reported network activity appears purpose-related, but part of the analysis was incomplete.

The verdict is benign, but confidence is medium because one script was only partially inspected. Consider that uncertainty before installing; the scanner also reported public external data endpoints and did not establish whether the incompletely inspected content introduces other behavior.

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 Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (10)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/market-data.mjs snapshot --ids bitcoin,ethereum

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/market-data.mjs snapshot --provider coinbase-compare --ids ethereum

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/market-data.mjs snapshot --provider defillama --ids bitcoin --max-age 300

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/market-data.mjs history --id bitcoin --days 180

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: network.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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/requests.md (reported line 14)May include surrounding context.

md
- `--max-age`: 1–86,400 seconds. Default 300; a provider observation more than 60 seconds in the future fails.
- `--max-skew`: 0–3,600 seconds. Default 120. Only aligned fresh rows get a numerical price spread.

CoinGecko uses the public `https://api.coingecko.com/api/v3/simple/price` endpoint with bounded IDs, USD and `include_last_updated_at=true`. DefiLlama uses `https://coins.llama.fi/prices/current/` with `coingecko:<id>` keys. There is at most one request per provider. No environment values are read.

The result includes `status` (`complete`, `partial`, `unavailable`), normalized parameters, `reads`, comparisons and limitations. `reads` retain provider/source, SHA-256 of successful raw bytes and row-level observations. A valid row includes a finite `priceUsd` from `1e-12` to `1e12`, exact identity, observed/retrieved ISO times and age. Missing, stale or malformed rows include `ok:false` and a stable error. Source URLs contain no credentials.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · scripts/market-data.mjs (reported line 93)May include surrounding context.

js
if (!Number.isSafeInteger(maxAgeSeconds) || maxAgeSeconds < 1 || maxAgeSeconds > 86400 || !Number.isSafeInteger(maxSkewSeconds) || maxSkewSeconds < 0 || maxSkewSeconds > 3600) return { ok: false, error: 'invalid_age_or_skew' };
  const requests = [];
  if (provider === 'both' || provider === 'coingecko' || venueCompare) {
    const source = 'https://api.coingecko.com/api/v3/simple/price';
    requests.push({ name: 'coingecko', source, url: source + '?ids=' + ids.join(',') + '&vs_currencies=usd&include_last_updated_at=true' });
  }
  if (provider === 'both' || provider === 'defillama') {

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · scripts/market-data.mjs (reported line 145)May include surrounding context.

js
if (candles.length < days - 1) throw new MarketDataError('insufficient_history');
  if (candles.length > days + 1) throw new MarketDataError('unexpected_history_range');
  if (today - Date.parse(candles.at(-1).timestamp) > 86400000) throw new MarketDataError('stale_history');
  return { dataset: { schemaVersion: 1, identity: { namespace: 'coingecko', id }, unit: 'USD', intervalSeconds: 86400, priceType: 'aggregate-snapshot', provenance: { provider: 'coingecko', source: 'https://api.coingecko.com/api/v3/coins/' + id + '/market_chart', retrievedAt: iso(retrievedMs), synthetic: false, rawSha256 }, candles }, excludedTrailingObservation };
}
export async function collectHistory(options = {}, dependencies = {}) {
  const id = options.id ?? 'bitcoin', days = options.days ?? 180;

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · scripts/market-data.mjs (reported line 151)May include surrounding context.

js
const id = options.id ?? 'bitcoin', days = options.days ?? 180;
  if (typeof id !== 'string' || !idPattern.test(id)) return { ok: false, error: 'invalid_id' };
  if (!Number.isSafeInteger(days) || days < 91 || days > 365) return { ok: false, error: 'invalid_days' };
  const source = 'https://api.coingecko.com/api/v3/coins/' + id + '/market_chart';
  try {
    const response = await publicJson(source + '?vs_currency=usd&days=' + days, 2097152, dependencies);
    return { ok: true, access: 'public-keyless', parameters: { id, days, vsCurrency: 'usd', interval: 'automatic-daily' }, ...normalizeHistory(response.payload, id, response.retrievedMs, days, response.rawSha256), limitations: ['Daily UTC aggregate observations, not venue candle closes or executable prices.', 'The current trailing observation is excluded when it is not at UTC midnight; daily gaps fail rather than interpolate.', 'Public keyless availability is diagnostic; no Demo/Pro account entitlement or future provider availabil

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · scripts/market-data.mjs (reported line 101)May include surrounding context.

js
requests.push({ name: 'defillama', source, url: source + ids.map(id => 'coingecko:' + id).join(',') });
  }
  if (venueCompare) {
    const source = 'https://api.exchange.coinbase.com/products/' + venueProducts.get(ids[0]) + '/ticker';
    requests.push({ name: 'coinbase', source, url: source });
  }
  const reads = await Promise.all(requests.map(async ({ name, source, url }) => {