dflow

Warn

Audited by Socket on Apr 19, 2026

2 alerts found:

AnomalySecurity
AnomalyLOW
templates/swap-client.ts

This module is a swap/order execution client that relies on a remote service to provide a base64-encoded Solana transaction. While it does not show obvious standalone malware behaviors (no dynamic execution or data theft), it creates a significant high-impact trust boundary: the code deserializes and signs a remote-provided transaction without local verification that it matches the requested parameters or enforces safety constraints. If DFLOW_API_BASE (or its upstream) is compromised or misconfigured, it could lead to unauthorized on-chain actions by the caller’s keypair. Recommended mitigations include local transaction validation/allowlisting (expected program IDs/instruction set/accounts/recipients), verifying that outputs correspond to requested mints/amounts/slippage, and tightly controlling/authenticating DFLOW_API_BASE usage.

Confidence: 62%Severity: 66%
SecurityMEDIUM
SKILL.md

Purpose and capabilities are largely aligned: this is a DFlow/Solana trading integration guide, not a disguised exfiltration tool. However, it is still high risk as an AI-agent skill because it enables autonomous cryptocurrency trading, uses API keys, and includes private-key-based agent examples that can trigger irreversible financial transactions.

Confidence: 89%Severity: 78%
Audit Metadata
Analyzed At
Apr 19, 2026, 05:09 PM
Package URL
pkg:socket/skills-sh/sendaifun%2Fskills%2Fdflow%2F@2d1e1638270879ff57dbf5efaa228848fe350f68