From magento2-commerce
Implements Magento 2 security: CSP config, 2FA, CSRF protection, ACL/admin security, input validation/output escaping, reCAPTCHA. For hardening installs or posture reviews.
How this skill is triggered — by the user, by Claude, or both
Slash command
/magento2-commerce:magento-securityThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Fetch live docs**:
Fetch live docs:
site:experienceleague.adobe.com commerce security for security best practicessite:developer.adobe.com commerce php development security for developer security guidemagento 2 security patches latest for recent security updatesProtects against XSS and code injection by restricting which resources (scripts, styles, images, fonts) can load.
etc/csp_whitelist.xml — whitelist external domains per CSP directivescript-src, style-src, img-src, font-src, connect-src, frame-srcWhitelist third-party domains for payment gateways, analytics, CDNs:
csp_whitelist.xml under the appropriate directivereport-only mode first to identify missing whitelistsform_key — 16-character token included in all admin formsAvailable at Stores > Settings > Configuration > Advanced > Admin > Security:
/admin path)In PHTML templates, always escape output:
$escaper->escapeHtml($value) — HTML context$escaper->escapeUrl($url) — URL context$escaper->escapeJs($value) — JavaScript context$escaper->escapeHtmlAttr($value) — HTML attribute context$escaper->escapeCss($value) — CSS contextecho $value directly in templates/admin)Fetch the security documentation for current CSP directives, 2FA configuration options, and latest security patches before implementing.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin magento2-commerceImplements Salesforce Commerce security for B2C/B2B: SLAS OAuth 2.1 with PKCE, session management, CSRF tokens, XSS prevention via isprint in ISML, PCI compliance, RBAC, OWASP Top 10, Shield.
Implements Shopify security best practices for API credential storage, webhook HMAC validation with TypeScript/Express, and access scopes.
Secures Shopify apps via HMAC webhook verification, session token validation, OAuth scope checks, CSP headers, GDPR webhooks, and input sanitization.