bc-security

bc-security is a skill for Claude Code from OrcaQubits/agentic-commerce-skills-plugins. It costs 42 tokens per session (1,263 once invoked), scanned A, original, MIT.

A guide to securing BigCommerce integrations, covering API access, secret storage, webhook checks, browser security rules, input validation, and payment-card compliance.

In plain words
What is it for?
Use it to protect tokens, limit API permissions, verify webhooks, add security headers, validate input, handle rate limits, and review PCI-related requirements.
Why use it?
It helps prevent leaked credentials, unauthorised requests, forged webhook messages, and unsafe handling of customer or payment data.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the bigcommerce-commerce plugin — 20 skills, 1 agent shipped together

Good fit Use it to protect tokens, limit API permissions, verify webhooks, add security headers, validate input, handle rate limits, and review PCI-related requirements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orcaqubits/agentic-commerce-skills-plugins/bc-security
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OrcaQubits/agentic-commerce-skills-plugins --skill bc-security
Clone the repo
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins

Made for: Claude Code.

Or install bigcommerce-commerce, the plugin that ships this one along with the rest of its 20 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bc-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/bc-security/github.svg)](https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/bc-security)
Your own site
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/bc-security"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/bc-security/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bc-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/bc-security"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/bc-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,263 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.01263
Opus 5.5 $0.00017 $0.00505
Sonnet 5.5 $0.00008 $0.00253
Haiku 4.5 $0.00004 $0.00126

Measured 1mo ago against content hash 7feada770f29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bc-security scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

bigcommerce-commerce/skills/bc-security/SKILL.md · 165 lines

How it starts

The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 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:

  • 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

Read the full file on GitHub · 165 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 165 lines · 42 tokens per session scan A 7feada770f29

Subscribe to this mod's changes

bc-security is a skill published in the GitHub repository OrcaQubits/agentic-commerce-skills-plugins (40 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 1,263 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.