Back to skill

Security audit

Cmc Api Dex

Security checks for vulnerabilities and agentic risk

Overview

This is a Markdown-only CoinMarketCap DEX API reference with expected authenticated API examples and no hidden execution, persistence, or unrelated data access.

Install only if you want CoinMarketCap DEX API reference help. Treat your CMC API key as a secret: avoid pasting real keys into chats, logs, screenshots, shared scripts, or shell history, and prefer environment variables or a secret manager when running examples.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (17)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger text and description are broad enough that the skill could be invoked for many generic token- or DEX-related requests, increasing the chance of unintended activation. In a security-sensitive/API-reference skill, overbroad routing can expose users to irrelevant tool use, confusion, or accidental handling of sensitive contexts such as contract addresses and API-related workflows.

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/discovery.md (reported line 50)May include surrounding context.

bash
# Get top 24h gainers with decent liquidity
curl -X POST "https://pro-api.coinmarketcap.com/v1/dex/gainer-loser/list" \
  -H "X-CMC_PRO_API_KEY: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{

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/discovery.md (reported line 182)May include surrounding context.

bash
# Get top meme coins by volume
curl -X POST "https://pro-api.coinmarketcap.com/v1/dex/meme/list" \
  -H "X-CMC_PRO_API_KEY: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{

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/discovery.md (reported line 254)May include surrounding context.

bash
# Get tokens launched in last 24 hours with decent liquidity
curl -X POST "https://pro-api.coinmarketcap.com/v1/dex/new/list" \
  -H "X-CMC_PRO_API_KEY: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{

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/tokens.md (reported line 127)May include surrounding context.

Example

bash
curl -X POST "https://pro-api.coinmarketcap.com/v1/dex/token/price/batch" \
  -H "X-CMC_PRO_API_KEY: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{

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/tokens.md (reported line 253)May include surrounding context.

Example

bash
curl -X POST "https://pro-api.coinmarketcap.com/v1/dex/tokens/batch-query" \
  -H "X-CMC_PRO_API_KEY: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{

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/tokens.md (reported line 353)May include surrounding context.

Example

bash
curl -X POST "https://pro-api.coinmarketcap.com/v1/dex/tokens/trending/list" \
  -H "X-CMC_PRO_API_KEY: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{

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/use-cases.md (reported line 18)May include surrounding context.

Example:

bash
# Get PEPE price on Ethereum
curl -X GET "https://pro-api.coinmarketcap.com/v1/dex/token/price?network_slug=ethereum&contract_address=0x6982508145454Ce325dDbE47a25d4ec3d2311933" \
  -H "X-CMC_PRO_API_KEY: your-api-key"

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

The skill instructs users to place an API key in request headers but does not warn against exposing real secrets in prompts, logs, screenshots, or shared shell history. Because this is an API-focused skill with concrete curl examples, users may copy/paste live credentials into unsafe contexts, leading to credential leakage or unauthorized API usage.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

This markdown file includes curl examples that send an X-CMC_PRO_API_KEY header, which is a credential-bearing network operation. The surrounding documentation does not warn users to protect the key, avoid committing it to shell history/scripts, or use secure secret handling when running the examples.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

This markdown file includes curl examples that require an X-CMC_PRO_API_KEY header, which involves use of credentials. The documentation does not include any warning to keep the key secret or avoid exposing it in shared shells, logs, or screenshots, which is the kind of privacy/security disclosure SQP-2 calls for in markdown files.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The example demonstrates authenticated access by placing the API key directly in an HTTP header, but the surrounding documentation does not warn about credential sensitivity. For markdown documentation, SQP-2 applies when behaviors affecting privacy or system integrity are described without corresponding cautionary language.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

This example again uses X-CMC_PRO_API_KEY: your-api-key but provides no warning that the credential should be treated as secret. Repeating credential-bearing examples without any disclosure increases the chance of unsafe copy-paste use in terminals or shared documentation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The example shows a network request carrying an API credential in a header, yet the documentation does not mention any security precautions. Under SQP-2 for markdown files, this is a missing warning because the described behavior can affect user privacy and account security if the key is mishandled.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

This markdown file includes curl examples that send requests to CoinMarketCap using an X-CMC_PRO_API_KEY header, but it does not warn users that their API credential and request parameters will be transmitted to an external service. For markdown files, user-facing documentation should disclose behaviors that affect privacy or external data sharing.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

The file describes an endpoint returning transaction data including maker_address, which can surface wallet activity information, but the markdown provides no caution about handling potentially sensitive on-chain address data. For markdown documentation, privacy-relevant behavior should be clearly disclosed when user actions may retrieve or process such data.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

This is a markdown file, so SQP-2 applies to omissions in user-facing safety disclosures. The examples repeatedly show authenticated curl usage with X-CMC_PRO_API_KEY, yet the document does not warn users to keep the key secret or use secure handling practices when running commands.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.