lcx-liberty-swap

Warn

Audited by Snyk on Nov 28, 2026

Risk Level: MEDIUM
Full Analysis

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (low risk: 0.10). The required workflow reads token rows from GET /v1/tokens (symbols and names, which anyone can publish for a deployed token), but only after the user supplies a symbol or search term, so an outsider can publish poison without being able to force it into the workflow, which makes this low.

MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).

  • Direct money access detected (medium risk: 0.30). Decisive operation: the skill builds exact unsigned LCX Liberty DEX swap transactions (POST /v1/build returns swap calldata with to, data, value, and minAmountOut) and hands them off for downstream signing and broadcast. That is a direct operation, since a token swap is a trade. Quoting and comparison alone would be informational, but the build-and-handoff route is operational.

Control: the build route is gated by service-enforced API-key authentication. Every request needs LCX_API_KEY sent as a Bearer token. The service returns 401 API_KEY_REQUIRED without a key and 401 INVALID_API_KEY for a key that does not resolve, and it never serves those requests anonymously. The service also enforces origin/IP pinning with 403. This is validated service credential authentication that the agent cannot bypass, so it meets the qualifying-control standard. The skill does not establish a signer or spending limit, and signing is external, but those gaps do not change the tier because the access control is present. Severity is therefore medium, not high.

Issues (2)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W009
MEDIUM

Direct money access capability detected (payment gateways, crypto, banking).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 28, 2026, 07:14 PM
Issues
2