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.
npx skills add SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-securitygit clone --depth 1 https://github.com/SalesforceCommerceCloud/b2c-developer-toolingWrote 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.
[](https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-security)<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-security"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-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.
<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-security"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00156 | $0.01826 |
| Opus 5.5 | $0.00062 | $0.00730 |
| Sonnet 5.5 | $0.00031 | $0.00365 |
| Haiku 4.5 | $0.00016 | $0.00183 |
Grade A, and why
b2c-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 14d 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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
B2C Security Skill
Use b2c security scan (preview) to find security problems in B2C Commerce cartridge code, then triage and fix them. The scan runs locally on the working tree, needs no instance or credentials, and takes well under a second for a typical storefront.
Tip: If
b2cis not installed globally, usenpx @salesforce/b2c-cliinstead.
MCP parity: If the
b2c-dx-mcpserver is connected,security_scancoversb2c security scanwith the same rules, suppressions, and baseline. Route findings depend on cartridge order: checkcartridgePathSourceand passsiteIdto use a site's path from the instance.
Scan
# Scan all cartridges under the current directory (folders with a .project file)
b2c security scan
# Scan one cartridge or file
b2c security scan cartridges/app_custom
# Structured output for analysis (prefer this when you will read the results)
b2c security scan --json
# List the rules and what they find
b2c security rules
Findings in SFRA and SiteGenesis base cartridges (app_storefront_base, modules, app_storefront_controllers, ...) are reported with referenceCartridge set. They are real for any storefront that deploys those cartridges; fix them from the project's own cartridge (for example server.prepend()), not by editing the base. --exclude-reference-cartridges leaves them out.
Site data in the project (such as a site_template folder) is checked too: services.xml, preferences.xml, attribute definitions, csrf-whitelists.xml, and OCAPI settings JSON. Server-side .js and .ds files are scanned; cartridge/client/, cartridge/static/, node_modules/, and minified files are skipped. Legacy .ds files with type annotations can't be parsed yet and are reported under errors.
Triage findings
Each finding in --json output has ruleId, severity, confidence, message, location (file, startLine, startColumn), snippet, remediation, and docsUrl.
- Read the code around each finding before changing it. Rules decide from one file at a time.
- Treat
confidence: highfindings as real unless the code proves otherwise. - For
mediumandlowconfidence, check what the rule could not see: whether a redirect target is validated in a helper, whether a "secret" is a test value, whether a query value is constant. - Explain each finding to the user in terms of impact (what an attacker could do) and the fix.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 14d ago Changed fc947238c60b
- 17d ago First seen · 102 lines · 156 tokens per session scan A 126258156ce1
b2c-security is a skill published in the GitHub repository SalesforceCommerceCloud/b2c-developer-tooling (58 stars, last pushed today), licensed Apache-2.0. It adds 156 tokens to every session and 1,826 once invoked, about $0.0006 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-11-17.
b2c-security compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| b2c-securitySalesforceCommerceCloud/b2c-developer-tooling | Skill | 58 | today | Apache-2.0 | A | 156 | Claude Code |
| shoppingHmbown/Codewhale | Skill | 41k | 2mo ago | MIT | A | 0 | Claude Code, Codex |
| goofish-publish-itemfancyboi999/goofish-cli | Skill | 529 | 3d ago | Apache-2.0 | A | 151 | Claude Code |
| goofish-reply-buyerfancyboi999/goofish-cli | Skill | 529 | 3d ago | Apache-2.0 | A | 160 | Claude Code |
| goofish-shop-diagnosisfancyboi999/goofish-cli | Skill | 529 | 3d ago | Apache-2.0 | A | 149 | Claude Code |
| daiso-clihmmhmmhm/daiso-mcp | Skill | 357 | yesterday | MIT | A | 165 | Claude Code, Codex |
| goofish-overviewfancyboi999/goofish-cli | Skill | 529 | 3d ago | Apache-2.0 | A | 143 | Claude Code, Codex |