Back to skill

Security audit

perp-basis-scanner

Security checks for vulnerabilities and agentic risk

Overview

This skill is a read-only crypto market-data scanner that matches its stated purpose and does not handle keys, accounts, trades, or local private data.

Install only if you are comfortable with the skill contacting Binance, Bybit, OKX, and Deribit public APIs for the symbols you ask it to scan. Treat its annualized basis output as research context, not trading advice or an execution tool.

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

Lp3

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding
Without declared permissions the skill's intent is opaque and cannot be validated.

External Transmission

Medium
Category
Data Exfiltration
Content
def binance_pair(symbol: str):
    pair = f"{symbol}USDT"
    spot = http_get(f"https://api.binance.com/api/v3/ticker/price?symbol={pair}")
    perp = http_get(f"https://fapi.binance.com/fapi/v1/premiumIndex?symbol={pair}")
    spot_px = float(spot["price"])
    perp_px = float(perp["markPrice"])
Confidence
60% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

External Transmission

Medium
Category
Data Exfiltration
Content
def bybit_pair(symbol: str):
    pair = f"{symbol}USDT"
    spot = http_get(f"https://api.bybit.com/v5/market/tickers?category=spot&symbol={pair}")
    perp = http_get(f"https://api.bybit.com/v5/market/tickers?category=linear&symbol={pair}")
    spot_px = float(spot["result"]["list"][0]["lastPrice"])
    perp_item = perp["result"]["list"][0]
Confidence
60% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

External Transmission

Medium
Category
Data Exfiltration
Content
def bybit_pair(symbol: str):
    pair = f"{symbol}USDT"
    spot = http_get(f"https://api.bybit.com/v5/market/tickers?category=spot&symbol={pair}")
    perp = http_get(f"https://api.bybit.com/v5/market/tickers?category=linear&symbol={pair}")
    spot_px = float(spot["result"]["list"][0]["lastPrice"])
    perp_item = perp["result"]["list"][0]
    perp_px = float(perp_item["markPrice"])
Confidence
60% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Static analysis

No suspicious patterns detected.