Incomplete referenced artifact analysis
- Category
- analysis-evasion
- Confidence
- 100% confidence
- Finding
Referenced artifact was not completely inspected
- Content
md node scripts/market-data.mjs snapshot --ids bitcoin,ethereum
Security audit
Security checks for vulnerabilities and agentic risk
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.
Referenced artifact was not completely inspected
node scripts/market-data.mjs snapshot --ids bitcoin,ethereum
Referenced artifact was not completely inspected
node scripts/market-data.mjs snapshot --provider coinbase-compare --ids ethereum
Referenced artifact was not completely inspected
node scripts/market-data.mjs snapshot --provider defillama --ids bitcoin --max-age 300
Referenced artifact was not completely inspected
node scripts/market-data.mjs history --id bitcoin --days 180
Without declared permissions the skill's intent is opaque and cannot be validated.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
- `--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.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
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') {
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
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;
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
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
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
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 }) => {