Skip to main content

dflow

Integrates DFlow trading protocol on Solana, enabling seamless spot and prediction market trading with advanced APIs.

Install this skill

or
0/100

Security score

The dflow skill was audited on Feb 9, 2026 and we found 32 security issues across 4 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 78

Template literal with variable interpolation in command context

SourceSKILL.md
78const quote = await fetch(`${API_BASE}/quote?${quoteParams}`, {
medium line 83

Template literal with variable interpolation in command context

SourceSKILL.md
83const swapResponse = await fetch(`${API_BASE}/swap`, {
medium line 125

Template literal with variable interpolation in command context

SourceSKILL.md
125const order = await fetch(`${API_BASE}/order?${orderParams}`, {
medium line 143

Template literal with variable interpolation in command context

SourceSKILL.md
143`${API_BASE}/order-status?signature=${signature}`,
medium line 334

Template literal with variable interpolation in command context

SourceSKILL.md
334`${API_BASE}/order-status?signature=${signature}`,
medium line 372

Template literal with variable interpolation in command context

SourceSKILL.md
372const order = await fetch(`${API_BASE}/order?${new URLSearchParams({
medium line 454

Template literal with variable interpolation in command context

SourceSKILL.md
454const quote = await fetch(`${API_BASE}/quote?${new URLSearchParams({
medium line 463

Template literal with variable interpolation in command context

SourceSKILL.md
463const swap = await fetch(`${API_BASE}/swap`, {
medium line 480

Template literal with variable interpolation in command context

SourceSKILL.md
480const quote = await fetch(`${API_BASE}/quote?${new URLSearchParams({
medium line 488

Template literal with variable interpolation in command context

SourceSKILL.md
488const swap = await fetch(`${API_BASE}/swap`, {
medium line 532

Template literal with variable interpolation in command context

SourceSKILL.md
532const event = await fetch(`${METADATA_API}/api/v1/event/TRUMP-2024`, {
medium line 543

Template literal with variable interpolation in command context

SourceSKILL.md
543const events = await fetch(`${METADATA_API}/api/v1/events?limit=50&offset=0`, {
medium line 560

Template literal with variable interpolation in command context

SourceSKILL.md
560const market = await fetch(`${METADATA_API}/api/v1/market/TRUMP-2024-WIN`, {
medium line 572

Template literal with variable interpolation in command context

SourceSKILL.md
572`${METADATA_API}/api/v1/market/by-mint/${outcomeMint}`,
medium line 581

Template literal with variable interpolation in command context

SourceSKILL.md
581const markets = await fetch(`${METADATA_API}/api/v1/markets/batch`, {
medium line 597

Template literal with variable interpolation in command context

SourceSKILL.md
597`${METADATA_API}/api/v1/outcome_mints?min_close_timestamp=${Date.now()}`,
medium line 606

Template literal with variable interpolation in command context

SourceSKILL.md
606const filtered = await fetch(`${METADATA_API}/api/v1/filter_outcome_mints`, {
medium line 620

Template literal with variable interpolation in command context

SourceSKILL.md
620`${METADATA_API}/api/v1/orderbook/TRUMP-2024-WIN`,
medium line 637

Template literal with variable interpolation in command context

SourceSKILL.md
637`${METADATA_API}/api/v1/trades?ticker=TRUMP-2024-WIN&limit=100`,
medium line 652

Template literal with variable interpolation in command context

SourceSKILL.md
652`${METADATA_API}/api/v1/milestones/TRUMP-2024`,
low line 63

Access to .env file

SourceSKILL.md
63const API_KEY = process.env.DFLOW_API_KEY; // Optional but recommended
low line 715

Access to .env file

SourceSKILL.md
715rpcUrl: process.env.RPC_URL,
low line 716

Access to .env file

SourceSKILL.md
716privateKey: process.env.PRIVATE_KEY,
low line 99

Buffer.from base64 decode

SourceSKILL.md
99Buffer.from(swapResponse.swapTransaction, "base64")
low line 131

Buffer.from base64 decode

SourceSKILL.md
131Buffer.from(order.transaction, "base64")
low line 34

External URL reference

SourceSKILL.md
34**Base URL:** `https://quote-api.dflow.net`
low line 43

External URL reference

SourceSKILL.md
43**Base URL:** `https://api.prod.dflow.net`
low line 62

External URL reference

SourceSKILL.md
62const API_BASE = "https://quote-api.dflow.net";
low line 511

External URL reference

SourceSKILL.md
511**Base URL:** `https://api.prod.dflow.net`
low line 529

External URL reference

SourceSKILL.md
529const METADATA_API = "https://api.prod.dflow.net";
low line 786

External URL reference

SourceSKILL.md
786- [DFlow Documentation](https://pond.dflow.net)
low line 788

External URL reference

SourceSKILL.md
788- [Discord Community](https://discord.gg/dflow)
Scanned on Feb 9, 2026
View Security Dashboard
Installation guide →