Magento security

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

Magento security is an AI agent skill from the GitHub repository OrcaQubits/agentic-commerce-skills-plugins. Implement Magento 2 security — CSP, 2FA, CSRF protection, ACL, admin security configuration, input validation, and security best practices. Use when hardening a Magento installation or reviewing security posture.

How to use this skill

Skill file

Magento 2 Security

Before writing code

Fetch live docs:

  1. Web-search site:experienceleague.adobe.com commerce security for security best practices
  2. Web-search site:developer.adobe.com commerce php development security for developer security guide
  3. Web-search magento 2 security patches latest for recent security updates

Content Security Policy (CSP)

What It Does

Protects against XSS and code injection by restricting which resources (scripts, styles, images, fonts) can load.

Configuration

Adding Allowed Sources

Whitelist third-party domains for payment gateways, analytics, CDNs:

Two-Factor Authentication (2FA)

CSRF Protection

Admin Security Configuration

Available at Stores > Settings > Configuration > Advanced > Admin > Security:

Input Validation and Output Escaping

Input Validation

Output Escaping (XSS Prevention)

In PHTML templates, always escape output:

reCAPTCHA

API Security

Best Practices

Fetch the security documentation for current CSP directives, 2FA configuration options, and latest security patches 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.