payments
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill requires the installation of the
sails-payand@sails-pay/lemonsqueezypackages from the npm registry to provide the payment processing functionality. - [INDIRECT_PROMPT_INJECTION]: The webhook controller in
rules/webhooks.mdprocesses external data from Lemon Squeezy HTTP POST requests to update the application's subscription records. - Ingestion points: The
api/controllers/webhook/lemonsqueezy.jsfile reads the raw request body fromthis.req.bodyto process incoming payment events. - Boundary markers: The skill implements strong boundary verification using HMAC SHA256 signature validation with the
X-Signatureheader andcrypto.timingSafeEqualto ensure the payload originates from the trusted provider. - Capability inventory: The skill uses the Waterline ORM (
Subscription.findOne,Subscription.create,Subscription.updateOne) to modify database state based on the validated webhook content. - Sanitization: External data is sanitized through signature verification, and specific fields like the team ID are cast to integers (
parseInt), while variant IDs are validated against the localsails.config.pay.plansconfiguration.
Audit Metadata