Back to skill

Security audit

Crypto DCA Backtester

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward crypto backtester that fetches public CoinGecko price data and performs local calculations without persistence or secret handling.

Before installing, be aware that using the skill will contact CoinGecko for public historical prices and may reveal the coin ids and lookback windows you query. Treat the results as historical analysis only, not financial advice.

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

Lp1

High
Category
MCP Least Privilege
Confidence
93% confidence
Finding

The script performs outbound network access to CoinGecko via urllib.request, but the static finding indicates that this capability is not declared in the skill's permissions. Undeclared network capability is a real security/governance issue because it can bypass operator expectations and policy controls, even if the destination is a legitimate market-data API and the apparent purpose is consistent with the skill's functionality.

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 · scripts/dca_backtest.py (reported line 10)May include surrounding context.

python
import urllib.request
from datetime import datetime, timezone

COINGECKO_BASE = "https://api.coingecko.com/api/v3"

# CoinGecko free tier: daily granularity is auto-selected by the API for
# ranges > 90 days, and max lookback for the free public endpoint is 365 days.