grow-payment-gateway

Fail

Audited by Snyk on Dec 1, 2026

Risk Level: HIGH
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (medium risk: 0.30). The prescribed approveTransaction and token-charge examples direct the model to write the transactionToken and cardToken values into tool-call commands, so those credentials pass through its context.

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

  • Third-party content exposure detected (low risk: 0.10). The required workflow reads Grow transaction and process records (getTransactionInfo, getPaymentProcessInfo) only for transactions the agent selects by ID, and those records can contain customer-entered text such as payer name, description, and invoice fields, so this is a selected-item fetch (low), not an unsolicited inbox or feed.

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

  • Direct money access detected (high risk: 0.70). The skill is mostly integration guidance for building a payment gateway integration, which would be excluded as development. However, it also documents operational direct financial actions that the agent can run through a bundled helper script and curl examples. These include server-to-server token charges via createTransactionWithToken, refunds via refundTransaction, Bit cancellations, settlement of suspended transactions via settleSuspendedTransaction, and updating or cancelling recurring series. The helper script is described as covering "createPaymentProcess, ... approve, refund, Bit cancel and token charges". These are direct operations (charges, refunds, settlement).

On control, the routes require userId and pageCode or a cardToken, and payment-link endpoints use an X-API-KEY header. Per the evidence standard, validated service API credentials establish access control. The API returns errors such as 403 when X-API-KEY is missing, and 54 when required identifiers are missing. However, the core charge, refund and settlement routes use userId/pageCode identifiers, which are identifiers rather than secrets, plus transaction tokens. The skill describes cardToken and transactionToken as bearer credentials. Whether the service validates these as credentials is only implied. The skill does not clearly document authentication or authorization for these direct routes. The helper script's GROW_ALLOW_PRODUCTION=1 flag is a local, agent-side guard and does not count as independent access control. The skill says the apiKey is only for platforms, and "A direct business sends userId + pageCode". Identifiers alone are not an authentication mechanism. The production-gating review is a process control and not a per-transaction access check. Because no qualifying service-enforced authentication is clearly documented for the direct charge and refund routes, this is high.

Issues (3)

W007
HIGH

Insecure credential handling detected in skill instructions.

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
HIGH
Analyzed
Dec 1, 2026, 03:02 AM
Issues
3