Logo di Bc Security

Bc Security

Organizzazione
OrcaQubits
bc-security

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.

Panoramica

AutoreOrcaQubits
Repositoryagentic-commerce-skills-plugins
Nome della skillbc-security
Stelle
40
Fork
17
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da OrcaQubits su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Bc Security in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/bigcommerce-commerce/skills/bc-security
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins.git /tmp/agentic-commerce-skills-plugins
mkdir -p .claude/skills
cp -r /tmp/agentic-commerce-skills-plugins/bigcommerce-commerce/skills/bc-security .claude/skills/bc-security
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Bc Security in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Bc Security non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Bc Security non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

  • Never expose API tokens in client-side code or public repositories
  • Store tokens in environment variables or encrypted secret stores
  • Use separate tokens for development and production
  • Rotate tokens periodically
  • Use minimum required OAuth scopes (principle of least privilege)

Token Types

Token TypeSecurity LevelStorage
API Account TokenHighest — full API accessServer-side only, encrypted
OAuth App TokenHigh — scoped accessServer-side, per-store
Storefront API TokenMedium — read-only storefront dataClient-side OK (limited scope)
Customer Impersonation TokenHigh — customer data accessServer-side only

Rate Limiting as Security

Rate limits prevent abuse:

  • Monitor X-Rate-Limit-Requests-Left header
  • Implement exponential backoff
  • Never retry 401/403 responses (authentication/authorization failures)

OAuth Security

JWT Verification

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

  • Verify signature using your Client Secret (HMAC-SHA256)
  • Check iss (issuer) matches BigCommerce
  • Check exp (expiration) — reject expired tokens
  • Check aud (audience) matches your Client ID
  • Extract store_hash and user only after verification

Callback URL Security

  • Use HTTPS for all callback URLs
  • Validate the state parameter in OAuth flows to prevent CSRF
  • Don't accept arbitrary redirect URLs — whitelist allowed paths

Token Storage

  • Encrypt OAuth access tokens at rest in your database
  • Associate tokens with store hash — verify on every API call
  • Handle token revocation (when app is uninstalled)
  • Don't log tokens in application logs

Webhook Security

Verification

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

  • Use custom headers for basic verification:
    json
    { "headers": { "X-Webhook-Secret": "your-shared-secret" } }
  • Verify the header value in your handler
  • Validate store_id matches expected stores

Webhook Handler Security

  • Respond with 200 OK quickly — don't process inline
  • Validate payload structure before processing
  • Use idempotency (check hash field) to prevent replay attacks
  • Don't trust the data.id blindly — verify by fetching the resource via API
  • Rate limit your webhook handler to prevent flood attacks

Content Security Policy (CSP)

For Embedded Apps

When your app loads in the BigCommerce admin iframe:

  • Set Content-Security-Policy: frame-ancestors 'self' *.bigcommerce.com
  • Or use X-Frame-Options: ALLOW-FROM https://store-{hash}.mybigcommerce.com
  • Block framing from unauthorized domains

For Stencil Themes

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

  • script-src — allowed script sources
  • style-src — allowed style sources
  • img-src — allowed image sources
  • connect-src — allowed API endpoints

Input Validation

API Input

  • Validate all data before sending to BigCommerce API
  • Sanitize user input — escape HTML, validate types
  • Validate email formats, phone numbers, postal codes
  • Enforce maximum lengths for text fields

Webhook Input

  • Validate JSON structure of incoming payloads
  • Verify resource IDs are numeric and within expected range
  • Don't use webhook data directly — fetch fresh data via API

Stencil Theme Input

  • Escape all dynamic content in Handlebars templates (auto-escaping by default)
  • Use {{{raw_html}}} triple-braces only for trusted content
  • Sanitize any user-generated content before rendering

PCI Compliance

Reducing Scope

BigCommerce is PCI DSS Level 1 compliant as a platform:

  • Native/Embedded Checkout — BigCommerce handles payment form rendering → you're out of PCI scope
  • Custom Checkout with tokenized payments — use gateway JS SDKs (Stripe Elements, etc.) → minimal PCI scope
  • Custom Checkout with raw card data — requires full PCI DSS compliance for your infrastructure

Recommendations

  • Use Embedded Checkout for headless — simplest PCI path
  • Never log, store, or transmit raw card data
  • Use tokenized payment methods in the Payments API
  • Serve all pages over HTTPS

App Marketplace Security Requirements

For Marketplace Submission

  • HTTPS for all endpoints
  • Proper JWT verification on all callbacks
  • Secure token storage (encrypted at rest)
  • Handle uninstall callback (clean up data)
  • No hardcoded credentials in source code
  • OWASP Top 10 compliance

Best Practices

  • Store API tokens encrypted, never in code or logs
  • Verify JWTs on every callback — check signature, expiry, audience
  • Use custom webhook headers for verification
  • Validate and sanitize all input — from users, webhooks, and APIs
  • Use Embedded Checkout or tokenized payments to minimize PCI scope
  • Set CSP headers for iframe embedding
  • Implement rate limiting on your webhook handlers
  • Rotate credentials periodically
  • Use separate credentials per environment (dev/staging/production)
  • Audit third-party dependencies for known vulnerabilities

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

Domande frequenti

Cosa fa la skill IA Bc Security?

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.

Perché usare Bc Security su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Bc Security è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Bc Security in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/bigcommerce-commerce/skills/bc-security. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Bc Security?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Bc Security?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Bc Security: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Bc Security è gratuita?

Sì. È pubblicata su GitHub da OrcaQubits con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇