Bc security

From OrcaQubits/agentic-commerce-skills-plugins · View interactive version

Bc security is an AI agent skill from the GitHub repository OrcaQubits/agentic-commerce-skills-plugins. Implement BigCommerce security — OAuth token management, API authentication, webhook verification, CSP, input validation, PCI compliance, and app security best practices. Use when hardening integrations or reviewing security posture.

How to use this skill

Skill file

BigCommerce Security

Before writing code

Fetch live docs:

  1. Web-search site:developer.bigcommerce.com security authentication for auth security
  2. Web-search bigcommerce app security best practices for app security
  3. Web-search bigcommerce pci compliance for PCI guidance

API Authentication Security

Token Management

Token Types

| Token Type | Security Level | Storage |

|------------|---------------|---------|

| API Account Token | Highest — full API access | Server-side only, encrypted |

| OAuth App Token | High — scoped access | Server-side, per-store |

| Storefront API Token | Medium — read-only storefront data | Client-side OK (limited scope) |

| Customer Impersonation Token | High — customer data access | Server-side only |

Rate Limiting as Security

Rate limits prevent abuse:

OAuth Security

JWT Verification

Always verify JWTs in Load, Uninstall, and Remove User callbacks:

Callback URL Security

Token Storage

Webhook Security

Verification

BigCommerce doesn't sign webhook payloads with HMAC, so:

```json

{ "headers": { "X-Webhook-Secret": "your-shared-secret" } }

```

Webhook Handler Security

Content Security Policy (CSP)

For Embedded Apps

When your app loads in the BigCommerce admin iframe:

For Stencil Themes

Add CSP headers via Script Manager or theme configuration to restrict:

Input Validation

API Input

Webhook Input

Stencil Theme Input

PCI Compliance

Reducing Scope

BigCommerce is PCI DSS Level 1 compliant as a platform:

Recommendations

App Marketplace Security Requirements

For Marketplace Submission

Best Practices

Fetch the BigCommerce security documentation and app review requirements for exact JWT verification patterns, CSP configuration, and current security best practices before implementing.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.