Security & RBAC
Bu içerik henüz dilinizde mevcut değil.
Security Invariants
Section titled “Security Invariants”- Loopback-Only QA Infrastructure:
docker-compose.qa.yml,apps/sandbox, and QA emulators bind strictly to127.0.0.1(never0.0.0.0). - SSRF-Guarded Gateway Overrides: External gateway base URL overrides only permit
https://or explicit loopback127.0.0.1/localhosttargets outside production. - Webhook Signature Verification: Payment and ERP webhooks verify HMAC signatures using constant-time comparison before mutating state.
- Safe CLI & Script Execution: Workspace scripts use
execFileSyncwith argument arrays and strict path-boundary assertions (assertWithinBoundary), avoiding shell interpolation oreval.
Enterprise RBAC Compatibility
Section titled “Enterprise RBAC Compatibility”If your Medusa v2 deployment uses Medusa Enterprise (@medusajs/medusa/rbac with MEDUSA_LICENSE_KEY), @vicacha-devs/medusa-shared-admin provides <RbacGuard /> and useRbacAccess helpers for UI gating alongside Medusa’s native role policies.