Lp3
Medium
- Category
- MCP Least Privilege
- Confidence
- 70% confidence
- Finding
- Without declared permissions the skill's intent is opaque and cannot be validated.
Security audit
Security checks for vulnerabilities and agentic risk
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.
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"])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]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"])No suspicious patterns detected.