polar-integration

Pass

Audited by Gen Agent Trust Hub on Nov 4, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill recommends installing the @polar-sh/sdk package, which is the official library provided by the author to interact with the Polar API.
  • [CREDENTIALS_UNSAFE]: The documentation provides secure guidance on managing secrets like POLAR_ACCESS_TOKEN and POLAR_WEBHOOK_SECRET by using environment variable loaders instead of hardcoding values.
  • [COMMAND_EXECUTION]: Includes legitimate use of the Polar CLI for authentication and webhook testing, which are expected in a developer integration skill.
  • [INDIRECT_PROMPT_INJECTION]: The provided code samples for Checkout and Webhook endpoints process external input from HTTP requests. The skill mitigates risks by implementing mandatory signature verification for webhooks and using server-side authentication helpers for customer identification. Ingestion points: request object and URL search parameters in the provided TypeScript recipes. Boundary markers: Explicit signature verification using the SDK's webhooks.validateEvent method. Capability inventory: Creating checkouts and customer portal sessions via polar.checkouts.create and polar.customerSessions.create. Sanitization: Uses the SDK's built-in signature validation for signed webhook payloads.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 4, 2026, 02:28 AM